@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_METRIC
ENDPOINT_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<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<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, listComplianceStatus, listPolicies, putNotificationChannel, putPolicy
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateAdminAccount, deleteNotificationChannel, deletePolicy, disassociateAdminAccount, getAdminAccount, getCachedResponseMetadata, getComplianceDetail, getNotificationChannel, getPolicy, listComplianceStatus, listPolicies, putNotificationChannel, putPolicy
public static AWSFMSAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request)
AWSFMSAsync
Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations 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 AWSFMSAsync
public Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request, AsyncHandler<AssociateAdminAccountRequest,AssociateAdminAccountResult> asyncHandler)
AWSFMSAsync
Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations 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 AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
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.
deleteNotificationChannelAsync
in interface AWSFMSAsync
public Future<DeleteNotificationChannelResult> deleteNotificationChannelAsync(DeleteNotificationChannelRequest request, AsyncHandler<DeleteNotificationChannelRequest,DeleteNotificationChannelResult> asyncHandler)
AWSFMSAsync
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.
deleteNotificationChannelAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Permanently deletes an AWS Firewall Manager policy.
deletePolicyAsync
in interface AWSFMSAsync
public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
AWSFMSAsync
Permanently deletes an AWS Firewall Manager policy.
deletePolicyAsync
in interface AWSFMSAsync
asyncHandler
- 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. You will need to
submit an AssociateAdminAccount
request to set a new account as the AWS Firewall administrator.
disassociateAdminAccountAsync
in interface AWSFMSAsync
public Future<DisassociateAdminAccountResult> disassociateAdminAccountAsync(DisassociateAdminAccountRequest request, AsyncHandler<DisassociateAdminAccountRequest,DisassociateAdminAccountResult> asyncHandler)
AWSFMSAsync
Disassociates the account that has been set as the AWS Firewall Manager administrator account. You will need to
submit an AssociateAdminAccount
request to set a new account as the AWS Firewall administrator.
disassociateAdminAccountAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getAdminAccountAsync
in interface AWSFMSAsync
public Future<GetAdminAccountResult> getAdminAccountAsync(GetAdminAccountRequest request, AsyncHandler<GetAdminAccountRequest,GetAdminAccountResult> asyncHandler)
AWSFMSAsync
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getAdminAccountAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Returns 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 AWSFMSAsync
public Future<GetComplianceDetailResult> getComplianceDetailAsync(GetComplianceDetailRequest request, AsyncHandler<GetComplianceDetailRequest,GetComplianceDetailResult> asyncHandler)
AWSFMSAsync
Returns 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 AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getNotificationChannelAsync
in interface AWSFMSAsync
public Future<GetNotificationChannelResult> getNotificationChannelAsync(GetNotificationChannelRequest request, AsyncHandler<GetNotificationChannelRequest,GetNotificationChannelResult> asyncHandler)
AWSFMSAsync
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getNotificationChannelAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Returns information about the specified AWS Firewall Manager policy.
getPolicyAsync
in interface AWSFMSAsync
public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AWSFMSAsync
Returns information about the specified AWS Firewall Manager policy.
getPolicyAsync
in interface AWSFMSAsync
asyncHandler
- 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 AWSFMSAsync
public 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 AWSFMSAsync
asyncHandler
- 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 AWSFMSAsync
public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
AWSFMSAsync
Returns an array of PolicySummary
objects in the response.
listPoliciesAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putNotificationChannelAsync
in interface AWSFMSAsync
public Future<PutNotificationChannelResult> putNotificationChannelAsync(PutNotificationChannelRequest request, AsyncHandler<PutNotificationChannelRequest,PutNotificationChannelResult> asyncHandler)
AWSFMSAsync
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putNotificationChannelAsync
in interface AWSFMSAsync
asyncHandler
- 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)
AWSFMSAsync
Creates an AWS Firewall Manager policy.
putPolicyAsync
in interface AWSFMSAsync
public Future<PutPolicyResult> putPolicyAsync(PutPolicyRequest request, AsyncHandler<PutPolicyRequest,PutPolicyResult> asyncHandler)
AWSFMSAsync
Creates an AWS Firewall Manager policy.
putPolicyAsync
in interface AWSFMSAsync
asyncHandler
- 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 AWSFMS
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.