@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 Firewall Manager API Reference. This guide is for developers who need detailed information about the Firewall Manager API actions, data types, and errors. For detailed information about Firewall Manager features, see the Firewall Manager Developer Guide.
Some API actions require explicit resource permissions. For information, see the developer guide topic Firewall Manager required permissions for API actions.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateAdminAccount, builder, deleteAppsList, deleteNotificationChannel, deletePolicy, deleteProtocolsList, disassociateAdminAccount, getAdminAccount, getAppsList, getCachedResponseMetadata, getComplianceDetail, getNotificationChannel, getPolicy, getProtectionStatus, getProtocolsList, getViolationDetails, listAppsLists, listComplianceStatus, listMemberAccounts, listPolicies, listProtocolsLists, listTagsForResource, putAppsList, putNotificationChannel, putPolicy, putProtocolsList, tagResource, untagResource
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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, deleteAppsList, deleteNotificationChannel, deletePolicy, deleteProtocolsList, disassociateAdminAccount, getAdminAccount, getAppsList, getCachedResponseMetadata, getComplianceDetail, getNotificationChannel, getPolicy, getProtectionStatus, getProtocolsList, getViolationDetails, listAppsLists, listComplianceStatus, listMemberAccounts, listPolicies, listProtocolsLists, listTagsForResource, putAppsList, putNotificationChannel, putPolicy, putProtocolsList, tagResource, untagResource
public static AWSFMSAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request)
AWSFMSAsync
Sets the Firewall Manager administrator account. The account must be a member of the organization in Organizations whose resources you want to protect. Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.
The account that you associate with Firewall Manager is called the Firewall Manager administrator account.
associateAdminAccountAsync
in interface AWSFMSAsync
public Future<AssociateAdminAccountResult> associateAdminAccountAsync(AssociateAdminAccountRequest request, AsyncHandler<AssociateAdminAccountRequest,AssociateAdminAccountResult> asyncHandler)
AWSFMSAsync
Sets the Firewall Manager administrator account. The account must be a member of the organization in Organizations whose resources you want to protect. Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.
The account that you associate with Firewall Manager is called the 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<DeleteAppsListResult> deleteAppsListAsync(DeleteAppsListRequest request)
AWSFMSAsync
Permanently deletes an Firewall Manager applications list.
deleteAppsListAsync
in interface AWSFMSAsync
public Future<DeleteAppsListResult> deleteAppsListAsync(DeleteAppsListRequest request, AsyncHandler<DeleteAppsListRequest,DeleteAppsListResult> asyncHandler)
AWSFMSAsync
Permanently deletes an Firewall Manager applications list.
deleteAppsListAsync
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 Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
deleteNotificationChannelAsync
in interface AWSFMSAsync
public Future<DeleteNotificationChannelResult> deleteNotificationChannelAsync(DeleteNotificationChannelRequest request, AsyncHandler<DeleteNotificationChannelRequest,DeleteNotificationChannelResult> asyncHandler)
AWSFMSAsync
Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record 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 Firewall Manager policy.
deletePolicyAsync
in interface AWSFMSAsync
public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
AWSFMSAsync
Permanently deletes an 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<DeleteProtocolsListResult> deleteProtocolsListAsync(DeleteProtocolsListRequest request)
AWSFMSAsync
Permanently deletes an Firewall Manager protocols list.
deleteProtocolsListAsync
in interface AWSFMSAsync
public Future<DeleteProtocolsListResult> deleteProtocolsListAsync(DeleteProtocolsListRequest request, AsyncHandler<DeleteProtocolsListRequest,DeleteProtocolsListResult> asyncHandler)
AWSFMSAsync
Permanently deletes an Firewall Manager protocols list.
deleteProtocolsListAsync
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 Firewall Manager administrator account. To set a different
account as the administrator account, you must submit an AssociateAdminAccount
request.
disassociateAdminAccountAsync
in interface AWSFMSAsync
public Future<DisassociateAdminAccountResult> disassociateAdminAccountAsync(DisassociateAdminAccountRequest request, AsyncHandler<DisassociateAdminAccountRequest,DisassociateAdminAccountResult> asyncHandler)
AWSFMSAsync
Disassociates the account that has been set as the Firewall Manager administrator account. To set a different
account as the administrator account, you must submit an AssociateAdminAccount
request.
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 Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
getAdminAccountAsync
in interface AWSFMSAsync
public Future<GetAdminAccountResult> getAdminAccountAsync(GetAdminAccountRequest request, AsyncHandler<GetAdminAccountRequest,GetAdminAccountResult> asyncHandler)
AWSFMSAsync
Returns the Organizations account that is associated with Firewall Manager as the 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<GetAppsListResult> getAppsListAsync(GetAppsListRequest request)
AWSFMSAsync
Returns information about the specified Firewall Manager applications list.
getAppsListAsync
in interface AWSFMSAsync
public Future<GetAppsListResult> getAppsListAsync(GetAppsListRequest request, AsyncHandler<GetAppsListRequest,GetAppsListResult> asyncHandler)
AWSFMSAsync
Returns information about the specified Firewall Manager applications list.
getAppsListAsync
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 noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
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 noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
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
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
getNotificationChannelAsync
in interface AWSFMSAsync
public Future<GetNotificationChannelResult> getNotificationChannelAsync(GetNotificationChannelRequest request, AsyncHandler<GetNotificationChannelRequest,GetNotificationChannelResult> asyncHandler)
AWSFMSAsync
Information about the Amazon Simple Notification Service (SNS) topic that is used to record 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 Firewall Manager policy.
getPolicyAsync
in interface AWSFMSAsync
public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AWSFMSAsync
Returns information about the specified 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<GetProtectionStatusResult> getProtectionStatusAsync(GetProtectionStatusRequest request)
AWSFMSAsync
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
getProtectionStatusAsync
in interface AWSFMSAsync
public Future<GetProtectionStatusResult> getProtectionStatusAsync(GetProtectionStatusRequest request, AsyncHandler<GetProtectionStatusRequest,GetProtectionStatusResult> asyncHandler)
AWSFMSAsync
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
getProtectionStatusAsync
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<GetProtocolsListResult> getProtocolsListAsync(GetProtocolsListRequest request)
AWSFMSAsync
Returns information about the specified Firewall Manager protocols list.
getProtocolsListAsync
in interface AWSFMSAsync
public Future<GetProtocolsListResult> getProtocolsListAsync(GetProtocolsListRequest request, AsyncHandler<GetProtocolsListRequest,GetProtocolsListResult> asyncHandler)
AWSFMSAsync
Returns information about the specified Firewall Manager protocols list.
getProtocolsListAsync
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<GetViolationDetailsResult> getViolationDetailsAsync(GetViolationDetailsRequest request)
AWSFMSAsync
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
getViolationDetailsAsync
in interface AWSFMSAsync
public Future<GetViolationDetailsResult> getViolationDetailsAsync(GetViolationDetailsRequest request, AsyncHandler<GetViolationDetailsRequest,GetViolationDetailsResult> asyncHandler)
AWSFMSAsync
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
getViolationDetailsAsync
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<ListAppsListsResult> listAppsListsAsync(ListAppsListsRequest request)
AWSFMSAsync
Returns an array of AppsListDataSummary
objects.
listAppsListsAsync
in interface AWSFMSAsync
public Future<ListAppsListsResult> listAppsListsAsync(ListAppsListsRequest request, AsyncHandler<ListAppsListsRequest,ListAppsListsResult> asyncHandler)
AWSFMSAsync
Returns an array of AppsListDataSummary
objects.
listAppsListsAsync
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. 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. 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<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request)
AWSFMSAsync
Returns a MemberAccounts
object that lists the member accounts in the administrator's Amazon Web
Services organization.
The ListMemberAccounts
must be submitted by the account that is set as the Firewall Manager
administrator.
listMemberAccountsAsync
in interface AWSFMSAsync
public Future<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request, AsyncHandler<ListMemberAccountsRequest,ListMemberAccountsResult> asyncHandler)
AWSFMSAsync
Returns a MemberAccounts
object that lists the member accounts in the administrator's Amazon Web
Services organization.
The ListMemberAccounts
must be submitted by the account that is set as the Firewall Manager
administrator.
listMemberAccountsAsync
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.
listPoliciesAsync
in interface AWSFMSAsync
public Future<ListPoliciesResult> listPoliciesAsync(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResult> asyncHandler)
AWSFMSAsync
Returns an array of PolicySummary
objects.
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<ListProtocolsListsResult> listProtocolsListsAsync(ListProtocolsListsRequest request)
AWSFMSAsync
Returns an array of ProtocolsListDataSummary
objects.
listProtocolsListsAsync
in interface AWSFMSAsync
public Future<ListProtocolsListsResult> listProtocolsListsAsync(ListProtocolsListsRequest request, AsyncHandler<ListProtocolsListsRequest,ListProtocolsListsResult> asyncHandler)
AWSFMSAsync
Returns an array of ProtocolsListDataSummary
objects.
listProtocolsListsAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSFMSAsync
Retrieves the list of tags for the specified Amazon Web Services resource.
listTagsForResourceAsync
in interface AWSFMSAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSFMSAsync
Retrieves the list of tags for the specified Amazon Web Services resource.
listTagsForResourceAsync
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<PutAppsListResult> putAppsListAsync(PutAppsListRequest request)
AWSFMSAsync
Creates an Firewall Manager applications list.
putAppsListAsync
in interface AWSFMSAsync
public Future<PutAppsListResult> putAppsListAsync(PutAppsListRequest request, AsyncHandler<PutAppsListRequest,PutAppsListResult> asyncHandler)
AWSFMSAsync
Creates an Firewall Manager applications list.
putAppsListAsync
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 Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
role AWSServiceRoleForFMS
to publish SNS logs. For more information, see Firewall Manager
required permissions for API actions in the Firewall Manager Developer Guide.
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 Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
role AWSServiceRoleForFMS
to publish SNS logs. For more information, see Firewall Manager
required permissions for API actions in the Firewall Manager Developer Guide.
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 Firewall Manager policy.
Firewall Manager provides the following types of policies:
An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL.
An WAF Classic policy (type WAF), which defines a rule group.
A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.
A security group policy, which manages VPC security groups across your Amazon Web Services organization.
An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.
A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs.
Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.
putPolicyAsync
in interface AWSFMSAsync
public Future<PutPolicyResult> putPolicyAsync(PutPolicyRequest request, AsyncHandler<PutPolicyRequest,PutPolicyResult> asyncHandler)
AWSFMSAsync
Creates an Firewall Manager policy.
Firewall Manager provides the following types of policies:
An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL.
An WAF Classic policy (type WAF), which defines a rule group.
A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.
A security group policy, which manages VPC security groups across your Amazon Web Services organization.
An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.
A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs.
Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.
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 Future<PutProtocolsListResult> putProtocolsListAsync(PutProtocolsListRequest request)
AWSFMSAsync
Creates an Firewall Manager protocols list.
putProtocolsListAsync
in interface AWSFMSAsync
public Future<PutProtocolsListResult> putProtocolsListAsync(PutProtocolsListRequest request, AsyncHandler<PutProtocolsListRequest,PutProtocolsListResult> asyncHandler)
AWSFMSAsync
Creates an Firewall Manager protocols list.
putProtocolsListAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSFMSAsync
Adds one or more tags to an Amazon Web Services resource.
tagResourceAsync
in interface AWSFMSAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSFMSAsync
Adds one or more tags to an Amazon Web Services resource.
tagResourceAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSFMSAsync
Removes one or more tags from an Amazon Web Services resource.
untagResourceAsync
in interface AWSFMSAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSFMSAsync
Removes one or more tags from an Amazon Web Services resource.
untagResourceAsync
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 AWSFMSClient