@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFMSAsyncClient extends AWSFMSClient implements AWSFMSAsync
AsyncHandler can be used to receive notification when an
asynchronous operation completes.
This is the AWS Firewall Manager API Reference. This guide is for developers who need detailed information about the AWS Firewall Manager API actions, data types, and errors. For detailed information about AWS Firewall Manager features, see the AWS Firewall Manager Developer Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<AssociateAdminAccountResult> |
associateAdminAccountAsync(AssociateAdminAccountRequest request)
Sets the AWS Firewall Manager administrator account.
|
Future<AssociateAdminAccountResult> |
associateAdminAccountAsync(AssociateAdminAccountRequest request,
AsyncHandler<AssociateAdminAccountRequest,AssociateAdminAccountResult> asyncHandler)
Sets the AWS Firewall Manager administrator account.
|
static AWSFMSAsyncClientBuilder |
asyncBuilder() |
Future<DeleteNotificationChannelResult> |
deleteNotificationChannelAsync(DeleteNotificationChannelRequest request)
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS)
topic that is used to record AWS Firewall Manager SNS logs.
|
Future<DeleteNotificationChannelResult> |
deleteNotificationChannelAsync(DeleteNotificationChannelRequest request,
AsyncHandler<DeleteNotificationChannelRequest,DeleteNotificationChannelResult> asyncHandler)
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS)
topic that is used to record AWS Firewall Manager SNS logs.
|
Future<DeletePolicyResult> |
deletePolicyAsync(DeletePolicyRequest request)
Permanently deletes an AWS Firewall Manager policy.
|
Future<DeletePolicyResult> |
deletePolicyAsync(DeletePolicyRequest request,
AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
Permanently deletes an AWS Firewall Manager policy.
|
Future<DisassociateAdminAccountResult> |
disassociateAdminAccountAsync(DisassociateAdminAccountRequest request)
Disassociates the account that has been set as the AWS Firewall Manager administrator account.
|
Future<DisassociateAdminAccountResult> |
disassociateAdminAccountAsync(DisassociateAdminAccountRequest request,
AsyncHandler<DisassociateAdminAccountRequest,DisassociateAdminAccountResult> asyncHandler)
Disassociates the account that has been set as the AWS Firewall Manager administrator account.
|
Future<GetAdminAccountResult> |
getAdminAccountAsync(GetAdminAccountRequest request)
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall
Manager administrator.
|
Future<GetAdminAccountResult> |
getAdminAccountAsync(GetAdminAccountRequest request,
AsyncHandler<GetAdminAccountRequest,GetAdminAccountResult> asyncHandler)
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall
Manager administrator.
|
Future<GetComplianceDetailResult> |
getComplianceDetailAsync(GetComplianceDetailRequest request)
Returns detailed compliance information about the specified member account.
|
Future<GetComplianceDetailResult> |
getComplianceDetailAsync(GetComplianceDetailRequest request,
AsyncHandler<GetComplianceDetailRequest,GetComplianceDetailResult> asyncHandler)
Returns detailed compliance information about the specified member account.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetNotificationChannelResult> |
getNotificationChannelAsync(GetNotificationChannelRequest request)
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall
Manager SNS logs.
|
Future<GetNotificationChannelResult> |
getNotificationChannelAsync(GetNotificationChannelRequest request,
AsyncHandler<GetNotificationChannelRequest,GetNotificationChannelResult> asyncHandler)
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall
Manager SNS logs.
|
Future<GetPolicyResult> |
getPolicyAsync(GetPolicyRequest request)
Returns information about the specified AWS Firewall Manager policy.
|
Future<GetPolicyResult> |
getPolicyAsync(GetPolicyRequest request,
AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
Returns information about the specified AWS Firewall Manager policy.
|
Future<GetProtectionStatusResult> |
getProtectionStatusAsync(GetProtectionStatusRequest request)
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a
potential DDoS attack.
|
Future<GetProtectionStatusResult> |
getProtectionStatusAsync(GetProtectionStatusRequest request,
AsyncHandler<GetProtectionStatusRequest,GetProtectionStatusResult> asyncHandler)
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a
potential DDoS attack.
|
Future<ListComplianceStatusResult> |
listComplianceStatusAsync(ListComplianceStatusRequest request)
Returns an array of
PolicyComplianceStatus objects in the response. |
Future<ListComplianceStatusResult> |
listComplianceStatusAsync(ListComplianceStatusRequest request,
AsyncHandler<ListComplianceStatusRequest,ListComplianceStatusResult> asyncHandler)
Returns an array of
PolicyComplianceStatus objects in the response. |
Future<ListMemberAccountsResult> |
listMemberAccountsAsync(ListMemberAccountsRequest request)
Returns a
MemberAccounts object that lists the member accounts in the administrator's AWS
organization. |
Future<ListMemberAccountsResult> |
listMemberAccountsAsync(ListMemberAccountsRequest request,
AsyncHandler<ListMemberAccountsRequest,ListMemberAccountsResult> asyncHandler)
Returns a
MemberAccounts object that lists the member accounts in the administrator's AWS
organization. |
Future<ListPoliciesResult> |
listPoliciesAsync(ListPoliciesRequest request)
Returns an array of
PolicySummary objects in the response. |
Future<ListPoliciesResult> |
listPoliciesAsync(ListPoliciesRequest request,
AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
Returns an array of
PolicySummary objects in the response. |
Future<PutNotificationChannelResult> |
putNotificationChannelAsync(PutNotificationChannelRequest request)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to
record SNS logs.
|
Future<PutNotificationChannelResult> |
putNotificationChannelAsync(PutNotificationChannelRequest request,
AsyncHandler<PutNotificationChannelRequest,PutNotificationChannelResult> asyncHandler)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to
record SNS logs.
|
Future<PutPolicyResult> |
putPolicyAsync(PutPolicyRequest request)
Creates an AWS Firewall Manager policy.
|
Future<PutPolicyResult> |
putPolicyAsync(PutPolicyRequest request,
AsyncHandler<PutPolicyRequest,PutPolicyResult> asyncHandler)
Creates an AWS Firewall Manager policy.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
associateAdminAccount, builder, deleteNotificationChannel, deletePolicy, disassociateAdminAccount, getAdminAccount, getCachedResponseMetadata, getComplianceDetail, getNotificationChannel, getPolicy, getProtectionStatus, listComplianceStatus, listMemberAccounts, listPolicies, putNotificationChannel, putPolicyaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateAdminAccount, deleteNotificationChannel, deletePolicy, disassociateAdminAccount, getAdminAccount, getCachedResponseMetadata, getComplianceDetail, getNotificationChannel, getPolicy, getProtectionStatus, listComplianceStatus, listMemberAccounts, listPolicies, putNotificationChannel, putPolicypublic static AWSFMSAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request)
AWSFMSAsyncSets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account your AWS organization or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.
The account that you associate with AWS Firewall Manager is called the AWS Firewall Manager administrator account.
associateAdminAccountAsync in interface AWSFMSAsyncpublic Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request, AsyncHandler<AssociateAdminAccountRequest,AssociateAdminAccountResult> asyncHandler)
AWSFMSAsyncSets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account your AWS organization or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.
The account that you associate with AWS Firewall Manager is called the AWS Firewall Manager administrator account.
associateAdminAccountAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNotificationChannelResult> deleteNotificationChannelAsync(DeleteNotificationChannelRequest request)
AWSFMSAsyncDeletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
deleteNotificationChannelAsync in interface AWSFMSAsyncpublic Future<DeleteNotificationChannelResult> deleteNotificationChannelAsync(DeleteNotificationChannelRequest request, AsyncHandler<DeleteNotificationChannelRequest,DeleteNotificationChannelResult> asyncHandler)
AWSFMSAsyncDeletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
deleteNotificationChannelAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request)
AWSFMSAsyncPermanently deletes an AWS Firewall Manager policy.
deletePolicyAsync in interface AWSFMSAsyncpublic Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
AWSFMSAsyncPermanently deletes an AWS Firewall Manager policy.
deletePolicyAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateAdminAccountResult> disassociateAdminAccountAsync(DisassociateAdminAccountRequest request)
AWSFMSAsync
Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different
account as the administrator account, you must submit an AssociateAdminAccount request .
disassociateAdminAccountAsync in interface AWSFMSAsyncpublic Future<DisassociateAdminAccountResult> disassociateAdminAccountAsync(DisassociateAdminAccountRequest request, AsyncHandler<DisassociateAdminAccountRequest,DisassociateAdminAccountResult> asyncHandler)
AWSFMSAsync
Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different
account as the administrator account, you must submit an AssociateAdminAccount request .
disassociateAdminAccountAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAdminAccountResult> getAdminAccountAsync(GetAdminAccountRequest request)
AWSFMSAsyncReturns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getAdminAccountAsync in interface AWSFMSAsyncpublic Future<GetAdminAccountResult> getAdminAccountAsync(GetAdminAccountRequest request, AsyncHandler<GetAdminAccountRequest,GetAdminAccountResult> asyncHandler)
AWSFMSAsyncReturns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getAdminAccountAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetComplianceDetailResult> getComplianceDetailAsync(GetComplianceDetailRequest request)
AWSFMSAsyncReturns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.
getComplianceDetailAsync in interface AWSFMSAsyncpublic Future<GetComplianceDetailResult> getComplianceDetailAsync(GetComplianceDetailRequest request, AsyncHandler<GetComplianceDetailRequest,GetComplianceDetailResult> asyncHandler)
AWSFMSAsyncReturns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.
getComplianceDetailAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNotificationChannelResult> getNotificationChannelAsync(GetNotificationChannelRequest request)
AWSFMSAsyncReturns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getNotificationChannelAsync in interface AWSFMSAsyncpublic Future<GetNotificationChannelResult> getNotificationChannelAsync(GetNotificationChannelRequest request, AsyncHandler<GetNotificationChannelRequest,GetNotificationChannelResult> asyncHandler)
AWSFMSAsyncReturns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getNotificationChannelAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request)
AWSFMSAsyncReturns information about the specified AWS Firewall Manager policy.
getPolicyAsync in interface AWSFMSAsyncpublic Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AWSFMSAsyncReturns information about the specified AWS Firewall Manager policy.
getPolicyAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetProtectionStatusResult> getProtectionStatusAsync(GetProtectionStatusRequest request)
AWSFMSAsyncIf you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
getProtectionStatusAsync in interface AWSFMSAsyncpublic Future<GetProtectionStatusResult> getProtectionStatusAsync(GetProtectionStatusRequest request, AsyncHandler<GetProtectionStatusRequest,GetProtectionStatusResult> asyncHandler)
AWSFMSAsyncIf you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
getProtectionStatusAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListComplianceStatusResult> listComplianceStatusAsync(ListComplianceStatusRequest request)
AWSFMSAsync
Returns an array of PolicyComplianceStatus objects in the response. Use
PolicyComplianceStatus to get a summary of which member accounts are protected by the specified
policy.
listComplianceStatusAsync in interface AWSFMSAsyncpublic Future<ListComplianceStatusResult> listComplianceStatusAsync(ListComplianceStatusRequest request, AsyncHandler<ListComplianceStatusRequest,ListComplianceStatusResult> asyncHandler)
AWSFMSAsync
Returns an array of PolicyComplianceStatus objects in the response. Use
PolicyComplianceStatus to get a summary of which member accounts are protected by the specified
policy.
listComplianceStatusAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request)
AWSFMSAsync
Returns a MemberAccounts object that lists the member accounts in the administrator's AWS
organization.
The ListMemberAccounts must be submitted by the account that is set as the AWS Firewall Manager
administrator.
listMemberAccountsAsync in interface AWSFMSAsyncpublic Future<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request, AsyncHandler<ListMemberAccountsRequest,ListMemberAccountsResult> asyncHandler)
AWSFMSAsync
Returns a MemberAccounts object that lists the member accounts in the administrator's AWS
organization.
The ListMemberAccounts must be submitted by the account that is set as the AWS Firewall Manager
administrator.
listMemberAccountsAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request)
AWSFMSAsync
Returns an array of PolicySummary objects in the response.
listPoliciesAsync in interface AWSFMSAsyncpublic Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
AWSFMSAsync
Returns an array of PolicySummary objects in the response.
listPoliciesAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutNotificationChannelResult> putNotificationChannelAsync(PutNotificationChannelRequest request)
AWSFMSAsyncDesignates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putNotificationChannelAsync in interface AWSFMSAsyncpublic Future<PutNotificationChannelResult> putNotificationChannelAsync(PutNotificationChannelRequest request, AsyncHandler<PutNotificationChannelRequest,PutNotificationChannelResult> asyncHandler)
AWSFMSAsyncDesignates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putNotificationChannelAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutPolicyResult> putPolicyAsync(PutPolicyRequest request)
AWSFMSAsyncCreates an AWS Firewall Manager policy.
Firewall Manager provides two types of policies: A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources, or a WAF policy, which contains a rule group and defines which resources are to be protected by that rule group. A policy is specific to either WAF or Shield Advanced. If you want to enforce both WAF rules and Shield Advanced protection across accounts, you can create multiple policies. You can create one or more policies for WAF rules, and one or more policies for Shield Advanced.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information on subscribing to Shield Advanced, see CreateSubscription.
putPolicyAsync in interface AWSFMSAsyncpublic Future<PutPolicyResult> putPolicyAsync(PutPolicyRequest request, AsyncHandler<PutPolicyRequest,PutPolicyResult> asyncHandler)
AWSFMSAsyncCreates an AWS Firewall Manager policy.
Firewall Manager provides two types of policies: A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources, or a WAF policy, which contains a rule group and defines which resources are to be protected by that rule group. A policy is specific to either WAF or Shield Advanced. If you want to enforce both WAF rules and Shield Advanced protection across accounts, you can create multiple policies. You can create one or more policies for WAF rules, and one or more policies for Shield Advanced.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information on subscribing to Shield Advanced, see CreateSubscription.
putPolicyAsync in interface AWSFMSAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSFMSshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.