@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface FmsClient extends SdkClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateAdminAccountResponse |
associateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest)
Sets the Firewall Manager administrator account.
|
default AssociateAdminAccountResponse |
associateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest)
Sets the Firewall Manager administrator account.
|
default AssociateThirdPartyFirewallResponse |
associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest)
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
|
default AssociateThirdPartyFirewallResponse |
associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest)
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
|
static FmsClientBuilder |
builder()
Create a builder that can be used to configure and create a
FmsClient. |
static FmsClient |
create()
Create a
FmsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default DeleteAppsListResponse |
deleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest)
Permanently deletes an Firewall Manager applications list.
|
default DeleteAppsListResponse |
deleteAppsList(DeleteAppsListRequest deleteAppsListRequest)
Permanently deletes an Firewall Manager applications list.
|
default DeleteNotificationChannelResponse |
deleteNotificationChannel(Consumer<DeleteNotificationChannelRequest.Builder> 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.
|
default DeleteNotificationChannelResponse |
deleteNotificationChannel(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.
|
default DeletePolicyResponse |
deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Permanently deletes an Firewall Manager policy.
|
default DeletePolicyResponse |
deletePolicy(DeletePolicyRequest deletePolicyRequest)
Permanently deletes an Firewall Manager policy.
|
default DeleteProtocolsListResponse |
deleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest)
Permanently deletes an Firewall Manager protocols list.
|
default DeleteProtocolsListResponse |
deleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest)
Permanently deletes an Firewall Manager protocols list.
|
default DisassociateAdminAccountResponse |
disassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest)
Disassociates the account that has been set as the Firewall Manager administrator account.
|
default DisassociateAdminAccountResponse |
disassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest)
Disassociates the account that has been set as the Firewall Manager administrator account.
|
default DisassociateThirdPartyFirewallResponse |
disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest)
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
|
default DisassociateThirdPartyFirewallResponse |
disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest)
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
|
default GetAdminAccountResponse |
getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
|
default GetAdminAccountResponse |
getAdminAccount(GetAdminAccountRequest getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
|
default GetAppsListResponse |
getAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest)
Returns information about the specified Firewall Manager applications list.
|
default GetAppsListResponse |
getAppsList(GetAppsListRequest getAppsListRequest)
Returns information about the specified Firewall Manager applications list.
|
default GetComplianceDetailResponse |
getComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest)
Returns detailed compliance information about the specified member account.
|
default GetComplianceDetailResponse |
getComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest)
Returns detailed compliance information about the specified member account.
|
default GetNotificationChannelResponse |
getNotificationChannel(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest)
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS
logs.
|
default GetNotificationChannelResponse |
getNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest)
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS
logs.
|
default GetPolicyResponse |
getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Returns information about the specified Firewall Manager policy.
|
default GetPolicyResponse |
getPolicy(GetPolicyRequest getPolicyRequest)
Returns information about the specified Firewall Manager policy.
|
default GetProtectionStatusResponse |
getProtectionStatus(Consumer<GetProtectionStatusRequest.Builder> getProtectionStatusRequest)
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a
potential DDoS attack.
|
default GetProtectionStatusResponse |
getProtectionStatus(GetProtectionStatusRequest getProtectionStatusRequest)
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a
potential DDoS attack.
|
default GetProtocolsListResponse |
getProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest)
Returns information about the specified Firewall Manager protocols list.
|
default GetProtocolsListResponse |
getProtocolsList(GetProtocolsListRequest getProtocolsListRequest)
Returns information about the specified Firewall Manager protocols list.
|
default GetThirdPartyFirewallAssociationStatusResponse |
getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest)
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
|
default GetThirdPartyFirewallAssociationStatusResponse |
getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest)
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
|
default GetViolationDetailsResponse |
getViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest)
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
account.
|
default GetViolationDetailsResponse |
getViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest)
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
account.
|
default ListAppsListsResponse |
listAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListAppsListsResponse |
listAppsLists(ListAppsListsRequest listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListAppsListsIterable |
listAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListAppsListsIterable |
listAppsListsPaginator(ListAppsListsRequest listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListComplianceStatusResponse |
listComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListComplianceStatusResponse |
listComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListComplianceStatusIterable |
listComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListComplianceStatusIterable |
listComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListMemberAccountsResponse |
listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListMemberAccountsResponse |
listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListMemberAccountsIterable |
listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListMemberAccountsIterable |
listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListPoliciesResponse |
listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListPoliciesResponse |
listPolicies(ListPoliciesRequest listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListPoliciesIterable |
listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListPoliciesIterable |
listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListProtocolsListsResponse |
listProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListProtocolsListsResponse |
listProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListProtocolsListsIterable |
listProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListProtocolsListsIterable |
listProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieves the list of tags for the specified Amazon Web Services resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the list of tags for the specified Amazon Web Services resource.
|
default ListThirdPartyFirewallFirewallPoliciesResponse |
listThirdPartyFirewallFirewallPolicies(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest)
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall
administrator's account.
|
default ListThirdPartyFirewallFirewallPoliciesResponse |
listThirdPartyFirewallFirewallPolicies(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest)
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall
administrator's account.
|
default ListThirdPartyFirewallFirewallPoliciesIterable |
listThirdPartyFirewallFirewallPoliciesPaginator(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest)
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall
administrator's account.
|
default ListThirdPartyFirewallFirewallPoliciesIterable |
listThirdPartyFirewallFirewallPoliciesPaginator(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest)
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall
administrator's account.
|
default PutAppsListResponse |
putAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest)
Creates an Firewall Manager applications list.
|
default PutAppsListResponse |
putAppsList(PutAppsListRequest putAppsListRequest)
Creates an Firewall Manager applications list.
|
default PutNotificationChannelResponse |
putNotificationChannel(Consumer<PutNotificationChannelRequest.Builder> putNotificationChannelRequest)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record
SNS logs.
|
default PutNotificationChannelResponse |
putNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record
SNS logs.
|
default PutPolicyResponse |
putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest)
Creates an Firewall Manager policy.
|
default PutPolicyResponse |
putPolicy(PutPolicyRequest putPolicyRequest)
Creates an Firewall Manager policy.
|
default PutProtocolsListResponse |
putProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest)
Creates an Firewall Manager protocols list.
|
default PutProtocolsListResponse |
putProtocolsList(PutProtocolsListRequest putProtocolsListRequest)
Creates an Firewall Manager protocols list.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to an Amazon Web Services resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to an Amazon Web Services resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from an Amazon Web Services resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from an Amazon Web Services resource.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static FmsClient create()
FmsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static FmsClientBuilder builder()
FmsClient.default AssociateAdminAccountResponse associateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
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.
associateAdminAccountRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateAdminAccountResponse associateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the AssociateAdminAccountRequest.Builder avoiding the
need to create one manually via AssociateAdminAccountRequest.builder()
associateAdminAccountRequest - A Consumer that will call methods on AssociateAdminAccountRequest.Builder to create a
request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateThirdPartyFirewallResponse associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
associateThirdPartyFirewallRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateThirdPartyFirewallResponse associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
This is a convenience which creates an instance of the AssociateThirdPartyFirewallRequest.Builder
avoiding the need to create one manually via AssociateThirdPartyFirewallRequest.builder()
associateThirdPartyFirewallRequest - A Consumer that will call methods on AssociateThirdPartyFirewallRequest.Builder to create
a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAppsListResponse deleteAppsList(DeleteAppsListRequest deleteAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager applications list.
deleteAppsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAppsListResponse deleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager applications list.
This is a convenience which creates an instance of the DeleteAppsListRequest.Builder avoiding the need to
create one manually via DeleteAppsListRequest.builder()
deleteAppsListRequest - A Consumer that will call methods on DeleteAppsListRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNotificationChannelResponse deleteNotificationChannel(DeleteNotificationChannelRequest deleteNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
deleteNotificationChannelRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNotificationChannelResponse deleteNotificationChannel(Consumer<DeleteNotificationChannelRequest.Builder> deleteNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the DeleteNotificationChannelRequest.Builder avoiding
the need to create one manually via DeleteNotificationChannelRequest.builder()
deleteNotificationChannelRequest - A Consumer that will call methods on DeleteNotificationChannelRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager policy.
deletePolicyRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager policy.
This is a convenience which creates an instance of the DeletePolicyRequest.Builder avoiding the need to
create one manually via DeletePolicyRequest.builder()
deletePolicyRequest - A Consumer that will call methods on DeletePolicyRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProtocolsListResponse deleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager protocols list.
deleteProtocolsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProtocolsListResponse deleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Permanently deletes an Firewall Manager protocols list.
This is a convenience which creates an instance of the DeleteProtocolsListRequest.Builder avoiding the
need to create one manually via DeleteProtocolsListRequest.builder()
deleteProtocolsListRequest - A Consumer that will call methods on DeleteProtocolsListRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateAdminAccountResponse disassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
disassociateAdminAccountRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateAdminAccountResponse disassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the DisassociateAdminAccountRequest.Builder avoiding
the need to create one manually via DisassociateAdminAccountRequest.builder()
disassociateAdminAccountRequest - A Consumer that will call methods on DisassociateAdminAccountRequest.Builder to create a
request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateThirdPartyFirewallResponse disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call
DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that
are associated with the account.
disassociateThirdPartyFirewallRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateThirdPartyFirewallResponse disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call
DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that
are associated with the account.
This is a convenience which creates an instance of the DisassociateThirdPartyFirewallRequest.Builder
avoiding the need to create one manually via DisassociateThirdPartyFirewallRequest.builder()
disassociateThirdPartyFirewallRequest - A Consumer that will call methods on DisassociateThirdPartyFirewallRequest.Builder to
create a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdminAccountResponse getAdminAccount(GetAdminAccountRequest getAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
getAdminAccountRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdminAccountResponse getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.
This is a convenience which creates an instance of the GetAdminAccountRequest.Builder avoiding the need
to create one manually via GetAdminAccountRequest.builder()
getAdminAccountRequest - A Consumer that will call methods on GetAdminAccountRequest.Builder to create a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAppsListResponse getAppsList(GetAppsListRequest getAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager applications list.
getAppsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAppsListResponse getAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager applications list.
This is a convenience which creates an instance of the GetAppsListRequest.Builder avoiding the need to
create one manually via GetAppsListRequest.builder()
getAppsListRequest - A Consumer that will call methods on GetAppsListRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetComplianceDetailResponse getComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest) throws ResourceNotFoundException, InternalErrorException, InvalidInputException, InvalidOperationException, AwsServiceException, SdkClientException, FmsException
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.
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.InvalidInputException - The parameters of the request were invalid.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetComplianceDetailResponse getComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest) throws ResourceNotFoundException, InternalErrorException, InvalidInputException, InvalidOperationException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the GetComplianceDetailRequest.Builder avoiding the
need to create one manually via GetComplianceDetailRequest.builder()
getComplianceDetailRequest - A Consumer that will call methods on GetComplianceDetailRequest.Builder to create a
request.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.InvalidInputException - The parameters of the request were invalid.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNotificationChannelResponse getNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
getNotificationChannelRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNotificationChannelResponse getNotificationChannel(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
This is a convenience which creates an instance of the GetNotificationChannelRequest.Builder avoiding the
need to create one manually via GetNotificationChannelRequest.builder()
getNotificationChannelRequest - A Consumer that will call methods on GetNotificationChannelRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager policy.
getPolicyRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager policy.
This is a convenience which creates an instance of the GetPolicyRequest.Builder avoiding the need to
create one manually via GetPolicyRequest.builder()
getPolicyRequest - A Consumer that will call methods on GetPolicyRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProtectionStatusResponse getProtectionStatus(GetProtectionStatusRequest getProtectionStatusRequest) throws InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
getProtectionStatusRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProtectionStatusResponse getProtectionStatus(Consumer<GetProtectionStatusRequest.Builder> getProtectionStatusRequest) throws InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the GetProtectionStatusRequest.Builder avoiding the
need to create one manually via GetProtectionStatusRequest.builder()
getProtectionStatusRequest - A Consumer that will call methods on GetProtectionStatusRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProtocolsListResponse getProtocolsList(GetProtocolsListRequest getProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager protocols list.
getProtocolsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProtocolsListResponse getProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns information about the specified Firewall Manager protocols list.
This is a convenience which creates an instance of the GetProtocolsListRequest.Builder avoiding the need
to create one manually via GetProtocolsListRequest.builder()
getProtocolsListRequest - A Consumer that will call methods on GetProtocolsListRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetThirdPartyFirewallAssociationStatusResponse getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
getThirdPartyFirewallAssociationStatusRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetThirdPartyFirewallAssociationStatusResponse getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
This is a convenience which creates an instance of the
GetThirdPartyFirewallAssociationStatusRequest.Builder avoiding the need to create one manually via
GetThirdPartyFirewallAssociationStatusRequest.builder()
getThirdPartyFirewallAssociationStatusRequest - A Consumer that will call methods on GetThirdPartyFirewallAssociationStatusRequest.Builder
to create a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetViolationDetailsResponse getViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
getViolationDetailsRequest - ResourceNotFoundException - The specified resource was not found.InvalidInputException - The parameters of the request were invalid.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetViolationDetailsResponse getViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
This is a convenience which creates an instance of the GetViolationDetailsRequest.Builder avoiding the
need to create one manually via GetViolationDetailsRequest.builder()
getViolationDetailsRequest - A Consumer that will call methods on GetViolationDetailsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidInputException - The parameters of the request were invalid.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAppsListsResponse listAppsLists(ListAppsListsRequest listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of AppsListDataSummary objects.
listAppsListsRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAppsListsResponse listAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of AppsListDataSummary objects.
This is a convenience which creates an instance of the ListAppsListsRequest.Builder avoiding the need to
create one manually via ListAppsListsRequest.builder()
listAppsListsRequest - A Consumer that will call methods on ListAppsListsRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAppsListsIterable listAppsListsPaginator(ListAppsListsRequest listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of AppsListDataSummary objects.
This is a variant of listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListAppsListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest) operation.
listAppsListsRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAppsListsIterable listAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of AppsListDataSummary objects.
This is a variant of listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListAppsListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest) operation.
This is a convenience which creates an instance of the ListAppsListsRequest.Builder avoiding the need to
create one manually via ListAppsListsRequest.builder()
listAppsListsRequest - A Consumer that will call methods on ListAppsListsRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComplianceStatusResponse listComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a
summary of which member accounts are protected by the specified policy.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComplianceStatusResponse listComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a
summary of which member accounts are protected by the specified policy.
This is a convenience which creates an instance of the ListComplianceStatusRequest.Builder avoiding the
need to create one manually via ListComplianceStatusRequest.builder()
listComplianceStatusRequest - A Consumer that will call methods on ListComplianceStatusRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComplianceStatusIterable listComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a
summary of which member accounts are protected by the specified policy.
This is a variant of
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client
.listComplianceStatusPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComplianceStatusIterable listComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a
summary of which member accounts are protected by the specified policy.
This is a variant of
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client
.listComplianceStatusPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)
operation.
This is a convenience which creates an instance of the ListComplianceStatusRequest.Builder avoiding the
need to create one manually via ListComplianceStatusRequest.builder()
listComplianceStatusRequest - A Consumer that will call methods on ListComplianceStatusRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMemberAccountsResponse listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMemberAccountsResponse listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the ListMemberAccountsRequest.Builder avoiding the
need to create one manually via ListMemberAccountsRequest.builder()
listMemberAccountsRequest - A Consumer that will call methods on ListMemberAccountsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMemberAccountsIterable listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a variant of
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client
.listMemberAccountsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMemberAccountsIterable listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a variant of
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client
.listMemberAccountsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation.
This is a convenience which creates an instance of the ListMemberAccountsRequest.Builder avoiding the
need to create one manually via ListMemberAccountsRequest.builder()
listMemberAccountsRequest - A Consumer that will call methods on ListMemberAccountsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicySummary objects.
listPoliciesRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicySummary objects.
This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicySummary objects.
This is a variant of listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest) operation.
listPoliciesRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of PolicySummary objects.
This is a variant of listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest) operation.
This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.LimitExceededException - The operation exceeds a resource limit, for example, the maximum number of policy objects
that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProtocolsListsResponse listProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of ProtocolsListDataSummary objects.
listProtocolsListsRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProtocolsListsResponse listProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of ProtocolsListDataSummary objects.
This is a convenience which creates an instance of the ListProtocolsListsRequest.Builder avoiding the
need to create one manually via ListProtocolsListsRequest.builder()
listProtocolsListsRequest - A Consumer that will call methods on ListProtocolsListsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProtocolsListsIterable listProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of ProtocolsListDataSummary objects.
This is a variant of
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client
.listProtocolsListsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest) operation.
listProtocolsListsRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProtocolsListsIterable listProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Returns an array of ProtocolsListDataSummary objects.
This is a variant of
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client
.listProtocolsListsPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest) operation.
This is a convenience which creates an instance of the ListProtocolsListsRequest.Builder avoiding the
need to create one manually via ListProtocolsListsRequest.builder()
listProtocolsListsRequest - A Consumer that will call methods on ListProtocolsListsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException
Retrieves the list of tags for the specified Amazon Web Services resource.
listTagsForResourceRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidInputException - The parameters of the request were invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException
Retrieves the list of tags for the specified Amazon Web Services resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidInputException - The parameters of the request were invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThirdPartyFirewallFirewallPoliciesResponse listThirdPartyFirewallFirewallPolicies(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
listThirdPartyFirewallFirewallPoliciesRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThirdPartyFirewallFirewallPoliciesResponse listThirdPartyFirewallFirewallPolicies(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a convenience which creates an instance of the
ListThirdPartyFirewallFirewallPoliciesRequest.Builder avoiding the need to create one manually via
ListThirdPartyFirewallFirewallPoliciesRequest.builder()
listThirdPartyFirewallFirewallPoliciesRequest - A Consumer that will call methods on ListThirdPartyFirewallFirewallPoliciesRequest.Builder
to create a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThirdPartyFirewallFirewallPoliciesIterable listThirdPartyFirewallFirewallPoliciesPaginator(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client
.listThirdPartyFirewallFirewallPoliciesPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation.
listThirdPartyFirewallFirewallPoliciesRequest - InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThirdPartyFirewallFirewallPoliciesIterable listThirdPartyFirewallFirewallPoliciesPaginator(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client
.listThirdPartyFirewallFirewallPoliciesPaginator(request);
for (software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation.
This is a convenience which creates an instance of the
ListThirdPartyFirewallFirewallPoliciesRequest.Builder avoiding the need to create one manually via
ListThirdPartyFirewallFirewallPoliciesRequest.builder()
listThirdPartyFirewallFirewallPoliciesRequest - A Consumer that will call methods on ListThirdPartyFirewallFirewallPoliciesRequest.Builder
to create a request.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAppsListResponse putAppsList(PutAppsListRequest putAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Creates an Firewall Manager applications list.
putAppsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAppsListResponse putAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Creates an Firewall Manager applications list.
This is a convenience which creates an instance of the PutAppsListRequest.Builder avoiding the need to
create one manually via PutAppsListRequest.builder()
putAppsListRequest - A Consumer that will call methods on PutAppsListRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutNotificationChannelResponse putNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
putNotificationChannelRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutNotificationChannelResponse putNotificationChannel(Consumer<PutNotificationChannelRequest.Builder> putNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the PutNotificationChannelRequest.Builder avoiding the
need to create one manually via PutNotificationChannelRequest.builder()
putNotificationChannelRequest - A Consumer that will call methods on PutNotificationChannelRequest.Builder to create a
request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutPolicyResponse putPolicy(PutPolicyRequest putPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException
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.
putPolicyRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutPolicyResponse putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException
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.
This is a convenience which creates an instance of the PutPolicyRequest.Builder avoiding the need to
create one manually via PutPolicyRequest.builder()
putPolicyRequest - A Consumer that will call methods on PutPolicyRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutProtocolsListResponse putProtocolsList(PutProtocolsListRequest putProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Creates an Firewall Manager protocols list.
putProtocolsListRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutProtocolsListResponse putProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException
Creates an Firewall Manager protocols list.
This is a convenience which creates an instance of the PutProtocolsListRequest.Builder avoiding the need
to create one manually via PutProtocolsListRequest.builder()
putProtocolsListRequest - A Consumer that will call methods on PutProtocolsListRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
Adds one or more tags to an Amazon Web Services resource.
tagResourceRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException
Adds one or more tags to an Amazon Web Services resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.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 Amazon Web Services account. For more information, see Firewall Manager Limits
in the WAF Developer Guide.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException
Removes one or more tags from an Amazon Web Services resource.
untagResourceRequest - ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidInputException - The parameters of the request were invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException
Removes one or more tags from an Amazon Web Services resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ResourceNotFoundException - The specified resource was not found.InvalidOperationException - The operation failed because there was nothing to do or the operation wasn't possible. For example, you
might have submitted an AssociateAdminAccount request for an account ID that was already set
as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by
default, and that you need to enable for the Firewall Manager administrator account and for Organizations
before you can access it.InternalErrorException - The operation failed because of a system problem, even though the request was valid. Retry your request.InvalidInputException - The parameters of the request were invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FmsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.