@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFMSClient extends AmazonWebServiceClient implements AWSFMS
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 |
---|---|
AssociateAdminAccountResult |
associateAdminAccount(AssociateAdminAccountRequest request)
Sets the AWS Firewall Manager administrator account.
|
static AWSFMSClientBuilder |
builder() |
DeleteNotificationChannelResult |
deleteNotificationChannel(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.
|
DeletePolicyResult |
deletePolicy(DeletePolicyRequest request)
Permanently deletes an AWS Firewall Manager policy.
|
DisassociateAdminAccountResult |
disassociateAdminAccount(DisassociateAdminAccountRequest request)
Disassociates the account that has been set as the AWS Firewall Manager administrator account.
|
GetAdminAccountResult |
getAdminAccount(GetAdminAccountRequest request)
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall
Manager administrator.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetComplianceDetailResult |
getComplianceDetail(GetComplianceDetailRequest request)
Returns detailed compliance information about the specified member account.
|
GetNotificationChannelResult |
getNotificationChannel(GetNotificationChannelRequest request)
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall
Manager SNS logs.
|
GetPolicyResult |
getPolicy(GetPolicyRequest request)
Returns information about the specified AWS Firewall Manager policy.
|
ListComplianceStatusResult |
listComplianceStatus(ListComplianceStatusRequest request)
Returns an array of
PolicyComplianceStatus objects in the response. |
ListMemberAccountsResult |
listMemberAccounts(ListMemberAccountsRequest request)
Returns a
MemberAccounts object that lists the member accounts in the administrator's AWS
organization. |
ListPoliciesResult |
listPolicies(ListPoliciesRequest request)
Returns an array of
PolicySummary objects in the response. |
PutNotificationChannelResult |
putNotificationChannel(PutNotificationChannelRequest request)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to
record SNS logs.
|
PutPolicyResult |
putPolicy(PutPolicyRequest request)
Creates an AWS Firewall Manager policy.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSFMSClientBuilder builder()
public AssociateAdminAccountResult associateAdminAccount(AssociateAdminAccountRequest request)
Sets 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.
associateAdminAccount
in interface AWSFMS
associateAdminAccountRequest
- InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InvalidInputException
- The parameters of the request were invalid.ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public DeleteNotificationChannelResult deleteNotificationChannel(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.
deleteNotificationChannel
in interface AWSFMS
deleteNotificationChannelRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public DeletePolicyResult deletePolicy(DeletePolicyRequest request)
Permanently deletes an AWS Firewall Manager policy.
deletePolicy
in interface AWSFMS
deletePolicyRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public DisassociateAdminAccountResult disassociateAdminAccount(DisassociateAdminAccountRequest request)
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.
disassociateAdminAccount
in interface AWSFMS
disassociateAdminAccountRequest
- InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public GetAdminAccountResult getAdminAccount(GetAdminAccountRequest request)
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getAdminAccount
in interface AWSFMS
getAdminAccountRequest
- InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public GetComplianceDetailResult getComplianceDetail(GetComplianceDetailRequest request)
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.
getComplianceDetail
in interface AWSFMS
getComplianceDetailRequest
- ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public GetNotificationChannelResult getNotificationChannel(GetNotificationChannelRequest request)
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getNotificationChannel
in interface AWSFMS
getNotificationChannelRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public GetPolicyResult getPolicy(GetPolicyRequest request)
Returns information about the specified AWS Firewall Manager policy.
getPolicy
in interface AWSFMS
getPolicyRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidTypeException
- The value of the Type
parameter is invalid.public ListComplianceStatusResult listComplianceStatus(ListComplianceStatusRequest request)
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.
listComplianceStatus
in interface AWSFMS
listComplianceStatusRequest
- ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public ListMemberAccountsResult listMemberAccounts(ListMemberAccountsRequest request)
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.
listMemberAccounts
in interface AWSFMS
listMemberAccountsRequest
- ResourceNotFoundException
- The specified resource was not found.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public ListPoliciesResult listPolicies(ListPoliciesRequest request)
Returns an array of PolicySummary
objects in the response.
listPolicies
in interface AWSFMS
listPoliciesRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.LimitExceededException
- The operation exceeds a resource limit, for example, the maximum number of policy
objects
that you can create for an AWS account. For more information, see Firewall Manager Limits
in the AWS WAF Developer Guide.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public PutNotificationChannelResult putNotificationChannel(PutNotificationChannelRequest request)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putNotificationChannel
in interface AWSFMS
putNotificationChannelRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.public PutPolicyResult putPolicy(PutPolicyRequest request)
Creates an AWS Firewall Manager policy.
putPolicy
in interface AWSFMS
putPolicyRequest
- ResourceNotFoundException
- The specified resource was not found.InvalidOperationException
- The operation failed because there was nothing to do. For example, you might have submitted an
AssociateAdminAccount
request, but the account ID that you submitted was already set as the
AWS Firewall Manager administrator.InvalidInputException
- The parameters of the request were invalid.LimitExceededException
- The operation exceeds a resource limit, for example, the maximum number of policy
objects
that you can create for an AWS account. For more information, see Firewall Manager Limits
in the AWS WAF Developer Guide.InternalErrorException
- The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidTypeException
- The value of the Type
parameter is invalid.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSFMS
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.