@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.
|
serviceNameclosestatic 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.
This is a convenience which creates an instance of the CreateProtectionRequest.Builder avoiding the need
to create one manually via CreateProtectionRequest.builder()
createProtectionRequest - A Consumer that will call methods on CreateProtectionRequest.Builder to create a request.default CompletableFuture<CreateSubscriptionResponse> createSubscription(CreateSubscriptionRequest createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
createSubscriptionRequest - default CompletableFuture<CreateSubscriptionResponse> createSubscription(Consumer<CreateSubscriptionRequest.Builder> createSubscriptionRequest)
Activates AWS Shield Advanced for an account.
This is a convenience which creates an instance of the CreateSubscriptionRequest.Builder avoiding the
need to create one manually via CreateSubscriptionRequest.builder()
createSubscriptionRequest - A Consumer that will call methods on CreateSubscriptionRequest.Builder to create a
request.default CompletableFuture<CreateSubscriptionResponse> createSubscription()
Activates AWS Shield Advanced for an account.
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.
This is a convenience which creates an instance of the DeleteProtectionRequest.Builder avoiding the need
to create one manually via DeleteProtectionRequest.builder()
deleteProtectionRequest - A Consumer that will call methods on DeleteProtectionRequest.Builder to create a request.default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription(DeleteSubscriptionRequest deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
deleteSubscriptionRequest - default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription(Consumer<DeleteSubscriptionRequest.Builder> deleteSubscriptionRequest)
Removes AWS Shield Advanced from an account.
This is a convenience which creates an instance of the DeleteSubscriptionRequest.Builder avoiding the
need to create one manually via DeleteSubscriptionRequest.builder()
deleteSubscriptionRequest - A Consumer that will call methods on DeleteSubscriptionRequest.Builder to create a
request.default CompletableFuture<DeleteSubscriptionResponse> deleteSubscription()
Removes AWS Shield Advanced from an account.
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.
This is a convenience which creates an instance of the DescribeAttackRequest.Builder avoiding the need to
create one manually via DescribeAttackRequest.builder()
describeAttackRequest - A Consumer that will call methods on DescribeAttackRequest.Builder to create a request.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.
This is a convenience which creates an instance of the DescribeProtectionRequest.Builder avoiding the
need to create one manually via DescribeProtectionRequest.builder()
describeProtectionRequest - A Consumer that will call methods on DescribeProtectionRequest.Builder to create a
request.default CompletableFuture<DescribeSubscriptionResponse> describeSubscription(DescribeSubscriptionRequest describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
describeSubscriptionRequest - default CompletableFuture<DescribeSubscriptionResponse> describeSubscription(Consumer<DescribeSubscriptionRequest.Builder> describeSubscriptionRequest)
Provides details about the AWS Shield Advanced subscription for an account.
This is a convenience which creates an instance of the DescribeSubscriptionRequest.Builder avoiding the
need to create one manually via DescribeSubscriptionRequest.builder()
describeSubscriptionRequest - A Consumer that will call methods on DescribeSubscriptionRequest.Builder to create a
request.default CompletableFuture<DescribeSubscriptionResponse> describeSubscription()
Provides details about the AWS Shield Advanced subscription for an account.
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(Consumer<ListAttacksRequest.Builder> listAttacksRequest)
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
This is a convenience which creates an instance of the ListAttacksRequest.Builder avoiding the need to
create one manually via ListAttacksRequest.builder()
listAttacksRequest - A Consumer that will call methods on ListAttacksRequest.Builder to create a request.default CompletableFuture<ListAttacksResponse> listAttacks()
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
default CompletableFuture<ListProtectionsResponse> listProtections(ListProtectionsRequest listProtectionsRequest)
Lists all Protection objects for the account.
listProtectionsRequest - default CompletableFuture<ListProtectionsResponse> listProtections(Consumer<ListProtectionsRequest.Builder> listProtectionsRequest)
Lists all Protection objects for the account.
This is a convenience which creates an instance of the ListProtectionsRequest.Builder avoiding the need
to create one manually via ListProtectionsRequest.builder()
listProtectionsRequest - A Consumer that will call methods on ListProtectionsRequest.Builder to create a request.default CompletableFuture<ListProtectionsResponse> listProtections()
Lists all Protection objects for the account.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.