com.amazonaws.services.fms.AWSFMSAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-fms Show documentation
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.fms;
import javax.annotation.Generated;
import com.amazonaws.services.fms.model.*;
/**
* Interface for accessing FMS asynchronously. Each asynchronous method will return a Java Future object representing
* the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive notification when
* an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.fms.AbstractAWSFMSAsync} instead.
*
*
*
* 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.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSFMSAsync extends AWSFMS {
/**
*
* 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.
*
*
* @param associateAdminAccountRequest
* @return A Java Future containing the result of the AssociateAdminAccount operation returned by the service.
* @sample AWSFMSAsync.AssociateAdminAccount
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateAdminAccountAsync(AssociateAdminAccountRequest associateAdminAccountRequest);
/**
*
* 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.
*
*
* @param associateAdminAccountRequest
* @param 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.
* @return A Java Future containing the result of the AssociateAdminAccount operation returned by the service.
* @sample AWSFMSAsyncHandler.AssociateAdminAccount
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateAdminAccountAsync(AssociateAdminAccountRequest associateAdminAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Permanently deletes an Firewall Manager applications list.
*
*
* @param deleteAppsListRequest
* @return A Java Future containing the result of the DeleteAppsList operation returned by the service.
* @sample AWSFMSAsync.DeleteAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAppsListAsync(DeleteAppsListRequest deleteAppsListRequest);
/**
*
* Permanently deletes an Firewall Manager applications list.
*
*
* @param deleteAppsListRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAppsList operation returned by the service.
* @sample AWSFMSAsyncHandler.DeleteAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAppsListAsync(DeleteAppsListRequest deleteAppsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteNotificationChannelRequest
* @return A Java Future containing the result of the DeleteNotificationChannel operation returned by the service.
* @sample AWSFMSAsync.DeleteNotificationChannel
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteNotificationChannelAsync(
DeleteNotificationChannelRequest deleteNotificationChannelRequest);
/**
*
* 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.
*
*
* @param deleteNotificationChannelRequest
* @param 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.
* @return A Java Future containing the result of the DeleteNotificationChannel operation returned by the service.
* @sample AWSFMSAsyncHandler.DeleteNotificationChannel
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteNotificationChannelAsync(
DeleteNotificationChannelRequest deleteNotificationChannelRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Permanently deletes an Firewall Manager policy.
*
*
* @param deletePolicyRequest
* @return A Java Future containing the result of the DeletePolicy operation returned by the service.
* @sample AWSFMSAsync.DeletePolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deletePolicyAsync(DeletePolicyRequest deletePolicyRequest);
/**
*
* Permanently deletes an Firewall Manager policy.
*
*
* @param deletePolicyRequest
* @param 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.
* @return A Java Future containing the result of the DeletePolicy operation returned by the service.
* @sample AWSFMSAsyncHandler.DeletePolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deletePolicyAsync(DeletePolicyRequest deletePolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Permanently deletes an Firewall Manager protocols list.
*
*
* @param deleteProtocolsListRequest
* @return A Java Future containing the result of the DeleteProtocolsList operation returned by the service.
* @sample AWSFMSAsync.DeleteProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteProtocolsListAsync(DeleteProtocolsListRequest deleteProtocolsListRequest);
/**
*
* Permanently deletes an Firewall Manager protocols list.
*
*
* @param deleteProtocolsListRequest
* @param 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.
* @return A Java Future containing the result of the DeleteProtocolsList operation returned by the service.
* @sample AWSFMSAsyncHandler.DeleteProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteProtocolsListAsync(DeleteProtocolsListRequest deleteProtocolsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param disassociateAdminAccountRequest
* @return A Java Future containing the result of the DisassociateAdminAccount operation returned by the service.
* @sample AWSFMSAsync.DisassociateAdminAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateAdminAccountAsync(DisassociateAdminAccountRequest disassociateAdminAccountRequest);
/**
*
* 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.
*
*
* @param disassociateAdminAccountRequest
* @param 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.
* @return A Java Future containing the result of the DisassociateAdminAccount operation returned by the service.
* @sample AWSFMSAsyncHandler.DisassociateAdminAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateAdminAccountAsync(DisassociateAdminAccountRequest disassociateAdminAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
*
*
* @param getAdminAccountRequest
* @return A Java Future containing the result of the GetAdminAccount operation returned by the service.
* @sample AWSFMSAsync.GetAdminAccount
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAdminAccountAsync(GetAdminAccountRequest getAdminAccountRequest);
/**
*
* Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
*
*
* @param getAdminAccountRequest
* @param 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.
* @return A Java Future containing the result of the GetAdminAccount operation returned by the service.
* @sample AWSFMSAsyncHandler.GetAdminAccount
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAdminAccountAsync(GetAdminAccountRequest getAdminAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the specified Firewall Manager applications list.
*
*
* @param getAppsListRequest
* @return A Java Future containing the result of the GetAppsList operation returned by the service.
* @sample AWSFMSAsync.GetAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAppsListAsync(GetAppsListRequest getAppsListRequest);
/**
*
* Returns information about the specified Firewall Manager applications list.
*
*
* @param getAppsListRequest
* @param 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.
* @return A Java Future containing the result of the GetAppsList operation returned by the service.
* @sample AWSFMSAsyncHandler.GetAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAppsListAsync(GetAppsListRequest getAppsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
*
* @param getComplianceDetailRequest
* @return A Java Future containing the result of the GetComplianceDetail operation returned by the service.
* @sample AWSFMSAsync.GetComplianceDetail
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getComplianceDetailAsync(GetComplianceDetailRequest getComplianceDetailRequest);
/**
*
* 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.
*
*
*
*
* @param getComplianceDetailRequest
* @param 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.
* @return A Java Future containing the result of the GetComplianceDetail operation returned by the service.
* @sample AWSFMSAsyncHandler.GetComplianceDetail
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getComplianceDetailAsync(GetComplianceDetailRequest getComplianceDetailRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS
* logs.
*
*
* @param getNotificationChannelRequest
* @return A Java Future containing the result of the GetNotificationChannel operation returned by the service.
* @sample AWSFMSAsync.GetNotificationChannel
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getNotificationChannelAsync(GetNotificationChannelRequest getNotificationChannelRequest);
/**
*
* Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS
* logs.
*
*
* @param getNotificationChannelRequest
* @param 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.
* @return A Java Future containing the result of the GetNotificationChannel operation returned by the service.
* @sample AWSFMSAsyncHandler.GetNotificationChannel
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getNotificationChannelAsync(GetNotificationChannelRequest getNotificationChannelRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the specified Firewall Manager policy.
*
*
* @param getPolicyRequest
* @return A Java Future containing the result of the GetPolicy operation returned by the service.
* @sample AWSFMSAsync.GetPolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPolicyAsync(GetPolicyRequest getPolicyRequest);
/**
*
* Returns information about the specified Firewall Manager policy.
*
*
* @param getPolicyRequest
* @param 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.
* @return A Java Future containing the result of the GetPolicy operation returned by the service.
* @sample AWSFMSAsyncHandler.GetPolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPolicyAsync(GetPolicyRequest getPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getProtectionStatusRequest
* @return A Java Future containing the result of the GetProtectionStatus operation returned by the service.
* @sample AWSFMSAsync.GetProtectionStatus
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getProtectionStatusAsync(GetProtectionStatusRequest getProtectionStatusRequest);
/**
*
* 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.
*
*
* @param getProtectionStatusRequest
* @param 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.
* @return A Java Future containing the result of the GetProtectionStatus operation returned by the service.
* @sample AWSFMSAsyncHandler.GetProtectionStatus
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getProtectionStatusAsync(GetProtectionStatusRequest getProtectionStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the specified Firewall Manager protocols list.
*
*
* @param getProtocolsListRequest
* @return A Java Future containing the result of the GetProtocolsList operation returned by the service.
* @sample AWSFMSAsync.GetProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getProtocolsListAsync(GetProtocolsListRequest getProtocolsListRequest);
/**
*
* Returns information about the specified Firewall Manager protocols list.
*
*
* @param getProtocolsListRequest
* @param 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.
* @return A Java Future containing the result of the GetProtocolsList operation returned by the service.
* @sample AWSFMSAsyncHandler.GetProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getProtocolsListAsync(GetProtocolsListRequest getProtocolsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
* account.
*
*
* @param getViolationDetailsRequest
* @return A Java Future containing the result of the GetViolationDetails operation returned by the service.
* @sample AWSFMSAsync.GetViolationDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getViolationDetailsAsync(GetViolationDetailsRequest getViolationDetailsRequest);
/**
*
* Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
* account.
*
*
* @param getViolationDetailsRequest
* @param 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.
* @return A Java Future containing the result of the GetViolationDetails operation returned by the service.
* @sample AWSFMSAsyncHandler.GetViolationDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getViolationDetailsAsync(GetViolationDetailsRequest getViolationDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of AppsListDataSummary
objects.
*
*
* @param listAppsListsRequest
* @return A Java Future containing the result of the ListAppsLists operation returned by the service.
* @sample AWSFMSAsync.ListAppsLists
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listAppsListsAsync(ListAppsListsRequest listAppsListsRequest);
/**
*
* Returns an array of AppsListDataSummary
objects.
*
*
* @param listAppsListsRequest
* @param 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.
* @return A Java Future containing the result of the ListAppsLists operation returned by the service.
* @sample AWSFMSAsyncHandler.ListAppsLists
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listAppsListsAsync(ListAppsListsRequest listAppsListsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of PolicyComplianceStatus
objects. Use PolicyComplianceStatus
to get a
* summary of which member accounts are protected by the specified policy.
*
*
* @param listComplianceStatusRequest
* @return A Java Future containing the result of the ListComplianceStatus operation returned by the service.
* @sample AWSFMSAsync.ListComplianceStatus
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listComplianceStatusAsync(ListComplianceStatusRequest listComplianceStatusRequest);
/**
*
* Returns an array of PolicyComplianceStatus
objects. Use PolicyComplianceStatus
to get a
* summary of which member accounts are protected by the specified policy.
*
*
* @param listComplianceStatusRequest
* @param 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.
* @return A Java Future containing the result of the ListComplianceStatus operation returned by the service.
* @sample AWSFMSAsyncHandler.ListComplianceStatus
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listComplianceStatusAsync(ListComplianceStatusRequest listComplianceStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listMemberAccountsRequest
* @return A Java Future containing the result of the ListMemberAccounts operation returned by the service.
* @sample AWSFMSAsync.ListMemberAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMemberAccountsAsync(ListMemberAccountsRequest listMemberAccountsRequest);
/**
*
* 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.
*
*
* @param listMemberAccountsRequest
* @param 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.
* @return A Java Future containing the result of the ListMemberAccounts operation returned by the service.
* @sample AWSFMSAsyncHandler.ListMemberAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMemberAccountsAsync(ListMemberAccountsRequest listMemberAccountsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of PolicySummary
objects.
*
*
* @param listPoliciesRequest
* @return A Java Future containing the result of the ListPolicies operation returned by the service.
* @sample AWSFMSAsync.ListPolicies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPoliciesAsync(ListPoliciesRequest listPoliciesRequest);
/**
*
* Returns an array of PolicySummary
objects.
*
*
* @param listPoliciesRequest
* @param 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.
* @return A Java Future containing the result of the ListPolicies operation returned by the service.
* @sample AWSFMSAsyncHandler.ListPolicies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPoliciesAsync(ListPoliciesRequest listPoliciesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of ProtocolsListDataSummary
objects.
*
*
* @param listProtocolsListsRequest
* @return A Java Future containing the result of the ListProtocolsLists operation returned by the service.
* @sample AWSFMSAsync.ListProtocolsLists
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listProtocolsListsAsync(ListProtocolsListsRequest listProtocolsListsRequest);
/**
*
* Returns an array of ProtocolsListDataSummary
objects.
*
*
* @param listProtocolsListsRequest
* @param 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.
* @return A Java Future containing the result of the ListProtocolsLists operation returned by the service.
* @sample AWSFMSAsyncHandler.ListProtocolsLists
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listProtocolsListsAsync(ListProtocolsListsRequest listProtocolsListsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the list of tags for the specified Amazon Web Services resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSFMSAsync.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Retrieves the list of tags for the specified Amazon Web Services resource.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSFMSAsyncHandler.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an Firewall Manager applications list.
*
*
* @param putAppsListRequest
* @return A Java Future containing the result of the PutAppsList operation returned by the service.
* @sample AWSFMSAsync.PutAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putAppsListAsync(PutAppsListRequest putAppsListRequest);
/**
*
* Creates an Firewall Manager applications list.
*
*
* @param putAppsListRequest
* @param 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.
* @return A Java Future containing the result of the PutAppsList operation returned by the service.
* @sample AWSFMSAsyncHandler.PutAppsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putAppsListAsync(PutAppsListRequest putAppsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param putNotificationChannelRequest
* @return A Java Future containing the result of the PutNotificationChannel operation returned by the service.
* @sample AWSFMSAsync.PutNotificationChannel
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putNotificationChannelAsync(PutNotificationChannelRequest putNotificationChannelRequest);
/**
*
* 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.
*
*
* @param putNotificationChannelRequest
* @param 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.
* @return A Java Future containing the result of the PutNotificationChannel operation returned by the service.
* @sample AWSFMSAsyncHandler.PutNotificationChannel
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putNotificationChannelAsync(PutNotificationChannelRequest putNotificationChannelRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param putPolicyRequest
* @return A Java Future containing the result of the PutPolicy operation returned by the service.
* @sample AWSFMSAsync.PutPolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putPolicyAsync(PutPolicyRequest putPolicyRequest);
/**
*
* 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.
*
*
* @param putPolicyRequest
* @param 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.
* @return A Java Future containing the result of the PutPolicy operation returned by the service.
* @sample AWSFMSAsyncHandler.PutPolicy
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putPolicyAsync(PutPolicyRequest putPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an Firewall Manager protocols list.
*
*
* @param putProtocolsListRequest
* @return A Java Future containing the result of the PutProtocolsList operation returned by the service.
* @sample AWSFMSAsync.PutProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putProtocolsListAsync(PutProtocolsListRequest putProtocolsListRequest);
/**
*
* Creates an Firewall Manager protocols list.
*
*
* @param putProtocolsListRequest
* @param 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.
* @return A Java Future containing the result of the PutProtocolsList operation returned by the service.
* @sample AWSFMSAsyncHandler.PutProtocolsList
* @see AWS API
* Documentation
*/
java.util.concurrent.Future putProtocolsListAsync(PutProtocolsListRequest putProtocolsListRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds one or more tags to an Amazon Web Services resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSFMSAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds one or more tags to an Amazon Web Services resource.
*
*
* @param tagResourceRequest
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSFMSAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes one or more tags from an Amazon Web Services resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSFMSAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes one or more tags from an Amazon Web Services resource.
*
*
* @param untagResourceRequest
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSFMSAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}