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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateAdminAccountResponse
associateAdminAccount
(Consumer<AssociateAdminAccountRequest.Builder> associateAdminAccountRequest) Sets a Firewall Manager default administrator account.default AssociateAdminAccountResponse
associateAdminAccount
(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 BatchAssociateResourceResponse
batchAssociateResource
(Consumer<BatchAssociateResourceRequest.Builder> batchAssociateResourceRequest) Associate resources to a Firewall Manager resource set.default BatchAssociateResourceResponse
batchAssociateResource
(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 FmsClientBuilder
builder()
Create a builder that can be used to configure and create aFmsClient
.static FmsClient
create()
Create aFmsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default DeleteAppsListResponse
deleteAppsList
(Consumer<DeleteAppsListRequest.Builder> deleteAppsListRequest) Permanently deletes an Firewall Manager applications list.default DeleteAppsListResponse
deleteAppsList
(DeleteAppsListRequest deleteAppsListRequest) Permanently deletes an Firewall Manager applications list.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 DeletePolicyResponse
deletePolicy
(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Permanently deletes an Firewall Manager policy.default DeletePolicyResponse
deletePolicy
(DeletePolicyRequest deletePolicyRequest) Permanently deletes an Firewall Manager policy.default DeleteProtocolsListResponse
deleteProtocolsList
(Consumer<DeleteProtocolsListRequest.Builder> deleteProtocolsListRequest) Permanently deletes an Firewall Manager protocols list.default DeleteProtocolsListResponse
deleteProtocolsList
(DeleteProtocolsListRequest deleteProtocolsListRequest) Permanently deletes an Firewall Manager protocols list.default DeleteResourceSetResponse
deleteResourceSet
(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) Deletes the specified ResourceSet.default DeleteResourceSetResponse
deleteResourceSet
(DeleteResourceSetRequest deleteResourceSetRequest) Deletes the specified ResourceSet.default DisassociateAdminAccountResponse
disassociateAdminAccount
(Consumer<DisassociateAdminAccountRequest.Builder> disassociateAdminAccountRequest) Disassociates an Firewall Manager administrator account.default DisassociateAdminAccountResponse
disassociateAdminAccount
(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 GetAdminAccountResponse
getAdminAccount
(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.default GetAdminAccountResponse
getAdminAccount
(GetAdminAccountRequest getAdminAccountRequest) Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.default GetAdminScopeResponse
getAdminScope
(Consumer<GetAdminScopeRequest.Builder> getAdminScopeRequest) Returns information about the specified account's administrative scope.default GetAdminScopeResponse
getAdminScope
(GetAdminScopeRequest getAdminScopeRequest) Returns information about the specified account's administrative scope.default GetAppsListResponse
getAppsList
(Consumer<GetAppsListRequest.Builder> getAppsListRequest) Returns information about the specified Firewall Manager applications list.default GetAppsListResponse
getAppsList
(GetAppsListRequest getAppsListRequest) Returns information about the specified Firewall Manager applications list.default GetComplianceDetailResponse
getComplianceDetail
(Consumer<GetComplianceDetailRequest.Builder> getComplianceDetailRequest) Returns detailed compliance information about the specified member account.default GetComplianceDetailResponse
getComplianceDetail
(GetComplianceDetailRequest getComplianceDetailRequest) Returns detailed compliance information about the specified member account.default GetNotificationChannelResponse
getNotificationChannel
(Consumer<GetNotificationChannelRequest.Builder> getNotificationChannelRequest) Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.default GetNotificationChannelResponse
getNotificationChannel
(GetNotificationChannelRequest getNotificationChannelRequest) Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.default GetPolicyResponse
getPolicy
(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Returns information about the specified Firewall Manager policy.default GetPolicyResponse
getPolicy
(GetPolicyRequest getPolicyRequest) Returns information about the specified Firewall Manager policy.default GetProtectionStatusResponse
getProtectionStatus
(Consumer<GetProtectionStatusRequest.Builder> getProtectionStatusRequest) If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.default GetProtectionStatusResponse
getProtectionStatus
(GetProtectionStatusRequest getProtectionStatusRequest) If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.default GetProtocolsListResponse
getProtocolsList
(Consumer<GetProtocolsListRequest.Builder> getProtocolsListRequest) Returns information about the specified Firewall Manager protocols list.default GetProtocolsListResponse
getProtocolsList
(GetProtocolsListRequest getProtocolsListRequest) Returns information about the specified Firewall Manager protocols list.default GetResourceSetResponse
getResourceSet
(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) Gets information about a specific resource set.default GetResourceSetResponse
getResourceSet
(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 GetViolationDetailsResponse
getViolationDetails
(Consumer<GetViolationDetailsRequest.Builder> getViolationDetailsRequest) Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.default GetViolationDetailsResponse
getViolationDetails
(GetViolationDetailsRequest getViolationDetailsRequest) Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.listAdminAccountsForOrganization
(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) Returns aAdminAccounts
object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminAccountsForOrganization
(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) Returns aAdminAccounts
object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.listAdminAccountsForOrganizationPaginator
(Consumer<ListAdminAccountsForOrganizationRequest.Builder> listAdminAccountsForOrganizationRequest) This is a variant oflistAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation.listAdminAccountsForOrganizationPaginator
(ListAdminAccountsForOrganizationRequest listAdminAccountsForOrganizationRequest) This is a variant oflistAdminAccountsForOrganization(software.amazon.awssdk.services.fms.model.ListAdminAccountsForOrganizationRequest)
operation.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) This is a variant oflistAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation.listAdminsManagingAccountPaginator
(ListAdminsManagingAccountRequest listAdminsManagingAccountRequest) This is a variant oflistAdminsManagingAccount(software.amazon.awssdk.services.fms.model.ListAdminsManagingAccountRequest)
operation.default ListAppsListsResponse
listAppsLists
(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) Returns an array ofAppsListDataSummary
objects.default ListAppsListsResponse
listAppsLists
(ListAppsListsRequest listAppsListsRequest) Returns an array ofAppsListDataSummary
objects.default ListAppsListsIterable
listAppsListsPaginator
(Consumer<ListAppsListsRequest.Builder> listAppsListsRequest) This is a variant oflistAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)
operation.default ListAppsListsIterable
listAppsListsPaginator
(ListAppsListsRequest listAppsListsRequest) This is a variant oflistAppsLists(software.amazon.awssdk.services.fms.model.ListAppsListsRequest)
operation.default ListComplianceStatusResponse
listComplianceStatus
(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) Returns an array ofPolicyComplianceStatus
objects.default ListComplianceStatusResponse
listComplianceStatus
(ListComplianceStatusRequest listComplianceStatusRequest) Returns an array ofPolicyComplianceStatus
objects.default ListComplianceStatusIterable
listComplianceStatusPaginator
(Consumer<ListComplianceStatusRequest.Builder> listComplianceStatusRequest) This is a variant oflistComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)
operation.default ListComplianceStatusIterable
listComplianceStatusPaginator
(ListComplianceStatusRequest listComplianceStatusRequest) This is a variant oflistComplianceStatus(software.amazon.awssdk.services.fms.model.ListComplianceStatusRequest)
operation.default ListDiscoveredResourcesResponse
listDiscoveredResources
(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) Returns an array of resources in the organization's accounts that are available to be associated with a resource set.default ListDiscoveredResourcesResponse
listDiscoveredResources
(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) Returns an array of resources in the organization's accounts that are available to be associated with a resource set.default ListMemberAccountsResponse
listMemberAccounts
(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) Returns aMemberAccounts
object that lists the member accounts in the administrator's Amazon Web Services organization.default ListMemberAccountsResponse
listMemberAccounts
(ListMemberAccountsRequest listMemberAccountsRequest) Returns aMemberAccounts
object that lists the member accounts in the administrator's Amazon Web Services organization.default ListMemberAccountsIterable
listMemberAccountsPaginator
(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) This is a variant oflistMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest)
operation.default ListMemberAccountsIterable
listMemberAccountsPaginator
(ListMemberAccountsRequest listMemberAccountsRequest) This is a variant oflistMemberAccounts(software.amazon.awssdk.services.fms.model.ListMemberAccountsRequest)
operation.default ListPoliciesResponse
listPolicies
(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Returns an array ofPolicySummary
objects.default ListPoliciesResponse
listPolicies
(ListPoliciesRequest listPoliciesRequest) Returns an array ofPolicySummary
objects.default ListPoliciesIterable
listPoliciesPaginator
(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)
operation.default ListPoliciesIterable
listPoliciesPaginator
(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.fms.model.ListPoliciesRequest)
operation.default ListProtocolsListsResponse
listProtocolsLists
(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) Returns an array ofProtocolsListDataSummary
objects.default ListProtocolsListsResponse
listProtocolsLists
(ListProtocolsListsRequest listProtocolsListsRequest) Returns an array ofProtocolsListDataSummary
objects.default ListProtocolsListsIterable
listProtocolsListsPaginator
(Consumer<ListProtocolsListsRequest.Builder> listProtocolsListsRequest) This is a variant oflistProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)
operation.default ListProtocolsListsIterable
listProtocolsListsPaginator
(ListProtocolsListsRequest listProtocolsListsRequest) This is a variant oflistProtocolsLists(software.amazon.awssdk.services.fms.model.ListProtocolsListsRequest)
operation.default ListResourceSetResourcesResponse
listResourceSetResources
(Consumer<ListResourceSetResourcesRequest.Builder> listResourceSetResourcesRequest) Returns an array of resources that are currently associated to a resource set.default ListResourceSetResourcesResponse
listResourceSetResources
(ListResourceSetResourcesRequest listResourceSetResourcesRequest) Returns an array of resources that are currently associated to a resource set.default ListResourceSetsResponse
listResourceSets
(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) Returns an array ofResourceSetSummary
objects.default ListResourceSetsResponse
listResourceSets
(ListResourceSetsRequest listResourceSetsRequest) Returns an array ofResourceSetSummary
objects.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of tags for the specified Amazon Web Services resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of tags for the specified Amazon Web Services resource.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) This is a variant oflistThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation.listThirdPartyFirewallFirewallPoliciesPaginator
(ListThirdPartyFirewallFirewallPoliciesRequest listThirdPartyFirewallFirewallPoliciesRequest) This is a variant oflistThirdPartyFirewallFirewallPolicies(software.amazon.awssdk.services.fms.model.ListThirdPartyFirewallFirewallPoliciesRequest)
operation.default PutAdminAccountResponse
putAdminAccount
(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest) Creates or updates an Firewall Manager administrator account.default PutAdminAccountResponse
putAdminAccount
(PutAdminAccountRequest putAdminAccountRequest) Creates or updates an Firewall Manager administrator account.default PutAppsListResponse
putAppsList
(Consumer<PutAppsListRequest.Builder> putAppsListRequest) Creates an Firewall Manager applications list.default PutAppsListResponse
putAppsList
(PutAppsListRequest putAppsListRequest) Creates an Firewall Manager applications list.default PutNotificationChannelResponse
putNotificationChannel
(Consumer<PutNotificationChannelRequest.Builder> putNotificationChannelRequest) Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.default PutNotificationChannelResponse
putNotificationChannel
(PutNotificationChannelRequest putNotificationChannelRequest) Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.default PutPolicyResponse
putPolicy
(Consumer<PutPolicyRequest.Builder> putPolicyRequest) Creates an Firewall Manager policy.default PutPolicyResponse
putPolicy
(PutPolicyRequest putPolicyRequest) Creates an Firewall Manager policy.default PutProtocolsListResponse
putProtocolsList
(Consumer<PutProtocolsListRequest.Builder> putProtocolsListRequest) Creates an Firewall Manager protocols list.default PutProtocolsListResponse
putProtocolsList
(PutProtocolsListRequest putProtocolsListRequest) Creates an Firewall Manager protocols list.default PutResourceSetResponse
putResourceSet
(Consumer<PutResourceSetRequest.Builder> putResourceSetRequest) Creates the resource set.default PutResourceSetResponse
putResourceSet
(PutResourceSetRequest putResourceSetRequest) Creates the resource set.default FmsServiceClientConfiguration
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to an Amazon Web Services resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds one or more tags to an Amazon Web Services resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from an Amazon Web Services resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from an Amazon Web Services resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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.Builder
avoiding the need to create one manually viaAssociateAdminAccountRequest.builder()
- Parameters:
associateAdminAccountRequest
- AConsumer
that will call methods onAssociateAdminAccountRequest.Builder
to 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.Builder
avoiding the need to create one manually viaAssociateThirdPartyFirewallRequest.builder()
- Parameters:
associateThirdPartyFirewallRequest
- AConsumer
that will call methods onAssociateThirdPartyFirewallRequest.Builder
to 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.Builder
avoiding the need to create one manually viaBatchAssociateResourceRequest.builder()
- Parameters:
batchAssociateResourceRequest
- AConsumer
that will call methods onBatchAssociateResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaBatchDisassociateResourceRequest.builder()
- Parameters:
batchDisassociateResourceRequest
- AConsumer
that will call methods onBatchDisassociateResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteAppsListRequest.builder()
- Parameters:
deleteAppsListRequest
- AConsumer
that will call methods onDeleteAppsListRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteNotificationChannelRequest.builder()
- Parameters:
deleteNotificationChannelRequest
- AConsumer
that will call methods onDeleteNotificationChannelRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeletePolicyRequest.builder()
- Parameters:
deletePolicyRequest
- AConsumer
that will call methods onDeletePolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteProtocolsListRequest.builder()
- Parameters:
deleteProtocolsListRequest
- AConsumer
that will call methods onDeleteProtocolsListRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteResourceSetRequest.builder()
- Parameters:
deleteResourceSetRequest
- AConsumer
that will call methods onDeleteResourceSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateAdminAccountRequest.builder()
- Parameters:
disassociateAdminAccountRequest
- AConsumer
that will call methods onDisassociateAdminAccountRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateThirdPartyFirewallRequest.builder()
- Parameters:
disassociateThirdPartyFirewallRequest
- AConsumer
that will call methods onDisassociateThirdPartyFirewallRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetAdminAccountRequest.builder()
- Parameters:
getAdminAccountRequest
- AConsumer
that will call methods onGetAdminAccountRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetAdminScopeRequest.builder()
- Parameters:
getAdminScopeRequest
- AConsumer
that will call methods onGetAdminScopeRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetAppsListRequest.builder()
- Parameters:
getAppsListRequest
- AConsumer
that will call methods onGetAppsListRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetComplianceDetailRequest.builder()
- Parameters:
getComplianceDetailRequest
- AConsumer
that will call methods onGetComplianceDetailRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNotificationChannelRequest.builder()
- Parameters:
getNotificationChannelRequest
- AConsumer
that will call methods onGetNotificationChannelRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetPolicyRequest.builder()
- Parameters:
getPolicyRequest
- AConsumer
that will call methods onGetPolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetProtectionStatusRequest.builder()
- Parameters:
getProtectionStatusRequest
- AConsumer
that will call methods onGetProtectionStatusRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetProtocolsListRequest.builder()
- Parameters:
getProtocolsListRequest
- AConsumer
that will call methods onGetProtocolsListRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetResourceSetRequest.builder()
- Parameters:
getResourceSetRequest
- AConsumer
that will call methods onGetResourceSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetThirdPartyFirewallAssociationStatusRequest.builder()
- Parameters:
getThirdPartyFirewallAssociationStatusRequest
- AConsumer
that will call methods onGetThirdPartyFirewallAssociationStatusRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetViolationDetailsRequest.builder()
- Parameters:
getViolationDetailsRequest
- AConsumer
that will call methods onGetViolationDetailsRequest.Builder
to 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
AdminAccounts
object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.This operation can be called only from the organization's management account.
- 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
AdminAccounts
object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.This operation can be called only from the organization's management account.
This is a convenience which creates an instance of the
ListAdminAccountsForOrganizationRequest.Builder
avoiding the need to create one manually viaListAdminAccountsForOrganizationRequest.builder()
- Parameters:
listAdminAccountsForOrganizationRequest
- AConsumer
that will call methods onListAdminAccountsForOrganizationRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAdminAccountsForOrganizationRequest.builder()
- Parameters:
listAdminAccountsForOrganizationRequest
- AConsumer
that will call methods onListAdminAccountsForOrganizationRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListAdminsManagingAccountRequest.builder()
- Parameters:
listAdminsManagingAccountRequest
- AConsumer
that will call methods onListAdminsManagingAccountRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAdminsManagingAccountRequest.builder()
- Parameters:
listAdminsManagingAccountRequest
- AConsumer
that will call methods onListAdminsManagingAccountRequest.Builder
to 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
AppsListDataSummary
objects.- 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
AppsListDataSummary
objects.
This is a convenience which creates an instance of the
ListAppsListsRequest.Builder
avoiding the need to create one manually viaListAppsListsRequest.builder()
- Parameters:
listAppsListsRequest
- AConsumer
that will call methods onListAppsListsRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppsListsRequest.builder()
- Parameters:
listAppsListsRequest
- AConsumer
that will call methods onListAppsListsRequest.Builder
to 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
PolicyComplianceStatus
objects. UsePolicyComplianceStatus
to 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
PolicyComplianceStatus
objects. UsePolicyComplianceStatus
to get a summary of which member accounts are protected by the specified policy.
This is a convenience which creates an instance of the
ListComplianceStatusRequest.Builder
avoiding the need to create one manually viaListComplianceStatusRequest.builder()
- Parameters:
listComplianceStatusRequest
- AConsumer
that will call methods onListComplianceStatusRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListComplianceStatusRequest.builder()
- Parameters:
listComplianceStatusRequest
- AConsumer
that will call methods onListComplianceStatusRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListDiscoveredResourcesRequest.builder()
- Parameters:
listDiscoveredResourcesRequest
- AConsumer
that will call methods onListDiscoveredResourcesRequest.Builder
to 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
MemberAccounts
object that lists the member accounts in the administrator's Amazon Web Services organization.Either an Firewall Manager administrator or the organization's management account can make this request.
- 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
MemberAccounts
object that lists the member accounts in the administrator's Amazon Web Services organization.Either an Firewall Manager administrator or the organization's management account can make this request.
This is a convenience which creates an instance of the
ListMemberAccountsRequest.Builder
avoiding the need to create one manually viaListMemberAccountsRequest.builder()
- Parameters:
listMemberAccountsRequest
- AConsumer
that will call methods onListMemberAccountsRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListMemberAccountsRequest.builder()
- Parameters:
listMemberAccountsRequest
- AConsumer
that will call methods onListMemberAccountsRequest.Builder
to 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
PolicySummary
objects.- 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
PolicySummary
objects.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builder
avoiding the need to create one manually viaListPoliciesRequest.builder()
- Parameters:
listPoliciesRequest
- AConsumer
that will call methods onListPoliciesRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPoliciesRequest.builder()
- Parameters:
listPoliciesRequest
- AConsumer
that will call methods onListPoliciesRequest.Builder
to 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
ProtocolsListDataSummary
objects.- 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
ProtocolsListDataSummary
objects.
This is a convenience which creates an instance of the
ListProtocolsListsRequest.Builder
avoiding the need to create one manually viaListProtocolsListsRequest.builder()
- Parameters:
listProtocolsListsRequest
- AConsumer
that will call methods onListProtocolsListsRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListProtocolsListsRequest.builder()
- Parameters:
listProtocolsListsRequest
- AConsumer
that will call methods onListProtocolsListsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListResourceSetResourcesRequest.builder()
- Parameters:
listResourceSetResourcesRequest
- AConsumer
that will call methods onListResourceSetResourcesRequest.Builder
to 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
ResourceSetSummary
objects.- 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
ResourceSetSummary
objects.
This is a convenience which creates an instance of the
ListResourceSetsRequest.Builder
avoiding the need to create one manually viaListResourceSetsRequest.builder()
- Parameters:
listResourceSetsRequest
- AConsumer
that will call methods onListResourceSetsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListThirdPartyFirewallFirewallPoliciesRequest.builder()
- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest
- AConsumer
that will call methods onListThirdPartyFirewallFirewallPoliciesRequest.Builder
to 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 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 Streamsoftware.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 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListThirdPartyFirewallFirewallPoliciesRequest.builder()
- Parameters:
listThirdPartyFirewallFirewallPoliciesRequest
- AConsumer
that will call methods onListThirdPartyFirewallFirewallPoliciesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutAdminAccountRequest.builder()
- Parameters:
putAdminAccountRequest
- AConsumer
that will call methods onPutAdminAccountRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutAppsListRequest.builder()
- Parameters:
putAppsListRequest
- AConsumer
that will call methods onPutAppsListRequest.Builder
to 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
SnsRoleName
to publish SNS logs. If theSnsRoleName
provided is a role other than theAWSServiceRoleForFMS
service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principalfms.amazonaws.com
to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.- 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
SnsRoleName
to publish SNS logs. If theSnsRoleName
provided is a role other than theAWSServiceRoleForFMS
service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principalfms.amazonaws.com
to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.
This is a convenience which creates an instance of the
PutNotificationChannelRequest.Builder
avoiding the need to create one manually viaPutNotificationChannelRequest.builder()
- Parameters:
putNotificationChannelRequest
- AConsumer
that will call methods onPutNotificationChannelRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutPolicyRequest.builder()
- Parameters:
putPolicyRequest
- AConsumer
that will call methods onPutPolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutProtocolsListRequest.builder()
- Parameters:
putProtocolsListRequest
- AConsumer
that will call methods onPutProtocolsListRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutResourceSetRequest.builder()
- Parameters:
putResourceSetRequest
- AConsumer
that will call methods onPutResourceSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
create
Create aFmsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aFmsClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-