Interface FmsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
This is the Firewall Manager API Reference. This guide is for developers who need detailed information about the Firewall Manager API actions, data types, and errors. For detailed information about Firewall Manager features, see the Firewall Manager Developer Guide.
Some API actions require explicit resource permissions. For information, see the developer guide topic Service roles for Firewall Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateAdminAccountResponseassociateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest) Sets a Firewall Manager default administrator account.default AssociateAdminAccountResponseassociateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest) Sets a Firewall Manager default administrator account.associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest) Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest) Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.default BatchAssociateResourceResponsebatchAssociateResource(Consumer<BatchAssociateResourceRequest.Builder> batchAssociateResourceRequest) Associate resources to a Firewall Manager resource set.default BatchAssociateResourceResponsebatchAssociateResource(BatchAssociateResourceRequest batchAssociateResourceRequest) Associate resources to a Firewall Manager resource set.batchDisassociateResource(Consumer<BatchDisassociateResourceRequest.Builder> batchDisassociateResourceRequest) Disassociates resources from a Firewall Manager resource set.batchDisassociateResource(BatchDisassociateResourceRequest batchDisassociateResourceRequest) Disassociates resources from a Firewall Manager resource set.static FmsClientBuilderbuilder()Create a builder that can be used to configure and create aFmsClient.static FmsClientcreate()Create aFmsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DeleteAppsListResponsedeleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest) Permanently deletes an Firewall Manager applications list.default DeleteAppsListResponsedeleteAppsList(DeleteAppsListRequest deleteAppsListRequest) Permanently deletes an Firewall Manager applications list.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.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 DeletePolicyResponsedeletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Permanently deletes an Firewall Manager policy.default DeletePolicyResponsedeletePolicy(DeletePolicyRequest deletePolicyRequest) Permanently deletes an Firewall Manager policy.default DeleteProtocolsListResponsedeleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest) Permanently deletes an Firewall Manager protocols list.default DeleteProtocolsListResponsedeleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest) Permanently deletes an Firewall Manager protocols list.default DeleteResourceSetResponsedeleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) Deletes the specified ResourceSet.default DeleteResourceSetResponsedeleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest) Deletes the specified ResourceSet.default DisassociateAdminAccountResponsedisassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest) Disassociates an Firewall Manager administrator account.default DisassociateAdminAccountResponsedisassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest) Disassociates an Firewall Manager administrator account.disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest) Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest) Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.default GetAdminAccountResponsegetAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.default GetAdminAccountResponsegetAdminAccount(GetAdminAccountRequest getAdminAccountRequest) Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.default GetAdminScopeResponsegetAdminScope(Consumer<GetAdminScopeRequest.Builder> getAdminScopeRequest) Returns information about the specified account's administrative scope.default GetAdminScopeResponsegetAdminScope(GetAdminScopeRequest getAdminScopeRequest) Returns information about the specified account's administrative scope.default GetAppsListResponsegetAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest) Returns information about the specified Firewall Manager applications list.default GetAppsListResponsegetAppsList(GetAppsListRequest getAppsListRequest) Returns information about the specified Firewall Manager applications list.default GetComplianceDetailResponsegetComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest) Returns detailed compliance information about the specified member account.default GetComplianceDetailResponsegetComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest) Returns detailed compliance information about the specified member account.default GetNotificationChannelResponsegetNotificationChannel(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest) Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.default GetNotificationChannelResponsegetNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest) Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.default GetPolicyResponsegetPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Returns information about the specified Firewall Manager policy.default GetPolicyResponsegetPolicy(GetPolicyRequest getPolicyRequest) Returns information about the specified Firewall Manager policy.default GetProtectionStatusResponsegetProtectionStatus(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 GetProtectionStatusResponsegetProtectionStatus(GetProtectionStatusRequest getProtectionStatusRequest) If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.default GetProtocolsListResponsegetProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest) Returns information about the specified Firewall Manager protocols list.default GetProtocolsListResponsegetProtocolsList(GetProtocolsListRequest getProtocolsListRequest) Returns information about the specified Firewall Manager protocols list.default GetResourceSetResponsegetResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) Gets information about a specific resource set.default GetResourceSetResponsegetResourceSet(GetResourceSetRequest getResourceSetRequest) Gets information about a specific resource set.getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest) The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest) The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.default GetViolationDetailsResponsegetViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest) Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.default GetViolationDetailsResponsegetViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest) Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.listAdminAccountsForOrganization(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) Returns aAdminAccountsobject that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) Returns aAdminAccountsobject that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminAccountsForOrganizationPaginator(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) Returns aAdminAccountsobject that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminAccountsForOrganizationPaginator(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) Returns aAdminAccountsobject that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminsManagingAccount(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest) Lists the accounts that are managing the specified Organizations member account.listAdminsManagingAccount(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest) Lists the accounts that are managing the specified Organizations member account.listAdminsManagingAccountPaginator(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest) Lists the accounts that are managing the specified Organizations member account.listAdminsManagingAccountPaginator(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest) Lists the accounts that are managing the specified Organizations member account.default ListAppsListsResponselistAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) Returns an array ofAppsListDataSummaryobjects.default ListAppsListsResponselistAppsLists(ListAppsListsRequest listAppsListsRequest) Returns an array ofAppsListDataSummaryobjects.default ListAppsListsIterablelistAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) Returns an array ofAppsListDataSummaryobjects.default ListAppsListsIterablelistAppsListsPaginator(ListAppsListsRequest listAppsListsRequest) Returns an array ofAppsListDataSummaryobjects.default ListComplianceStatusResponselistComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) Returns an array ofPolicyComplianceStatusobjects.default ListComplianceStatusResponselistComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest) Returns an array ofPolicyComplianceStatusobjects.default ListComplianceStatusIterablelistComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) Returns an array ofPolicyComplianceStatusobjects.default ListComplianceStatusIterablelistComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest) Returns an array ofPolicyComplianceStatusobjects.default ListDiscoveredResourcesResponselistDiscoveredResources(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 ListDiscoveredResourcesResponselistDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) Returns an array of resources in the organization's accounts that are available to be associated with a resource set.default ListMemberAccountsResponselistMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) Returns aMemberAccountsobject that lists the member accounts in the administrator's Amazon Web Services organization.default ListMemberAccountsResponselistMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest) Returns aMemberAccountsobject that lists the member accounts in the administrator's Amazon Web Services organization.default ListMemberAccountsIterablelistMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) Returns aMemberAccountsobject that lists the member accounts in the administrator's Amazon Web Services organization.default ListMemberAccountsIterablelistMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest) Returns aMemberAccountsobject that lists the member accounts in the administrator's Amazon Web Services organization.default ListPoliciesResponselistPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Returns an array ofPolicySummaryobjects.default ListPoliciesResponselistPolicies(ListPoliciesRequest listPoliciesRequest) Returns an array ofPolicySummaryobjects.default ListPoliciesIterablelistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Returns an array ofPolicySummaryobjects.default ListPoliciesIterablelistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) Returns an array ofPolicySummaryobjects.default ListProtocolsListsResponselistProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) Returns an array ofProtocolsListDataSummaryobjects.default ListProtocolsListsResponselistProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest) Returns an array ofProtocolsListDataSummaryobjects.default ListProtocolsListsIterablelistProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) Returns an array ofProtocolsListDataSummaryobjects.default ListProtocolsListsIterablelistProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest) Returns an array ofProtocolsListDataSummaryobjects.default ListResourceSetResourcesResponselistResourceSetResources(Consumer<ListResourceSetResourcesRequest.Builder> listResourceSetResourcesRequest) Returns an array of resources that are currently associated to a resource set.default ListResourceSetResourcesResponselistResourceSetResources(ListResourceSetResourcesRequest listResourceSetResourcesRequest) Returns an array of resources that are currently associated to a resource set.default ListResourceSetsResponselistResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) Returns an array ofResourceSetSummaryobjects.default ListResourceSetsResponselistResourceSets(ListResourceSetsRequest listResourceSetsRequest) Returns an array ofResourceSetSummaryobjects.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of tags for the specified Amazon Web Services resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of tags for the specified Amazon Web Services resource.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.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.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.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 PutAdminAccountResponseputAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest) Creates or updates an Firewall Manager administrator account.default PutAdminAccountResponseputAdminAccount(PutAdminAccountRequest putAdminAccountRequest) Creates or updates an Firewall Manager administrator account.default PutAppsListResponseputAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest) Creates an Firewall Manager applications list.default PutAppsListResponseputAppsList(PutAppsListRequest putAppsListRequest) Creates an Firewall Manager applications list.default PutNotificationChannelResponseputNotificationChannel(Consumer<PutNotificationChannelRequest.Builder> putNotificationChannelRequest) Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.default PutNotificationChannelResponseputNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest) Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.default PutPolicyResponseputPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest) Creates an Firewall Manager policy.default PutPolicyResponseputPolicy(PutPolicyRequest putPolicyRequest) Creates an Firewall Manager policy.default PutProtocolsListResponseputProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest) Creates an Firewall Manager protocols list.default PutProtocolsListResponseputProtocolsList(PutProtocolsListRequest putProtocolsListRequest) Creates an Firewall Manager protocols list.default PutResourceSetResponseputResourceSet(Consumer<PutResourceSetRequest.Builder> putResourceSetRequest) Creates the resource set.default PutResourceSetResponseputResourceSet(PutResourceSetRequest putResourceSetRequest) Creates the resource set.default FmsServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to an Amazon Web Services resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds one or more tags to an Amazon Web Services resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from an Amazon Web Services resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from an Amazon Web Services resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateAdminAccount
default AssociateAdminAccountResponse associateAdminAccount(AssociateAdminAccountRequest associateAdminAccountRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException 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.
- Parameters:
associateAdminAccountRequest-- Returns:
- Result of the AssociateAdminAccount operation returned by the service.
- See Also:
-
associateAdminAccount
default AssociateAdminAccountResponse associateAdminAccount(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaAssociateAdminAccountRequest.builder()- Parameters:
associateAdminAccountRequest- AConsumerthat will call methods onAssociateAdminAccountRequest.Builderto create a request.- Returns:
- Result of the AssociateAdminAccount operation returned by the service.
- See Also:
-
associateThirdPartyFirewall
default AssociateThirdPartyFirewallResponse associateThirdPartyFirewall(AssociateThirdPartyFirewallRequest associateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
- Parameters:
associateThirdPartyFirewallRequest-- Returns:
- Result of the AssociateThirdPartyFirewall operation returned by the service.
- See Also:
-
associateThirdPartyFirewall
default AssociateThirdPartyFirewallResponse associateThirdPartyFirewall(Consumer<AssociateThirdPartyFirewallRequest.Builder> associateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
This is a convenience which creates an instance of the
AssociateThirdPartyFirewallRequest.Builderavoiding the need to create one manually viaAssociateThirdPartyFirewallRequest.builder()- Parameters:
associateThirdPartyFirewallRequest- AConsumerthat will call methods onAssociateThirdPartyFirewallRequest.Builderto create a request.- Returns:
- Result of the AssociateThirdPartyFirewall operation returned by the service.
- See Also:
-
batchAssociateResource
default BatchAssociateResourceResponse batchAssociateResource(BatchAssociateResourceRequest batchAssociateResourceRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Associate resources to a Firewall Manager resource set.
- Parameters:
batchAssociateResourceRequest-- Returns:
- Result of the BatchAssociateResource operation returned by the service.
- See Also:
-
batchAssociateResource
default BatchAssociateResourceResponse batchAssociateResource(Consumer<BatchAssociateResourceRequest.Builder> batchAssociateResourceRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Associate resources to a Firewall Manager resource set.
This is a convenience which creates an instance of the
BatchAssociateResourceRequest.Builderavoiding the need to create one manually viaBatchAssociateResourceRequest.builder()- Parameters:
batchAssociateResourceRequest- AConsumerthat will call methods onBatchAssociateResourceRequest.Builderto create a request.- Returns:
- Result of the BatchAssociateResource operation returned by the service.
- See Also:
-
batchDisassociateResource
default BatchDisassociateResourceResponse batchDisassociateResource(BatchDisassociateResourceRequest batchDisassociateResourceRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Disassociates resources from a Firewall Manager resource set.
- Parameters:
batchDisassociateResourceRequest-- Returns:
- Result of the BatchDisassociateResource operation returned by the service.
- See Also:
-
batchDisassociateResource
default BatchDisassociateResourceResponse batchDisassociateResource(Consumer<BatchDisassociateResourceRequest.Builder> batchDisassociateResourceRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Disassociates resources from a Firewall Manager resource set.
This is a convenience which creates an instance of the
BatchDisassociateResourceRequest.Builderavoiding the need to create one manually viaBatchDisassociateResourceRequest.builder()- Parameters:
batchDisassociateResourceRequest- AConsumerthat will call methods onBatchDisassociateResourceRequest.Builderto create a request.- Returns:
- Result of the BatchDisassociateResource operation returned by the service.
- See Also:
-
deleteAppsList
default DeleteAppsListResponse deleteAppsList(DeleteAppsListRequest deleteAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager applications list.
- Parameters:
deleteAppsListRequest-- Returns:
- Result of the DeleteAppsList operation returned by the service.
- See Also:
-
deleteAppsList
default DeleteAppsListResponse deleteAppsList(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager applications list.
This is a convenience which creates an instance of the
DeleteAppsListRequest.Builderavoiding the need to create one manually viaDeleteAppsListRequest.builder()- Parameters:
deleteAppsListRequest- AConsumerthat will call methods onDeleteAppsListRequest.Builderto create a request.- Returns:
- Result of the DeleteAppsList operation returned by the service.
- See Also:
-
deleteNotificationChannel
default DeleteNotificationChannelResponse deleteNotificationChannel(DeleteNotificationChannelRequest deleteNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
- Parameters:
deleteNotificationChannelRequest-- Returns:
- Result of the DeleteNotificationChannel operation returned by the service.
- See Also:
-
deleteNotificationChannel
default DeleteNotificationChannelResponse deleteNotificationChannel(Consumer<DeleteNotificationChannelRequest.Builder> deleteNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
This is a convenience which creates an instance of the
DeleteNotificationChannelRequest.Builderavoiding the need to create one manually viaDeleteNotificationChannelRequest.builder()- Parameters:
deleteNotificationChannelRequest- AConsumerthat will call methods onDeleteNotificationChannelRequest.Builderto create a request.- Returns:
- Result of the DeleteNotificationChannel operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager policy.
- Parameters:
deletePolicyRequest-- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager policy.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deleteProtocolsList
default DeleteProtocolsListResponse deleteProtocolsList(DeleteProtocolsListRequest deleteProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager protocols list.
- Parameters:
deleteProtocolsListRequest-- Returns:
- Result of the DeleteProtocolsList operation returned by the service.
- See Also:
-
deleteProtocolsList
default DeleteProtocolsListResponse deleteProtocolsList(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Permanently deletes an Firewall Manager protocols list.
This is a convenience which creates an instance of the
DeleteProtocolsListRequest.Builderavoiding the need to create one manually viaDeleteProtocolsListRequest.builder()- Parameters:
deleteProtocolsListRequest- AConsumerthat will call methods onDeleteProtocolsListRequest.Builderto create a request.- Returns:
- Result of the DeleteProtocolsList operation returned by the service.
- See Also:
-
deleteResourceSet
default DeleteResourceSetResponse deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Deletes the specified ResourceSet.
- Parameters:
deleteResourceSetRequest-- Returns:
- Result of the DeleteResourceSet operation returned by the service.
- See Also:
-
deleteResourceSet
default DeleteResourceSetResponse deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Deletes the specified ResourceSet.
This is a convenience which creates an instance of the
DeleteResourceSetRequest.Builderavoiding the need to create one manually viaDeleteResourceSetRequest.builder()- Parameters:
deleteResourceSetRequest- AConsumerthat will call methods onDeleteResourceSetRequest.Builderto create a request.- Returns:
- Result of the DeleteResourceSet operation returned by the service.
- See Also:
-
disassociateAdminAccount
default DisassociateAdminAccountResponse disassociateAdminAccount(DisassociateAdminAccountRequest disassociateAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.
- Parameters:
disassociateAdminAccountRequest-- Returns:
- Result of the DisassociateAdminAccount operation returned by the service.
- See Also:
-
disassociateAdminAccount
default DisassociateAdminAccountResponse disassociateAdminAccount(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaDisassociateAdminAccountRequest.builder()- Parameters:
disassociateAdminAccountRequest- AConsumerthat will call methods onDisassociateAdminAccountRequest.Builderto create a request.- Returns:
- Result of the DisassociateAdminAccount operation returned by the service.
- See Also:
-
disassociateThirdPartyFirewall
default DisassociateThirdPartyFirewallResponse disassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest disassociateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call
DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the account.- Parameters:
disassociateThirdPartyFirewallRequest-- Returns:
- Result of the DisassociateThirdPartyFirewall operation returned by the service.
- See Also:
-
disassociateThirdPartyFirewall
default DisassociateThirdPartyFirewallResponse disassociateThirdPartyFirewall(Consumer<DisassociateThirdPartyFirewallRequest.Builder> disassociateThirdPartyFirewallRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call
DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the account.
This is a convenience which creates an instance of the
DisassociateThirdPartyFirewallRequest.Builderavoiding the need to create one manually viaDisassociateThirdPartyFirewallRequest.builder()- Parameters:
disassociateThirdPartyFirewallRequest- AConsumerthat will call methods onDisassociateThirdPartyFirewallRequest.Builderto create a request.- Returns:
- Result of the DisassociateThirdPartyFirewall operation returned by the service.
- See Also:
-
getAdminAccount
default GetAdminAccountResponse getAdminAccount(GetAdminAccountRequest getAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
- Parameters:
getAdminAccountRequest-- Returns:
- Result of the GetAdminAccount operation returned by the service.
- See Also:
-
getAdminAccount
default GetAdminAccountResponse getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
This is a convenience which creates an instance of the
GetAdminAccountRequest.Builderavoiding the need to create one manually viaGetAdminAccountRequest.builder()- Parameters:
getAdminAccountRequest- AConsumerthat will call methods onGetAdminAccountRequest.Builderto create a request.- Returns:
- Result of the GetAdminAccount operation returned by the service.
- See Also:
-
getAdminScope
default GetAdminScopeResponse getAdminScope(GetAdminScopeRequest getAdminScopeRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Returns information about the specified account's administrative scope. The admistrative scope defines the resources that an Firewall Manager administrator can manage.
- Parameters:
getAdminScopeRequest-- Returns:
- Result of the GetAdminScope operation returned by the service.
- See Also:
-
getAdminScope
default GetAdminScopeResponse getAdminScope(Consumer<GetAdminScopeRequest.Builder> getAdminScopeRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaGetAdminScopeRequest.builder()- Parameters:
getAdminScopeRequest- AConsumerthat will call methods onGetAdminScopeRequest.Builderto create a request.- Returns:
- Result of the GetAdminScope operation returned by the service.
- See Also:
-
getAppsList
default GetAppsListResponse getAppsList(GetAppsListRequest getAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager applications list.
- Parameters:
getAppsListRequest-- Returns:
- Result of the GetAppsList operation returned by the service.
- See Also:
-
getAppsList
default GetAppsListResponse getAppsList(Consumer<GetAppsListRequest.Builder> getAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager applications list.
This is a convenience which creates an instance of the
GetAppsListRequest.Builderavoiding the need to create one manually viaGetAppsListRequest.builder()- Parameters:
getAppsListRequest- AConsumerthat will call methods onGetAppsListRequest.Builderto create a request.- Returns:
- Result of the GetAppsList operation returned by the service.
- See Also:
-
getComplianceDetail
default GetComplianceDetailResponse getComplianceDetail(GetComplianceDetailRequest getComplianceDetailRequest) throws ResourceNotFoundException, InternalErrorException, InvalidInputException, InvalidOperationException, AwsServiceException, SdkClientException, FmsException Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy.
-
Resources are considered noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
-
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
-
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
-
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
- Parameters:
getComplianceDetailRequest-- Returns:
- Result of the GetComplianceDetail operation returned by the service.
- See Also:
-
-
getComplianceDetail
default GetComplianceDetailResponse getComplianceDetail(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest) throws ResourceNotFoundException, InternalErrorException, InvalidInputException, InvalidOperationException, AwsServiceException, SdkClientException, FmsException Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy.
-
Resources are considered noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
-
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
-
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
-
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
This is a convenience which creates an instance of the
GetComplianceDetailRequest.Builderavoiding the need to create one manually viaGetComplianceDetailRequest.builder()- Parameters:
getComplianceDetailRequest- AConsumerthat will call methods onGetComplianceDetailRequest.Builderto create a request.- Returns:
- Result of the GetComplianceDetail operation returned by the service.
- See Also:
-
-
getNotificationChannel
default GetNotificationChannelResponse getNotificationChannel(GetNotificationChannelRequest getNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
- Parameters:
getNotificationChannelRequest-- Returns:
- Result of the GetNotificationChannel operation returned by the service.
- See Also:
-
getNotificationChannel
default GetNotificationChannelResponse getNotificationChannel(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
This is a convenience which creates an instance of the
GetNotificationChannelRequest.Builderavoiding the need to create one manually viaGetNotificationChannelRequest.builder()- Parameters:
getNotificationChannelRequest- AConsumerthat will call methods onGetNotificationChannelRequest.Builderto create a request.- Returns:
- Result of the GetNotificationChannel operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager policy.
- Parameters:
getPolicyRequest-- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager policy.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getProtectionStatus
default GetProtectionStatusResponse getProtectionStatus(GetProtectionStatusRequest getProtectionStatusRequest) throws InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
- Parameters:
getProtectionStatusRequest-- Returns:
- Result of the GetProtectionStatus operation returned by the service.
- See Also:
-
getProtectionStatus
default GetProtectionStatusResponse getProtectionStatus(Consumer<GetProtectionStatusRequest.Builder> getProtectionStatusRequest) throws InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
This is a convenience which creates an instance of the
GetProtectionStatusRequest.Builderavoiding the need to create one manually viaGetProtectionStatusRequest.builder()- Parameters:
getProtectionStatusRequest- AConsumerthat will call methods onGetProtectionStatusRequest.Builderto create a request.- Returns:
- Result of the GetProtectionStatus operation returned by the service.
- See Also:
-
getProtocolsList
default GetProtocolsListResponse getProtocolsList(GetProtocolsListRequest getProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager protocols list.
- Parameters:
getProtocolsListRequest-- Returns:
- Result of the GetProtocolsList operation returned by the service.
- See Also:
-
getProtocolsList
default GetProtocolsListResponse getProtocolsList(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns information about the specified Firewall Manager protocols list.
This is a convenience which creates an instance of the
GetProtocolsListRequest.Builderavoiding the need to create one manually viaGetProtocolsListRequest.builder()- Parameters:
getProtocolsListRequest- AConsumerthat will call methods onGetProtocolsListRequest.Builderto create a request.- Returns:
- Result of the GetProtocolsList operation returned by the service.
- See Also:
-
getResourceSet
default GetResourceSetResponse getResourceSet(GetResourceSetRequest getResourceSetRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Gets information about a specific resource set.
- Parameters:
getResourceSetRequest-- Returns:
- Result of the GetResourceSet operation returned by the service.
- See Also:
-
getResourceSet
default GetResourceSetResponse getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Gets information about a specific resource set.
This is a convenience which creates an instance of the
GetResourceSetRequest.Builderavoiding the need to create one manually viaGetResourceSetRequest.builder()- Parameters:
getResourceSetRequest- AConsumerthat will call methods onGetResourceSetRequest.Builderto create a request.- Returns:
- Result of the GetResourceSet operation returned by the service.
- See Also:
-
getThirdPartyFirewallAssociationStatus
default GetThirdPartyFirewallAssociationStatusResponse getThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest getThirdPartyFirewallAssociationStatusRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
- Parameters:
getThirdPartyFirewallAssociationStatusRequest-- Returns:
- Result of the GetThirdPartyFirewallAssociationStatus operation returned by the service.
- See Also:
-
getThirdPartyFirewallAssociationStatus
default GetThirdPartyFirewallAssociationStatusResponse getThirdPartyFirewallAssociationStatus(Consumer<GetThirdPartyFirewallAssociationStatusRequest.Builder> getThirdPartyFirewallAssociationStatusRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
This is a convenience which creates an instance of the
GetThirdPartyFirewallAssociationStatusRequest.Builderavoiding the need to create one manually viaGetThirdPartyFirewallAssociationStatusRequest.builder()- Parameters:
getThirdPartyFirewallAssociationStatusRequest- AConsumerthat will call methods onGetThirdPartyFirewallAssociationStatusRequest.Builderto create a request.- Returns:
- Result of the GetThirdPartyFirewallAssociationStatus operation returned by the service.
- See Also:
-
getViolationDetails
default GetViolationDetailsResponse getViolationDetails(GetViolationDetailsRequest getViolationDetailsRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
- Parameters:
getViolationDetailsRequest-- Returns:
- Result of the GetViolationDetails operation returned by the service.
- See Also:
-
getViolationDetails
default GetViolationDetailsResponse getViolationDetails(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
This is a convenience which creates an instance of the
GetViolationDetailsRequest.Builderavoiding the need to create one manually viaGetViolationDetailsRequest.builder()- Parameters:
getViolationDetailsRequest- AConsumerthat will call methods onGetViolationDetailsRequest.Builderto create a request.- Returns:
- Result of the GetViolationDetails operation returned by the service.
- See Also:
-
listAdminAccountsForOrganization
default ListAdminAccountsForOrganizationResponse listAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Returns a
AdminAccountsobject 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.
- Parameters:
listAdminAccountsForOrganizationRequest-- Returns:
- Result of the ListAdminAccountsForOrganization operation returned by the service.
- See Also:
-
listAdminAccountsForOrganization
default ListAdminAccountsForOrganizationResponse listAdminAccountsForOrganization(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Returns a
AdminAccountsobject 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.Builderavoiding the need to create one manually viaListAdminAccountsForOrganizationRequest.builder()- Parameters:
listAdminAccountsForOrganizationRequest- AConsumerthat will call methods onListAdminAccountsForOrganizationRequest.Builderto create a request.- Returns:
- Result of the ListAdminAccountsForOrganization operation returned by the service.
- See Also:
-
listAdminAccountsForOrganizationPaginator
default ListAdminAccountsForOrganizationIterable listAdminAccountsForOrganizationPaginator(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Returns a
AdminAccountsobject 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client.listAdminAccountsForOrganizationPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client .listAdminAccountsForOrganizationPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client.listAdminAccountsForOrganizationPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)operation.- Parameters:
listAdminAccountsForOrganizationRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAdminAccountsForOrganizationPaginator
default ListAdminAccountsForOrganizationIterable listAdminAccountsForOrganizationPaginator(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) throws InvalidOperationException, ResourceNotFoundException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Returns a
AdminAccountsobject 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client.listAdminAccountsForOrganizationPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client .listAdminAccountsForOrganizationPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAdminAccountsForOrganizationIterable responses = client.listAdminAccountsForOrganizationPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)operation.This is a convenience which creates an instance of the
ListAdminAccountsForOrganizationRequest.Builderavoiding the need to create one manually viaListAdminAccountsForOrganizationRequest.builder()- Parameters:
listAdminAccountsForOrganizationRequest- AConsumerthat will call methods onListAdminAccountsForOrganizationRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAdminsManagingAccount
default ListAdminsManagingAccountResponse listAdminsManagingAccount(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.
- Parameters:
listAdminsManagingAccountRequest-- Returns:
- Result of the ListAdminsManagingAccount operation returned by the service.
- See Also:
-
listAdminsManagingAccount
default ListAdminsManagingAccountResponse listAdminsManagingAccount(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaListAdminsManagingAccountRequest.builder()- Parameters:
listAdminsManagingAccountRequest- AConsumerthat will call methods onListAdminsManagingAccountRequest.Builderto create a request.- Returns:
- Result of the ListAdminsManagingAccount operation returned by the service.
- See Also:
-
listAdminsManagingAccountPaginator
default ListAdminsManagingAccountIterable listAdminsManagingAccountPaginator(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client.listAdminsManagingAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client .listAdminsManagingAccountPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client.listAdminsManagingAccountPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)operation.- Parameters:
listAdminsManagingAccountRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAdminsManagingAccountPaginator
default ListAdminsManagingAccountIterable listAdminsManagingAccountPaginator(Consumer<ListAdminsManagingAccountRequest.Builder> listAdminsManagingAccountRequest) throws ResourceNotFoundException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client.listAdminsManagingAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client .listAdminsManagingAccountPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAdminsManagingAccountIterable responses = client.listAdminsManagingAccountPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)operation.This is a convenience which creates an instance of the
ListAdminsManagingAccountRequest.Builderavoiding the need to create one manually viaListAdminsManagingAccountRequest.builder()- Parameters:
listAdminsManagingAccountRequest- AConsumerthat will call methods onListAdminsManagingAccountRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppsLists
default ListAppsListsResponse listAppsLists(ListAppsListsRequest listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
AppsListDataSummaryobjects.- Parameters:
listAppsListsRequest-- Returns:
- Result of the ListAppsLists operation returned by the service.
- See Also:
-
listAppsLists
default ListAppsListsResponse listAppsLists(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
AppsListDataSummaryobjects.
This is a convenience which creates an instance of the
ListAppsListsRequest.Builderavoiding the need to create one manually viaListAppsListsRequest.builder()- Parameters:
listAppsListsRequest- AConsumerthat will call methods onListAppsListsRequest.Builderto create a request.- Returns:
- Result of the ListAppsLists operation returned by the service.
- See Also:
-
listAppsListsPaginator
default ListAppsListsIterable listAppsListsPaginator(ListAppsListsRequest listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
AppsListDataSummaryobjects.
This is a variant of
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAppsListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)operation.- Parameters:
listAppsListsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppsListsPaginator
default ListAppsListsIterable listAppsListsPaginator(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
AppsListDataSummaryobjects.
This is a variant of
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListAppsListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListAppsListsIterable responses = client.listAppsListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)operation.This is a convenience which creates an instance of the
ListAppsListsRequest.Builderavoiding the need to create one manually viaListAppsListsRequest.builder()- Parameters:
listAppsListsRequest- AConsumerthat will call methods onListAppsListsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listComplianceStatus
default ListComplianceStatusResponse listComplianceStatus(ListComplianceStatusRequest listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicyComplianceStatusobjects. UsePolicyComplianceStatusto get a summary of which member accounts are protected by the specified policy.- Parameters:
listComplianceStatusRequest-- Returns:
- Result of the ListComplianceStatus operation returned by the service.
- See Also:
-
listComplianceStatus
default ListComplianceStatusResponse listComplianceStatus(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicyComplianceStatusobjects. UsePolicyComplianceStatusto get a summary of which member accounts are protected by the specified policy.
This is a convenience which creates an instance of the
ListComplianceStatusRequest.Builderavoiding the need to create one manually viaListComplianceStatusRequest.builder()- Parameters:
listComplianceStatusRequest- AConsumerthat will call methods onListComplianceStatusRequest.Builderto create a request.- Returns:
- Result of the ListComplianceStatus operation returned by the service.
- See Also:
-
listComplianceStatusPaginator
default ListComplianceStatusIterable listComplianceStatusPaginator(ListComplianceStatusRequest listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicyComplianceStatusobjects. UsePolicyComplianceStatusto get a summary of which member accounts are protected by the specified policy.
This is a variant of
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client .listComplianceStatusPaginator(request); for (software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)operation.- Parameters:
listComplianceStatusRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listComplianceStatusPaginator
default ListComplianceStatusIterable listComplianceStatusPaginator(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicyComplianceStatusobjects. UsePolicyComplianceStatusto get a summary of which member accounts are protected by the specified policy.
This is a variant of
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client .listComplianceStatusPaginator(request); for (software.amazon.awssdk.services.fms.model.ListComplianceStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListComplianceStatusIterable responses = client.listComplianceStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)operation.This is a convenience which creates an instance of the
ListComplianceStatusRequest.Builderavoiding the need to create one manually viaListComplianceStatusRequest.builder()- Parameters:
listComplianceStatusRequest- AConsumerthat will call methods onListComplianceStatusRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoveredResources
default ListDiscoveredResourcesResponse listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
- Parameters:
listDiscoveredResourcesRequest-- Returns:
- Result of the ListDiscoveredResources operation returned by the service.
- See Also:
-
listDiscoveredResources
default ListDiscoveredResourcesResponse listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaListDiscoveredResourcesRequest.builder()- Parameters:
listDiscoveredResourcesRequest- AConsumerthat will call methods onListDiscoveredResourcesRequest.Builderto create a request.- Returns:
- Result of the ListDiscoveredResources operation returned by the service.
- See Also:
-
listMemberAccounts
default ListMemberAccountsResponse listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns a
MemberAccountsobject 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.
- Parameters:
listMemberAccountsRequest-- Returns:
- Result of the ListMemberAccounts operation returned by the service.
- See Also:
-
listMemberAccounts
default ListMemberAccountsResponse listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns a
MemberAccountsobject 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.Builderavoiding the need to create one manually viaListMemberAccountsRequest.builder()- Parameters:
listMemberAccountsRequest- AConsumerthat will call methods onListMemberAccountsRequest.Builderto create a request.- Returns:
- Result of the ListMemberAccounts operation returned by the service.
- See Also:
-
listMemberAccountsPaginator
default ListMemberAccountsIterable listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns a
MemberAccountsobject 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client .listMemberAccountsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest)operation.- Parameters:
listMemberAccountsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemberAccountsPaginator
default ListMemberAccountsIterable listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns a
MemberAccountsobject 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 iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client .listMemberAccountsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListMemberAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest)operation.This is a convenience which creates an instance of the
ListMemberAccountsRequest.Builderavoiding the need to create one manually viaListMemberAccountsRequest.builder()- Parameters:
listMemberAccountsRequest- AConsumerthat will call methods onListMemberAccountsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicySummaryobjects.- Parameters:
listPoliciesRequest-- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicySummaryobjects.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicySummaryobjects.
This is a variant of
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); for (software.amazon.awssdk.services.fms.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws ResourceNotFoundException, InvalidOperationException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
PolicySummaryobjects.
This is a variant of
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); for (software.amazon.awssdk.services.fms.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)operation.This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProtocolsLists
default ListProtocolsListsResponse listProtocolsLists(ListProtocolsListsRequest listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ProtocolsListDataSummaryobjects.- Parameters:
listProtocolsListsRequest-- Returns:
- Result of the ListProtocolsLists operation returned by the service.
- See Also:
-
listProtocolsLists
default ListProtocolsListsResponse listProtocolsLists(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ProtocolsListDataSummaryobjects.
This is a convenience which creates an instance of the
ListProtocolsListsRequest.Builderavoiding the need to create one manually viaListProtocolsListsRequest.builder()- Parameters:
listProtocolsListsRequest- AConsumerthat will call methods onListProtocolsListsRequest.Builderto create a request.- Returns:
- Result of the ListProtocolsLists operation returned by the service.
- See Also:
-
listProtocolsListsPaginator
default ListProtocolsListsIterable listProtocolsListsPaginator(ListProtocolsListsRequest listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ProtocolsListDataSummaryobjects.
This is a variant of
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client .listProtocolsListsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)operation.- Parameters:
listProtocolsListsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProtocolsListsPaginator
default ListProtocolsListsIterable listProtocolsListsPaginator(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ProtocolsListDataSummaryobjects.
This is a variant of
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client .listProtocolsListsPaginator(request); for (software.amazon.awssdk.services.fms.model.ListProtocolsListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListProtocolsListsIterable responses = client.listProtocolsListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)operation.This is a convenience which creates an instance of the
ListProtocolsListsRequest.Builderavoiding the need to create one manually viaListProtocolsListsRequest.builder()- Parameters:
listProtocolsListsRequest- AConsumerthat will call methods onListProtocolsListsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceSetResources
default ListResourceSetResourcesResponse listResourceSetResources(ListResourceSetResourcesRequest listResourceSetResourcesRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Returns an array of resources that are currently associated to a resource set.
- Parameters:
listResourceSetResourcesRequest-- Returns:
- Result of the ListResourceSetResources operation returned by the service.
- See Also:
-
listResourceSetResources
default ListResourceSetResourcesResponse listResourceSetResources(Consumer<ListResourceSetResourcesRequest.Builder> listResourceSetResourcesRequest) throws InvalidOperationException, InternalErrorException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, FmsException Returns an array of resources that are currently associated to a resource set.
This is a convenience which creates an instance of the
ListResourceSetResourcesRequest.Builderavoiding the need to create one manually viaListResourceSetResourcesRequest.builder()- Parameters:
listResourceSetResourcesRequest- AConsumerthat will call methods onListResourceSetResourcesRequest.Builderto create a request.- Returns:
- Result of the ListResourceSetResources operation returned by the service.
- See Also:
-
listResourceSets
default ListResourceSetsResponse listResourceSets(ListResourceSetsRequest listResourceSetsRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ResourceSetSummaryobjects.- Parameters:
listResourceSetsRequest-- Returns:
- Result of the ListResourceSets operation returned by the service.
- See Also:
-
listResourceSets
default ListResourceSetsResponse listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Returns an array of
ResourceSetSummaryobjects.
This is a convenience which creates an instance of the
ListResourceSetsRequest.Builderavoiding the need to create one manually viaListResourceSetsRequest.builder()- Parameters:
listResourceSetsRequest- AConsumerthat will call methods onListResourceSetsRequest.Builderto create a request.- Returns:
- Result of the ListResourceSets operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Retrieves the list of tags for the specified Amazon Web Services resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Retrieves the list of tags for the specified Amazon Web Services resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listThirdPartyFirewallFirewallPolicies
default ListThirdPartyFirewallFirewallPoliciesResponse listThirdPartyFirewallFirewallPolicies(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest-- Returns:
- Result of the ListThirdPartyFirewallFirewallPolicies operation returned by the service.
- See Also:
-
listThirdPartyFirewallFirewallPolicies
default ListThirdPartyFirewallFirewallPoliciesResponse listThirdPartyFirewallFirewallPolicies(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a convenience which creates an instance of the
ListThirdPartyFirewallFirewallPoliciesRequest.Builderavoiding the need to create one manually viaListThirdPartyFirewallFirewallPoliciesRequest.builder()- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest- AConsumerthat will call methods onListThirdPartyFirewallFirewallPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListThirdPartyFirewallFirewallPolicies operation returned by the service.
- See Also:
-
listThirdPartyFirewallFirewallPoliciesPaginator
default ListThirdPartyFirewallFirewallPoliciesIterable listThirdPartyFirewallFirewallPoliciesPaginator(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client .listThirdPartyFirewallFirewallPoliciesPaginator(request); for (software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)operation.- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThirdPartyFirewallFirewallPoliciesPaginator
default ListThirdPartyFirewallFirewallPoliciesIterable listThirdPartyFirewallFirewallPoliciesPaginator(Consumer<ListThirdPartyFirewallFirewallPoliciesRequest.Builder> listThirdPartyFirewallFirewallPoliciesRequest) throws InvalidOperationException, InvalidInputException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
This is a variant of
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client .listThirdPartyFirewallFirewallPoliciesPaginator(request); for (software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fms.paginators.ListThirdPartyFirewallFirewallPoliciesIterable responses = client.listThirdPartyFirewallFirewallPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)operation.This is a convenience which creates an instance of the
ListThirdPartyFirewallFirewallPoliciesRequest.Builderavoiding the need to create one manually viaListThirdPartyFirewallFirewallPoliciesRequest.builder()- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest- AConsumerthat will call methods onListThirdPartyFirewallFirewallPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putAdminAccount
default PutAdminAccountResponse putAdminAccount(PutAdminAccountRequest putAdminAccountRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException 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.
- Parameters:
putAdminAccountRequest-- Returns:
- Result of the PutAdminAccount operation returned by the service.
- See Also:
-
putAdminAccount
default PutAdminAccountResponse putAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest) throws InvalidOperationException, InvalidInputException, InternalErrorException, LimitExceededException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaPutAdminAccountRequest.builder()- Parameters:
putAdminAccountRequest- AConsumerthat will call methods onPutAdminAccountRequest.Builderto create a request.- Returns:
- Result of the PutAdminAccount operation returned by the service.
- See Also:
-
putAppsList
default PutAppsListResponse putAppsList(PutAppsListRequest putAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager applications list.
- Parameters:
putAppsListRequest-- Returns:
- Result of the PutAppsList operation returned by the service.
- See Also:
-
putAppsList
default PutAppsListResponse putAppsList(Consumer<PutAppsListRequest.Builder> putAppsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager applications list.
This is a convenience which creates an instance of the
PutAppsListRequest.Builderavoiding the need to create one manually viaPutAppsListRequest.builder()- Parameters:
putAppsListRequest- AConsumerthat will call methods onPutAppsListRequest.Builderto create a request.- Returns:
- Result of the PutAppsList operation returned by the service.
- See Also:
-
putNotificationChannel
default PutNotificationChannelResponse putNotificationChannel(PutNotificationChannelRequest putNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the
SnsRoleNameto publish SNS logs. If theSnsRoleNameprovided is a role other than theAWSServiceRoleForFMSservice-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principalfms.amazonaws.comto assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.- Parameters:
putNotificationChannelRequest-- Returns:
- Result of the PutNotificationChannel operation returned by the service.
- See Also:
-
putNotificationChannel
default PutNotificationChannelResponse putNotificationChannel(Consumer<PutNotificationChannelRequest.Builder> putNotificationChannelRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the
SnsRoleNameto publish SNS logs. If theSnsRoleNameprovided is a role other than theAWSServiceRoleForFMSservice-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principalfms.amazonaws.comto 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.Builderavoiding the need to create one manually viaPutNotificationChannelRequest.builder()- Parameters:
putNotificationChannelRequest- AConsumerthat will call methods onPutNotificationChannelRequest.Builderto create a request.- Returns:
- Result of the PutNotificationChannel operation returned by the service.
- See Also:
-
putPolicy
default PutPolicyResponse putPolicy(PutPolicyRequest putPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager policy.
A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.
If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.
Firewall Manager provides the following types of policies:
-
Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources.
-
Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization.
-
Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs.
-
DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs.
-
Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace.
-
Palo Alto Networks Cloud NGFW policy - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs.
-
Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
-
- Parameters:
putPolicyRequest-- Returns:
- Result of the PutPolicy operation returned by the service.
- See Also:
-
-
putPolicy
default PutPolicyResponse putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, InvalidTypeException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager policy.
A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.
If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.
Firewall Manager provides the following types of policies:
-
Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources.
-
Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization.
-
Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs.
-
DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs.
-
Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace.
-
Palo Alto Networks Cloud NGFW policy - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs.
-
Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
-
This is a convenience which creates an instance of the
PutPolicyRequest.Builderavoiding the need to create one manually viaPutPolicyRequest.builder()- Parameters:
putPolicyRequest- AConsumerthat will call methods onPutPolicyRequest.Builderto create a request.- Returns:
- Result of the PutPolicy operation returned by the service.
- See Also:
-
-
putProtocolsList
default PutProtocolsListResponse putProtocolsList(PutProtocolsListRequest putProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager protocols list.
- Parameters:
putProtocolsListRequest-- Returns:
- Result of the PutProtocolsList operation returned by the service.
- See Also:
-
putProtocolsList
default PutProtocolsListResponse putProtocolsList(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest) throws ResourceNotFoundException, InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException Creates an Firewall Manager protocols list.
This is a convenience which creates an instance of the
PutProtocolsListRequest.Builderavoiding the need to create one manually viaPutProtocolsListRequest.builder()- Parameters:
putProtocolsListRequest- AConsumerthat will call methods onPutProtocolsListRequest.Builderto create a request.- Returns:
- Result of the PutProtocolsList operation returned by the service.
- See Also:
-
putResourceSet
default PutResourceSetResponse putResourceSet(PutResourceSetRequest putResourceSetRequest) throws InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.
- Parameters:
putResourceSetRequest-- Returns:
- Result of the PutResourceSet operation returned by the service.
- See Also:
-
putResourceSet
default PutResourceSetResponse putResourceSet(Consumer<PutResourceSetRequest.Builder> putResourceSetRequest) throws InvalidOperationException, InvalidInputException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, FmsException 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.Builderavoiding the need to create one manually viaPutResourceSetRequest.builder()- Parameters:
putResourceSetRequest- AConsumerthat will call methods onPutResourceSetRequest.Builderto create a request.- Returns:
- Result of the PutResourceSet operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Adds one or more tags to an Amazon Web Services resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, LimitExceededException, AwsServiceException, SdkClientException, FmsException Adds one or more tags to an Amazon Web Services resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Removes one or more tags from an Amazon Web Services resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InvalidOperationException, InternalErrorException, InvalidInputException, AwsServiceException, SdkClientException, FmsException Removes one or more tags from an Amazon Web Services resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
create
Create aFmsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aFmsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-