@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface FmsAsyncClient extends AwsClient
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 Service roles for Firewall Manager.
| 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 CompletableFuture<AssociateAdminAccountResponse> |
associateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest)
Sets a Firewall Manager default administrator account.
|
default CompletableFuture<AssociateAdminAccountResponse> |
associateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest)
Sets a Firewall Manager default administrator account.
|
default CompletableFuture<AssociateThirdPartyFirewallResponse> |
associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest)
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
|
default CompletableFuture<AssociateThirdPartyFirewallResponse> |
associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest)
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
|
default CompletableFuture<BatchAssociateResourceResponse> |
batchAssociateResource(BatchAssociateResourceRequest batchAssociateResourceRequest)
Associate resources to a Firewall Manager resource set.
|
default CompletableFuture<BatchAssociateResourceResponse> |
batchAssociateResource(Consumer<BatchAssociateResourceRequest.Builder> batchAssociateResourceRequest)
Associate resources to a Firewall Manager resource set.
|
default CompletableFuture<BatchDisassociateResourceResponse> |
batchDisassociateResource(BatchDisassociateResourceRequest batchDisassociateResourceRequest)
Disassociates resources from a Firewall Manager resource set.
|
default CompletableFuture<BatchDisassociateResourceResponse> |
batchDisassociateResource(Consumer<BatchDisassociateResourceRequest.Builder> batchDisassociateResourceRequest)
Disassociates resources from a Firewall Manager resource set.
|
static FmsAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
FmsAsyncClient. |
static FmsAsyncClient |
create()
Create a
FmsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<DeleteAppsListResponse> |
deleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest)
Permanently deletes an Firewall Manager applications list.
|
default CompletableFuture<DeleteAppsListResponse> |
deleteAppsList(DeleteAppsListRequest deleteAppsListRequest)
Permanently deletes an Firewall Manager applications list.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<DeletePolicyResponse> |
deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Permanently deletes an Firewall Manager policy.
|
default CompletableFuture<DeletePolicyResponse> |
deletePolicy(DeletePolicyRequest deletePolicyRequest)
Permanently deletes an Firewall Manager policy.
|
default CompletableFuture<DeleteProtocolsListResponse> |
deleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest)
Permanently deletes an Firewall Manager protocols list.
|
default CompletableFuture<DeleteProtocolsListResponse> |
deleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest)
Permanently deletes an Firewall Manager protocols list.
|
default CompletableFuture<DeleteResourceSetResponse> |
deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest)
Deletes the specified ResourceSet.
|
default CompletableFuture<DeleteResourceSetResponse> |
deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest)
Deletes the specified ResourceSet.
|
default CompletableFuture<DisassociateAdminAccountResponse> |
disassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest)
Disassociates an Firewall Manager administrator account.
|
default CompletableFuture<DisassociateAdminAccountResponse> |
disassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest)
Disassociates an Firewall Manager administrator account.
|
default CompletableFuture<DisassociateThirdPartyFirewallResponse> |
disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest)
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
|
default CompletableFuture<DisassociateThirdPartyFirewallResponse> |
disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest)
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
|
default CompletableFuture<GetAdminAccountResponse> |
getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default
administrator.
|
default CompletableFuture<GetAdminAccountResponse> |
getAdminAccount(GetAdminAccountRequest getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default
administrator.
|
default CompletableFuture<GetAdminScopeResponse> |
getAdminScope(Consumer<GetAdminScopeRequest.Builder> getAdminScopeRequest)
Returns information about the specified account's administrative scope.
|
default CompletableFuture<GetAdminScopeResponse> |
getAdminScope(GetAdminScopeRequest getAdminScopeRequest)
Returns information about the specified account's administrative scope.
|
default CompletableFuture<GetAppsListResponse> |
getAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest)
Returns information about the specified Firewall Manager applications list.
|
default CompletableFuture<GetAppsListResponse> |
getAppsList(GetAppsListRequest getAppsListRequest)
Returns information about the specified Firewall Manager applications list.
|
default CompletableFuture<GetComplianceDetailResponse> |
getComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest)
Returns detailed compliance information about the specified member account.
|
default CompletableFuture<GetComplianceDetailResponse> |
getComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest)
Returns detailed compliance information about the specified member account.
|
default CompletableFuture<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 CompletableFuture<GetNotificationChannelResponse> |
getNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest)
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS
logs.
|
default CompletableFuture<GetPolicyResponse> |
getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Returns information about the specified Firewall Manager policy.
|
default CompletableFuture<GetPolicyResponse> |
getPolicy(GetPolicyRequest getPolicyRequest)
Returns information about the specified Firewall Manager policy.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<GetProtocolsListResponse> |
getProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest)
Returns information about the specified Firewall Manager protocols list.
|
default CompletableFuture<GetProtocolsListResponse> |
getProtocolsList(GetProtocolsListRequest getProtocolsListRequest)
Returns information about the specified Firewall Manager protocols list.
|
default CompletableFuture<GetResourceSetResponse> |
getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest)
Gets information about a specific resource set.
|
default CompletableFuture<GetResourceSetResponse> |
getResourceSet(GetResourceSetRequest getResourceSetRequest)
Gets information about a specific resource set.
|
default CompletableFuture<GetThirdPartyFirewallAssociationStatusResponse> |
getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest)
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
|
default CompletableFuture<GetThirdPartyFirewallAssociationStatusResponse> |
getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest)
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
|
default CompletableFuture<GetViolationDetailsResponse> |
getViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest)
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
account.
|
default CompletableFuture<GetViolationDetailsResponse> |
getViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest)
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services
account.
|
default CompletableFuture<ListAdminAccountsForOrganizationResponse> |
listAdminAccountsForOrganization(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest)
Returns a
AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount. |
default CompletableFuture<ListAdminAccountsForOrganizationResponse> |
listAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest)
Returns a
AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount. |
default ListAdminAccountsForOrganizationPublisher |
listAdminAccountsForOrganizationPaginator(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest)
Returns a
AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount. |
default ListAdminAccountsForOrganizationPublisher |
listAdminAccountsForOrganizationPaginator(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest)
Returns a
AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount. |
default CompletableFuture<ListAdminsManagingAccountResponse> |
listAdminsManagingAccount(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account.
|
default CompletableFuture<ListAdminsManagingAccountResponse> |
listAdminsManagingAccount(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account.
|
default ListAdminsManagingAccountPublisher |
listAdminsManagingAccountPaginator(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account.
|
default ListAdminsManagingAccountPublisher |
listAdminsManagingAccountPaginator(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account.
|
default CompletableFuture<ListAppsListsResponse> |
listAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default CompletableFuture<ListAppsListsResponse> |
listAppsLists(ListAppsListsRequest listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListAppsListsPublisher |
listAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default ListAppsListsPublisher |
listAppsListsPaginator(ListAppsListsRequest listAppsListsRequest)
Returns an array of
AppsListDataSummary objects. |
default CompletableFuture<ListComplianceStatusResponse> |
listComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default CompletableFuture<ListComplianceStatusResponse> |
listComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListComplianceStatusPublisher |
listComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default ListComplianceStatusPublisher |
listComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest)
Returns an array of
PolicyComplianceStatus objects. |
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
Returns an array of resources in the organization's accounts that are available to be associated with a resource
set.
|
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
Returns an array of resources in the organization's accounts that are available to be associated with a resource
set.
|
default CompletableFuture<ListMemberAccountsResponse> |
listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default CompletableFuture<ListMemberAccountsResponse> |
listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListMemberAccountsPublisher |
listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default ListMemberAccountsPublisher |
listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a
MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization. |
default CompletableFuture<ListPoliciesResponse> |
listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default CompletableFuture<ListPoliciesResponse> |
listPolicies(ListPoliciesRequest listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListPoliciesPublisher |
listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default ListPoliciesPublisher |
listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)
Returns an array of
PolicySummary objects. |
default CompletableFuture<ListProtocolsListsResponse> |
listProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default CompletableFuture<ListProtocolsListsResponse> |
listProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListProtocolsListsPublisher |
listProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default ListProtocolsListsPublisher |
listProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest)
Returns an array of
ProtocolsListDataSummary objects. |
default CompletableFuture<ListResourceSetResourcesResponse> |
listResourceSetResources(Consumer<ListResourceSetResourcesRequest.Builder> listResourceSetResourcesRequest)
Returns an array of resources that are currently associated to a resource set.
|
default CompletableFuture<ListResourceSetResourcesResponse> |
listResourceSetResources(ListResourceSetResourcesRequest listResourceSetResourcesRequest)
Returns an array of resources that are currently associated to a resource set.
|
default CompletableFuture<ListResourceSetsResponse> |
listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)
Returns an array of
ResourceSetSummary objects. |
default CompletableFuture<ListResourceSetsResponse> |
listResourceSets(ListResourceSetsRequest listResourceSetsRequest)
Returns an array of
ResourceSetSummary objects. |
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieves the list of tags for the specified Amazon Web Services resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the list of tags for the specified Amazon Web Services resource.
|
default CompletableFuture<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 CompletableFuture<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 ListThirdPartyFirewallFirewallPoliciesPublisher |
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 ListThirdPartyFirewallFirewallPoliciesPublisher |
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 CompletableFuture<PutAdminAccountResponse> |
putAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest)
Creates or updates an Firewall Manager administrator account.
|
default CompletableFuture<PutAdminAccountResponse> |
putAdminAccount(PutAdminAccountRequest putAdminAccountRequest)
Creates or updates an Firewall Manager administrator account.
|
default CompletableFuture<PutAppsListResponse> |
putAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest)
Creates an Firewall Manager applications list.
|
default CompletableFuture<PutAppsListResponse> |
putAppsList(PutAppsListRequest putAppsListRequest)
Creates an Firewall Manager applications list.
|
default CompletableFuture<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 CompletableFuture<PutNotificationChannelResponse> |
putNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record
SNS logs.
|
default CompletableFuture<PutPolicyResponse> |
putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest)
Creates an Firewall Manager policy.
|
default CompletableFuture<PutPolicyResponse> |
putPolicy(PutPolicyRequest putPolicyRequest)
Creates an Firewall Manager policy.
|
default CompletableFuture<PutProtocolsListResponse> |
putProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest)
Creates an Firewall Manager protocols list.
|
default CompletableFuture<PutProtocolsListResponse> |
putProtocolsList(PutProtocolsListRequest putProtocolsListRequest)
Creates an Firewall Manager protocols list.
|
default CompletableFuture<PutResourceSetResponse> |
putResourceSet(Consumer<PutResourceSetRequest.Builder> putResourceSetRequest)
Creates the resource set.
|
default CompletableFuture<PutResourceSetResponse> |
putResourceSet(PutResourceSetRequest putResourceSetRequest)
Creates the resource set.
|
default FmsServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to an Amazon Web Services resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to an Amazon Web Services resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from an Amazon Web Services resource.
|
default CompletableFuture<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.default CompletableFuture<AssociateAdminAccountResponse> associateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest)
Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.
For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
associateAdminAccountRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<AssociateAdminAccountResponse> associateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest)
Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.
For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<AssociateThirdPartyFirewallResponse> associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest)
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 - 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.default CompletableFuture<AssociateThirdPartyFirewallResponse> associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest)
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.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.default CompletableFuture<BatchAssociateResourceResponse> batchAssociateResource(BatchAssociateResourceRequest batchAssociateResourceRequest)
Associate resources to a Firewall Manager resource set.
batchAssociateResourceRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<BatchAssociateResourceResponse> batchAssociateResource(Consumer<BatchAssociateResourceRequest.Builder> batchAssociateResourceRequest)
Associate resources to a Firewall Manager resource set.
This is a convenience which creates an instance of the BatchAssociateResourceRequest.Builder avoiding the
need to create one manually via BatchAssociateResourceRequest.builder()
batchAssociateResourceRequest - A Consumer that will call methods on BatchAssociateResourceRequest.Builder to create a
request.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<BatchDisassociateResourceResponse> batchDisassociateResource(BatchDisassociateResourceRequest batchDisassociateResourceRequest)
Disassociates resources from a Firewall Manager resource set.
batchDisassociateResourceRequest - 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.default CompletableFuture<BatchDisassociateResourceResponse> batchDisassociateResource(Consumer<BatchDisassociateResourceRequest.Builder> batchDisassociateResourceRequest)
Disassociates resources from a Firewall Manager resource set.
This is a convenience which creates an instance of the BatchDisassociateResourceRequest.Builder avoiding
the need to create one manually via BatchDisassociateResourceRequest.builder()
batchDisassociateResourceRequest - A Consumer that will call methods on BatchDisassociateResourceRequest.Builder to create a
request.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.default CompletableFuture<DeleteAppsListResponse> deleteAppsList(DeleteAppsListRequest deleteAppsListRequest)
Permanently deletes an Firewall Manager applications list.
deleteAppsListRequest - 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.default CompletableFuture<DeleteAppsListResponse> deleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest)
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.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.default CompletableFuture<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.
deleteNotificationChannelRequest - 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.default CompletableFuture<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.
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.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.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest)
Permanently deletes an Firewall Manager policy.
deletePolicyRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<DeleteProtocolsListResponse> deleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest)
Permanently deletes an Firewall Manager protocols list.
deleteProtocolsListRequest - 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.default CompletableFuture<DeleteProtocolsListResponse> deleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest)
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.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.default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest)
Deletes the specified ResourceSet.
deleteResourceSetRequest - 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.default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest)
Deletes the specified ResourceSet.
This is a convenience which creates an instance of the DeleteResourceSetRequest.Builder avoiding the need
to create one manually via DeleteResourceSetRequest.builder()
deleteResourceSetRequest - A Consumer that will call methods on DeleteResourceSetRequest.Builder to create a request.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.default CompletableFuture<DisassociateAdminAccountResponse> disassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest)
Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request.
Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.
disassociateAdminAccountRequest - 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.default CompletableFuture<DisassociateAdminAccountResponse> disassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest)
Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request.
Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.
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.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.default CompletableFuture<DisassociateThirdPartyFirewallResponse> disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest)
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 - 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.default CompletableFuture<DisassociateThirdPartyFirewallResponse> disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest)
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.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.default CompletableFuture<GetAdminAccountResponse> getAdminAccount(GetAdminAccountRequest getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
getAdminAccountRequest - 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.default CompletableFuture<GetAdminAccountResponse> getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest)
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default 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.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.default CompletableFuture<GetAdminScopeResponse> getAdminScope(GetAdminScopeRequest getAdminScopeRequest)
Returns information about the specified account's administrative scope. The admistrative scope defines the resources that an Firewall Manager administrator can manage.
getAdminScopeRequest - 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.default CompletableFuture<GetAdminScopeResponse> getAdminScope(Consumer<GetAdminScopeRequest.Builder> getAdminScopeRequest)
Returns information about the specified account's administrative scope. The admistrative scope defines the resources that an Firewall Manager administrator can manage.
This is a convenience which creates an instance of the GetAdminScopeRequest.Builder avoiding the need to
create one manually via GetAdminScopeRequest.builder()
getAdminScopeRequest - A Consumer that will call methods on GetAdminScopeRequest.Builder to create a request.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.default CompletableFuture<GetAppsListResponse> getAppsList(GetAppsListRequest getAppsListRequest)
Returns information about the specified Firewall Manager applications list.
getAppsListRequest - 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.default CompletableFuture<GetAppsListResponse> getAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest)
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.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.default CompletableFuture<GetComplianceDetailResponse> getComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest)
Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy.
Resources are considered noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
getComplianceDetailRequest - 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.default CompletableFuture<GetComplianceDetailResponse> getComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest)
Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy.
Resources are considered noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
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.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.default CompletableFuture<GetNotificationChannelResponse> getNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest)
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
getNotificationChannelRequest - 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.default CompletableFuture<GetNotificationChannelResponse> getNotificationChannel(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest)
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.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.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest)
Returns information about the specified Firewall Manager policy.
getPolicyRequest - 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.Type parameter is invalid.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
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.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.Type parameter is invalid.default CompletableFuture<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. Other policy types are currently unsupported.
getProtectionStatusRequest - default CompletableFuture<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. 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.default CompletableFuture<GetProtocolsListResponse> getProtocolsList(GetProtocolsListRequest getProtocolsListRequest)
Returns information about the specified Firewall Manager protocols list.
getProtocolsListRequest - 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.default CompletableFuture<GetProtocolsListResponse> getProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest)
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.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.default CompletableFuture<GetResourceSetResponse> getResourceSet(GetResourceSetRequest getResourceSetRequest)
Gets information about a specific resource set.
getResourceSetRequest - 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.default CompletableFuture<GetResourceSetResponse> getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest)
Gets information about a specific resource set.
This is a convenience which creates an instance of the GetResourceSetRequest.Builder avoiding the need to
create one manually via GetResourceSetRequest.builder()
getResourceSetRequest - A Consumer that will call methods on GetResourceSetRequest.Builder to create a request.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.default CompletableFuture<GetThirdPartyFirewallAssociationStatusResponse> getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest)
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
getThirdPartyFirewallAssociationStatusRequest - 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.default CompletableFuture<GetThirdPartyFirewallAssociationStatusResponse> getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest)
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.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.default CompletableFuture<GetViolationDetailsResponse> getViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest)
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
getViolationDetailsRequest - default CompletableFuture<GetViolationDetailsResponse> getViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest)
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.default CompletableFuture<ListAdminAccountsForOrganizationResponse> listAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest)
Returns a AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
listAdminAccountsForOrganizationRequest - 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.default CompletableFuture<ListAdminAccountsForOrganizationResponse> listAdminAccountsForOrganization(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest)
Returns a AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
This is a convenience which creates an instance of the ListAdminAccountsForOrganizationRequest.Builder
avoiding the need to create one manually via ListAdminAccountsForOrganizationRequest.builder()
listAdminAccountsForOrganizationRequest - A Consumer that will call methods on ListAdminAccountsForOrganizationRequest.Builder to
create a request.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.default ListAdminAccountsForOrganizationPublisher listAdminAccountsForOrganizationPaginator(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest)
Returns a AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
This is a variant of
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationPublisher publisher = client.listAdminAccountsForOrganizationPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationPublisher publisher = client.listAdminAccountsForOrganizationPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation.
listAdminAccountsForOrganizationRequest - 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.default ListAdminAccountsForOrganizationPublisher listAdminAccountsForOrganizationPaginator(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest)
Returns a AdminAccounts object that lists the Firewall Manager administrators within the
organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
This is a variant of
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationPublisher publisher = client.listAdminAccountsForOrganizationPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationPublisher publisher = client.listAdminAccountsForOrganizationPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation.
This is a convenience which creates an instance of the ListAdminAccountsForOrganizationRequest.Builder
avoiding the need to create one manually via ListAdminAccountsForOrganizationRequest.builder()
listAdminAccountsForOrganizationRequest - A Consumer that will call methods on ListAdminAccountsForOrganizationRequest.Builder to
create a request.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.default CompletableFuture<ListAdminsManagingAccountResponse> listAdminsManagingAccount(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
listAdminsManagingAccountRequest - default CompletableFuture<ListAdminsManagingAccountResponse> listAdminsManagingAccount(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
This is a convenience which creates an instance of the ListAdminsManagingAccountRequest.Builder avoiding
the need to create one manually via ListAdminsManagingAccountRequest.builder()
listAdminsManagingAccountRequest - A Consumer that will call methods on ListAdminsManagingAccountRequest.Builder to create a
request.default ListAdminsManagingAccountPublisher listAdminsManagingAccountPaginator(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
This is a variant of
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountPublisher publisher = client.listAdminsManagingAccountPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountPublisher publisher = client.listAdminsManagingAccountPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation.
listAdminsManagingAccountRequest - default ListAdminsManagingAccountPublisher listAdminsManagingAccountPaginator(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest)
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
This is a variant of
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountPublisher publisher = client.listAdminsManagingAccountPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountPublisher publisher = client.listAdminsManagingAccountPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation.
This is a convenience which creates an instance of the ListAdminsManagingAccountRequest.Builder avoiding
the need to create one manually via ListAdminsManagingAccountRequest.builder()
listAdminsManagingAccountRequest - A Consumer that will call methods on ListAdminsManagingAccountRequest.Builder to create a
request.default CompletableFuture<ListAppsListsResponse> listAppsLists(ListAppsListsRequest listAppsListsRequest)
Returns an array of AppsListDataSummary objects.
listAppsListsRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<ListAppsListsResponse> listAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default ListAppsListsPublisher listAppsListsPaginator(ListAppsListsRequest listAppsListsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAppsListsPublisher publisher = client.listAppsListsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAppsListsPublisher publisher = client.listAppsListsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAppsListsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAppsListsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default ListAppsListsPublisher listAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListAppsListsPublisher publisher = client.listAppsListsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListAppsListsPublisher publisher = client.listAppsListsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListAppsListsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListAppsListsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<ListComplianceStatusResponse> listComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest)
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a
summary of which member accounts are protected by the specified policy.
listComplianceStatusRequest - default CompletableFuture<ListComplianceStatusResponse> listComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
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.default ListComplianceStatusPublisher listComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusPublisher publisher = client.listComplianceStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusPublisher publisher = client.listComplianceStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListComplianceStatusPublisher listComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusPublisher publisher = client.listComplianceStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListComplianceStatusPublisher publisher = client.listComplianceStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
listDiscoveredResourcesRequest - 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.default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
This is a convenience which creates an instance of the ListDiscoveredResourcesRequest.Builder avoiding
the need to create one manually via ListDiscoveredResourcesRequest.builder()
listDiscoveredResourcesRequest - A Consumer that will call methods on ListDiscoveredResourcesRequest.Builder to create a
request.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.default CompletableFuture<ListMemberAccountsResponse> listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization.
Either an Firewall Manager administrator or the organization's management account can make this request.
listMemberAccountsRequest - default CompletableFuture<ListMemberAccountsResponse> listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization.
Either an Firewall Manager administrator or the organization's management account can make this request.
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.default ListMemberAccountsPublisher listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest)
Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization.
Either an Firewall Manager administrator or the organization's management account can make this request.
This is a variant of
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsPublisher publisher = client.listMemberAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsPublisher publisher = client.listMemberAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListMemberAccountsPublisher listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest)
Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web
Services organization.
Either an Firewall Manager administrator or the organization's management account can make this request.
This is a variant of
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsPublisher publisher = client.listMemberAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListMemberAccountsPublisher publisher = client.listMemberAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest)
Returns an array of PolicySummary objects.
listPoliciesRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default ListPoliciesPublisher listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<ListProtocolsListsResponse> listProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest)
Returns an array of ProtocolsListDataSummary objects.
listProtocolsListsRequest - 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.default CompletableFuture<ListProtocolsListsResponse> listProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
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.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.default ListProtocolsListsPublisher listProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsPublisher publisher = client.listProtocolsListsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsPublisher publisher = client.listProtocolsListsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - 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.default ListProtocolsListsPublisher listProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsPublisher publisher = client.listProtocolsListsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListProtocolsListsPublisher publisher = client.listProtocolsListsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.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.default CompletableFuture<ListResourceSetResourcesResponse> listResourceSetResources(ListResourceSetResourcesRequest listResourceSetResourcesRequest)
Returns an array of resources that are currently associated to a resource set.
listResourceSetResourcesRequest - 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.default CompletableFuture<ListResourceSetResourcesResponse> listResourceSetResources(Consumer<ListResourceSetResourcesRequest.Builder> listResourceSetResourcesRequest)
Returns an array of resources that are currently associated to a resource set.
This is a convenience which creates an instance of the ListResourceSetResourcesRequest.Builder avoiding
the need to create one manually via ListResourceSetResourcesRequest.builder()
listResourceSetResourcesRequest - A Consumer that will call methods on ListResourceSetResourcesRequest.Builder to create a
request.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.default CompletableFuture<ListResourceSetsResponse> listResourceSets(ListResourceSetsRequest listResourceSetsRequest)
Returns an array of ResourceSetSummary objects.
listResourceSetsRequest - 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.default CompletableFuture<ListResourceSetsResponse> listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest)
Returns an array of ResourceSetSummary objects.
This is a convenience which creates an instance of the ListResourceSetsRequest.Builder avoiding the need
to create one manually via ListResourceSetsRequest.builder()
listResourceSetsRequest - A Consumer that will call methods on ListResourceSetsRequest.Builder to create a request.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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the list of tags for the specified Amazon Web Services resource.
listTagsForResourceRequest - 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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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.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.default CompletableFuture<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.
listThirdPartyFirewallFirewallPoliciesRequest - 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.default CompletableFuture<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.
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.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.default ListThirdPartyFirewallFirewallPoliciesPublisher 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.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesPublisher publisher = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesPublisher publisher = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - 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.default ListThirdPartyFirewallFirewallPoliciesPublisher 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.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesPublisher publisher = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesPublisher publisher = client.listThirdPartyFirewallFirewallPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.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.default CompletableFuture<PutAdminAccountResponse> putAdminAccount(PutAdminAccountRequest putAdminAccountRequest)
Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
putAdminAccountRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutAdminAccountResponse> putAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest)
Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
This is a convenience which creates an instance of the PutAdminAccountRequest.Builder avoiding the need
to create one manually via PutAdminAccountRequest.builder()
putAdminAccountRequest - A Consumer that will call methods on PutAdminAccountRequest.Builder to create a request.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutAppsListResponse> putAppsList(PutAppsListRequest putAppsListRequest)
Creates an Firewall Manager applications list.
putAppsListRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutAppsListResponse> putAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutNotificationChannelResponse> putNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest)
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow
the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than
the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to
allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information
about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.
putNotificationChannelRequest - 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.default CompletableFuture<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.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow
the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than
the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to
allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information
about configuring an SNS access policy, see Service roles for Firewall Manager 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.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.default CompletableFuture<PutPolicyResponse> putPolicy(PutPolicyRequest putPolicyRequest)
Creates an Firewall Manager policy.
Firewall Manager provides the following types of policies:
An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL.
An WAF Classic policy (type WAF), which defines a rule group.
A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.
A security group policy, which manages VPC security groups across your Amazon Web Services organization.
An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.
A DNS Firewall policy, which provides RouteĀ 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs.
Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.
putPolicyRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.Type parameter is invalid.default CompletableFuture<PutPolicyResponse> putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest)
Creates an Firewall Manager policy.
Firewall Manager provides the following types of policies:
An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL.
An WAF Classic policy (type WAF), which defines a rule group.
A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.
A security group policy, which manages VPC security groups across your Amazon Web Services organization.
An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.
A DNS Firewall policy, which provides RouteĀ 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs.
Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.Type parameter is invalid.default CompletableFuture<PutProtocolsListResponse> putProtocolsList(PutProtocolsListRequest putProtocolsListRequest)
Creates an Firewall Manager protocols list.
putProtocolsListRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutProtocolsListResponse> putProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutResourceSetResponse> putResourceSet(PutResourceSetRequest putResourceSetRequest)
Creates the resource set.
An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
putResourceSetRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<PutResourceSetResponse> putResourceSet(Consumer<PutResourceSetRequest.Builder> putResourceSetRequest)
Creates the resource set.
An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
This is a convenience which creates an instance of the PutResourceSetRequest.Builder avoiding the need to
create one manually via PutResourceSetRequest.builder()
putResourceSetRequest - A Consumer that will call methods on PutResourceSetRequest.Builder to create a request.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to an Amazon Web Services resource.
tagResourceRequest - 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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
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.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.policy objects that you can create for an Amazon Web Services account. For more information,
see Firewall Manager
Limits in the WAF Developer Guide.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from an Amazon Web Services resource.
untagResourceRequest - 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.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
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.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.default FmsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic FmsAsyncClient create()
FmsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static FmsAsyncClientBuilder builder()
FmsAsyncClient.Copyright © 2023. All rights reserved.