@Generated(value="software.amazon.awssdk:codegen") public interface ShieldAsyncClient extends SdkClient, SdkAutoCloseable
builder()
method.
This is the AWS Shield Advanced API Reference. This guide is for developers who need detailed information about the AWS Shield Advanced API actions, data types, and errors. For detailed information about AWS WAF and AWS Shield Advanced features and an overview of how to use the AWS WAF and AWS Shield Advanced APIs, see the AWS WAF and AWS Shield Developer Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static ShieldAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ShieldAsyncClient . |
static ShieldAsyncClient |
create()
Create a
ShieldAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider . |
default CompletableFuture<CreateProtectionResponse> |
createProtection(Consumer<CreateProtectionRequest.Builder> createProtectionRequest)
Enables AWS Shield Advanced for a specific AWS resource.
|
default CompletableFuture<CreateProtectionResponse> |
createProtection(CreateProtectionRequest createProtectionRequest)
Enables AWS Shield Advanced for a specific AWS resource.
|
default CompletableFuture<CreateSubscriptionResponse> |
createSubscription()
Activates AWS Shield Advanced for an account.
|
default CompletableFuture<CreateSubscriptionResponse> |
createSubscription(Consumer<CreateSubscriptionRequest.Builder> createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
|
default CompletableFuture<CreateSubscriptionResponse> |
createSubscription(CreateSubscriptionRequest createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
|
default CompletableFuture<DeleteProtectionResponse> |
deleteProtection(Consumer<DeleteProtectionRequest.Builder> deleteProtectionRequest)
Deletes an AWS Shield Advanced Protection.
|
default CompletableFuture<DeleteProtectionResponse> |
deleteProtection(DeleteProtectionRequest deleteProtectionRequest)
Deletes an AWS Shield Advanced Protection.
|
default CompletableFuture<DeleteSubscriptionResponse> |
deleteSubscription()
Removes AWS Shield Advanced from an account.
|
default CompletableFuture<DeleteSubscriptionResponse> |
deleteSubscription(Consumer<DeleteSubscriptionRequest.Builder> deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
|
default CompletableFuture<DeleteSubscriptionResponse> |
deleteSubscription(DeleteSubscriptionRequest deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
|
default CompletableFuture<DescribeAttackResponse> |
describeAttack(Consumer<DescribeAttackRequest.Builder> describeAttackRequest)
Describes the details of a DDoS attack.
|
default CompletableFuture<DescribeAttackResponse> |
describeAttack(DescribeAttackRequest describeAttackRequest)
Describes the details of a DDoS attack.
|
default CompletableFuture<DescribeProtectionResponse> |
describeProtection(Consumer<DescribeProtectionRequest.Builder> describeProtectionRequest)
Lists the details of a Protection object.
|
default CompletableFuture<DescribeProtectionResponse> |
describeProtection(DescribeProtectionRequest describeProtectionRequest)
Lists the details of a Protection object.
|
default CompletableFuture<DescribeSubscriptionResponse> |
describeSubscription()
Provides details about the AWS Shield Advanced subscription for an account.
|
default CompletableFuture<DescribeSubscriptionResponse> |
describeSubscription(Consumer<DescribeSubscriptionRequest.Builder> describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
|
default CompletableFuture<DescribeSubscriptionResponse> |
describeSubscription(DescribeSubscriptionRequest describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
|
default CompletableFuture<ListAttacksResponse> |
listAttacks()
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
|
default CompletableFuture<ListAttacksResponse> |
listAttacks(Consumer<ListAttacksRequest.Builder> listAttacksRequest)
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
|
default CompletableFuture<ListAttacksResponse> |
listAttacks(ListAttacksRequest listAttacksRequest)
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
|
default CompletableFuture<ListProtectionsResponse> |
listProtections()
Lists all Protection objects for the account.
|
default CompletableFuture<ListProtectionsResponse> |
listProtections(Consumer<ListProtectionsRequest.Builder> listProtectionsRequest)
Lists all Protection objects for the account.
|
default CompletableFuture<ListProtectionsResponse> |
listProtections(ListProtectionsRequest listProtectionsRequest)
Lists all Protection objects for the account.
|
serviceName
close
static final String SERVICE_NAME
static ShieldAsyncClient create()
ShieldAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static ShieldAsyncClientBuilder builder()
ShieldAsyncClient
.default CompletableFuture<CreateProtectionResponse> createProtection(CreateProtectionRequest createProtectionRequest)
Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, or an Amazon Route 53 hosted zone.
createProtectionRequest
- default CompletableFuture<CreateProtectionResponse> createProtection(Consumer<CreateProtectionRequest.Builder> createProtectionRequest)
Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, or an Amazon Route 53 hosted zone.
CreateProtectionRequest.Builder
avoiding the need
to create one manually via CreateProtectionRequest.builder()
createProtectionRequest
- a Consumer
that will call methods on CreateProtectionRequest.Builder
.default CompletableFuture<CreateSubscriptionResponse> createSubscription(CreateSubscriptionRequest createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
createSubscriptionRequest
- default CompletableFuture<CreateSubscriptionResponse> createSubscription()
Activates AWS Shield Advanced for an account.
default CompletableFuture<CreateSubscriptionResponse> createSubscription(Consumer<CreateSubscriptionRequest.Builder> createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
CreateSubscriptionRequest.Builder
avoiding the
need to create one manually via CreateSubscriptionRequest.builder()
createSubscriptionRequest
- a Consumer
that will call methods on CreateSubscriptionRequest.Builder
.default CompletableFuture<DeleteProtectionResponse> deleteProtection(DeleteProtectionRequest deleteProtectionRequest)
Deletes an AWS Shield Advanced Protection.
deleteProtectionRequest
- default CompletableFuture<DeleteProtectionResponse> deleteProtection(Consumer<DeleteProtectionRequest.Builder> deleteProtectionRequest)
Deletes an AWS Shield Advanced Protection.
DeleteProtectionRequest.Builder
avoiding the need
to create one manually via DeleteProtectionRequest.builder()
deleteProtectionRequest
- a Consumer
that will call methods on DeleteProtectionRequest.Builder
.default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription(DeleteSubscriptionRequest deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
deleteSubscriptionRequest
- default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription()
Removes AWS Shield Advanced from an account.
default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription(Consumer<DeleteSubscriptionRequest.Builder> deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
DeleteSubscriptionRequest.Builder
avoiding the
need to create one manually via DeleteSubscriptionRequest.builder()
deleteSubscriptionRequest
- a Consumer
that will call methods on DeleteSubscriptionRequest.Builder
.default CompletableFuture<DescribeAttackResponse> describeAttack(DescribeAttackRequest describeAttackRequest)
Describes the details of a DDoS attack.
describeAttackRequest
- default CompletableFuture<DescribeAttackResponse> describeAttack(Consumer<DescribeAttackRequest.Builder> describeAttackRequest)
Describes the details of a DDoS attack.
DescribeAttackRequest.Builder
avoiding the need to
create one manually via DescribeAttackRequest.builder()
describeAttackRequest
- a Consumer
that will call methods on DescribeAttackRequest.Builder
.default CompletableFuture<DescribeProtectionResponse> describeProtection(DescribeProtectionRequest describeProtectionRequest)
Lists the details of a Protection object.
describeProtectionRequest
- default CompletableFuture<DescribeProtectionResponse> describeProtection(Consumer<DescribeProtectionRequest.Builder> describeProtectionRequest)
Lists the details of a Protection object.
DescribeProtectionRequest.Builder
avoiding the
need to create one manually via DescribeProtectionRequest.builder()
describeProtectionRequest
- a Consumer
that will call methods on DescribeProtectionRequest.Builder
.default CompletableFuture<DescribeSubscriptionResponse> describeSubscription(DescribeSubscriptionRequest describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
describeSubscriptionRequest
- default CompletableFuture<DescribeSubscriptionResponse> describeSubscription()
Provides details about the AWS Shield Advanced subscription for an account.
default CompletableFuture<DescribeSubscriptionResponse> describeSubscription(Consumer<DescribeSubscriptionRequest.Builder> describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
DescribeSubscriptionRequest.Builder
avoiding the
need to create one manually via DescribeSubscriptionRequest.builder()
describeSubscriptionRequest
- a Consumer
that will call methods on DescribeSubscriptionRequest.Builder
.default CompletableFuture<ListAttacksResponse> listAttacks(ListAttacksRequest listAttacksRequest)
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
listAttacksRequest
- default CompletableFuture<ListAttacksResponse> listAttacks()
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
default CompletableFuture<ListAttacksResponse> listAttacks(Consumer<ListAttacksRequest.Builder> listAttacksRequest)
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
ListAttacksRequest.Builder
avoiding the need to
create one manually via ListAttacksRequest.builder()
listAttacksRequest
- a Consumer
that will call methods on ListAttacksRequest.Builder
.default CompletableFuture<ListProtectionsResponse> listProtections(ListProtectionsRequest listProtectionsRequest)
Lists all Protection objects for the account.
listProtectionsRequest
- default CompletableFuture<ListProtectionsResponse> listProtections()
Lists all Protection objects for the account.
default CompletableFuture<ListProtectionsResponse> listProtections(Consumer<ListProtectionsRequest.Builder> listProtectionsRequest)
Lists all Protection objects for the account.
ListProtectionsRequest.Builder
avoiding the need
to create one manually via ListProtectionsRequest.builder()
listProtectionsRequest
- a Consumer
that will call methods on ListProtectionsRequest.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.