Interface NetworkSecurityManagerAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
AWS Network Security Manager helps you centrally configure and deploy network security protections across your organization. Supported protections include AWS WAF and AWS Shield Advanced. This centralized approach reduces the overhead of managing protections individually across accounts and ensures consistent security at scale.
You define reusable rules and templates, then combine them into policies. Next, you select the accounts and resources to protect with scopes and roll the protections out with deployments. For example, you can define a set of AWS WAF rules and group them into a policy. Then deploy that policy across all accounts in your organization with a single deployment.
This API reference describes the operations and data types for AWS Network Security Manager.
For conceptual information, tutorials, and guidance on writing rule configurations, see the AWS Network Security Manager Developer Guide. For the default quotas that apply to your account, see Quotas. For the service endpoints available in each Region, see AWS Network Security Manager endpoints and quotas in the AWS General Reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aNetworkSecurityManagerAsyncClient.create()Create aNetworkSecurityManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment.createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment.createDeploymentSnapshot(Consumer<CreateDeploymentSnapshotRequest.Builder> createDeploymentSnapshotRequest) Creates a snapshot of the current published version of the specified deployment.createDeploymentSnapshot(CreateDeploymentSnapshotRequest createDeploymentSnapshotRequest) Creates a snapshot of the current published version of the specified deployment.default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a policy.default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) Creates a policy.createPolicySnapshot(Consumer<CreatePolicySnapshotRequest.Builder> createPolicySnapshotRequest) Creates a snapshot of the current published version of the specified policy.createPolicySnapshot(CreatePolicySnapshotRequest createPolicySnapshotRequest) Creates a snapshot of the current published version of the specified policy.default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) Creates a rule.default CompletableFuture<CreateRuleResponse> createRule(CreateRuleRequest createRuleRequest) Creates a rule.createRuleSnapshot(Consumer<CreateRuleSnapshotRequest.Builder> createRuleSnapshotRequest) Creates a snapshot of the current published version of the specified rule.createRuleSnapshot(CreateRuleSnapshotRequest createRuleSnapshotRequest) Creates a snapshot of the current published version of the specified rule.default CompletableFuture<CreateScopeResponse> createScope(Consumer<CreateScopeRequest.Builder> createScopeRequest) Creates a scope.default CompletableFuture<CreateScopeResponse> createScope(CreateScopeRequest createScopeRequest) Creates a scope.createScopeSnapshot(Consumer<CreateScopeSnapshotRequest.Builder> createScopeSnapshotRequest) Creates a snapshot of the current published version of the specified scope.createScopeSnapshot(CreateScopeSnapshotRequest createScopeSnapshotRequest) Creates a snapshot of the current published version of the specified scope.default CompletableFuture<CreateTemplateResponse> createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest) Creates a template.default CompletableFuture<CreateTemplateResponse> createTemplate(CreateTemplateRequest createTemplateRequest) Creates a template.createTemplateSnapshot(Consumer<CreateTemplateSnapshotRequest.Builder> createTemplateSnapshotRequest) Creates a snapshot of the current published version of the specified template.createTemplateSnapshot(CreateTemplateSnapshotRequest createTemplateSnapshotRequest) Creates a snapshot of the current published version of the specified template.deleteAdminAccount(Consumer<DeleteAdminAccountRequest.Builder> deleteAdminAccountRequest) Removes the specified AWS Network Security Manager administrator account.deleteAdminAccount(DeleteAdminAccountRequest deleteAdminAccountRequest) Removes the specified AWS Network Security Manager administrator account.deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes the specified deployment.deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes the specified deployment.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes the specified policy.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes the specified policy.default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) Deletes the specified rule.default CompletableFuture<DeleteRuleResponse> deleteRule(DeleteRuleRequest deleteRuleRequest) Deletes the specified rule.default CompletableFuture<DeleteScopeResponse> deleteScope(Consumer<DeleteScopeRequest.Builder> deleteScopeRequest) Deletes the specified scope.default CompletableFuture<DeleteScopeResponse> deleteScope(DeleteScopeRequest deleteScopeRequest) Deletes the specified scope.default CompletableFuture<DeleteTemplateResponse> deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest) Deletes the specified template.default CompletableFuture<DeleteTemplateResponse> deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) Deletes the specified template.generateRuleConfiguration(Consumer<GenerateRuleConfigurationRequest.Builder> generateRuleConfigurationRequest) Generates a rule configuration from a natural-language description.generateRuleConfiguration(GenerateRuleConfigurationRequest generateRuleConfigurationRequest) Generates a rule configuration from a natural-language description.default CompletableFuture<GetAdminAccountResponse> getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) Retrieves the details of the specified AWS Network Security Manager administrator account.default CompletableFuture<GetAdminAccountResponse> getAdminAccount(GetAdminAccountRequest getAdminAccountRequest) Retrieves the details of the specified AWS Network Security Manager administrator account.default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Retrieves the details of the specified deployment, including coverage information and any warnings.default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Retrieves the details of the specified deployment, including coverage information and any warnings.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves the details of the specified policy.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest) Retrieves the details of the specified policy.default CompletableFuture<GetRuleResponse> getRule(Consumer<GetRuleRequest.Builder> getRuleRequest) Retrieves the details of the specified rule.default CompletableFuture<GetRuleResponse> getRule(GetRuleRequest getRuleRequest) Retrieves the details of the specified rule.default CompletableFuture<GetScopeResponse> getScope(Consumer<GetScopeRequest.Builder> getScopeRequest) Retrieves the details of the specified scope.default CompletableFuture<GetScopeResponse> getScope(GetScopeRequest getScopeRequest) Retrieves the details of the specified scope.default CompletableFuture<GetTemplateResponse> getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest) Retrieves the details of the specified template.default CompletableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest getTemplateRequest) Retrieves the details of the specified template.listAdminAccounts(Consumer<ListAdminAccountsRequest.Builder> listAdminAccountsRequest) Lists the AWS Network Security Manager administrator accounts in the organization.listAdminAccounts(ListAdminAccountsRequest listAdminAccountsRequest) Lists the AWS Network Security Manager administrator accounts in the organization.default ListAdminAccountsPublisherlistAdminAccountsPaginator(Consumer<ListAdminAccountsRequest.Builder> listAdminAccountsRequest) This is a variant oflistAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation.default ListAdminAccountsPublisherlistAdminAccountsPaginator(ListAdminAccountsRequest listAdminAccountsRequest) This is a variant oflistAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation.listAggregateResourceSynchronizationStatuses(Consumer<ListAggregateResourceSynchronizationStatusesRequest.Builder> listAggregateResourceSynchronizationStatusesRequest) Lists the aggregated synchronization statuses of resources across the deployments in your administrator account.listAggregateResourceSynchronizationStatuses(ListAggregateResourceSynchronizationStatusesRequest listAggregateResourceSynchronizationStatusesRequest) Lists the aggregated synchronization statuses of resources across the deployments in your administrator account.listAggregateResourceSynchronizationStatusesPaginator(Consumer<ListAggregateResourceSynchronizationStatusesRequest.Builder> listAggregateResourceSynchronizationStatusesRequest) listAggregateResourceSynchronizationStatusesPaginator(ListAggregateResourceSynchronizationStatusesRequest listAggregateResourceSynchronizationStatusesRequest) default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) Lists the deployments in the account.default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest) Lists the deployments in the account.listDeploymentSnapshots(Consumer<ListDeploymentSnapshotsRequest.Builder> listDeploymentSnapshotsRequest) Lists the snapshots of the specified deployment.listDeploymentSnapshots(ListDeploymentSnapshotsRequest listDeploymentSnapshotsRequest) Lists the snapshots of the specified deployment.default ListDeploymentSnapshotsPublisherlistDeploymentSnapshotsPaginator(Consumer<ListDeploymentSnapshotsRequest.Builder> listDeploymentSnapshotsRequest) This is a variant oflistDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation.default ListDeploymentSnapshotsPublisherlistDeploymentSnapshotsPaginator(ListDeploymentSnapshotsRequest listDeploymentSnapshotsRequest) This is a variant oflistDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation.default ListDeploymentsPublisherlistDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation.default ListDeploymentsPublisherlistDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation.default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists the policies in the account.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Lists the policies in the account.default ListPoliciesPublisherlistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesRequest)operation.default ListPoliciesPublisherlistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesRequest)operation.listPolicySnapshots(Consumer<ListPolicySnapshotsRequest.Builder> listPolicySnapshotsRequest) Lists the snapshots of the specified policy.listPolicySnapshots(ListPolicySnapshotsRequest listPolicySnapshotsRequest) Lists the snapshots of the specified policy.default ListPolicySnapshotsPublisherlistPolicySnapshotsPaginator(Consumer<ListPolicySnapshotsRequest.Builder> listPolicySnapshotsRequest) This is a variant oflistPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation.default ListPolicySnapshotsPublisherlistPolicySnapshotsPaginator(ListPolicySnapshotsRequest listPolicySnapshotsRequest) This is a variant oflistPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation.listResourceAssociations(Consumer<ListResourceAssociationsRequest.Builder> listResourceAssociationsRequest) Lists the resources associated with the specified resource.listResourceAssociations(ListResourceAssociationsRequest listResourceAssociationsRequest) Lists the resources associated with the specified resource.listResourceAssociationsPaginator(Consumer<ListResourceAssociationsRequest.Builder> listResourceAssociationsRequest) This is a variant oflistResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation.listResourceAssociationsPaginator(ListResourceAssociationsRequest listResourceAssociationsRequest) This is a variant oflistResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation.listResourceSynchronizationStatuses(Consumer<ListResourceSynchronizationStatusesRequest.Builder> listResourceSynchronizationStatusesRequest) Lists the synchronization statuses of the resources covered by the specified deployment.listResourceSynchronizationStatuses(ListResourceSynchronizationStatusesRequest listResourceSynchronizationStatusesRequest) Lists the synchronization statuses of the resources covered by the specified deployment.listResourceSynchronizationStatusesPaginator(Consumer<ListResourceSynchronizationStatusesRequest.Builder> listResourceSynchronizationStatusesRequest) listResourceSynchronizationStatusesPaginator(ListResourceSynchronizationStatusesRequest listResourceSynchronizationStatusesRequest) default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists the rules in the account.default CompletableFuture<ListRulesResponse> listRules(ListRulesRequest listRulesRequest) Lists the rules in the account.listRuleSnapshots(Consumer<ListRuleSnapshotsRequest.Builder> listRuleSnapshotsRequest) Lists the snapshots of the specified rule.listRuleSnapshots(ListRuleSnapshotsRequest listRuleSnapshotsRequest) Lists the snapshots of the specified rule.default ListRuleSnapshotsPublisherlistRuleSnapshotsPaginator(Consumer<ListRuleSnapshotsRequest.Builder> listRuleSnapshotsRequest) This is a variant oflistRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation.default ListRuleSnapshotsPublisherlistRuleSnapshotsPaginator(ListRuleSnapshotsRequest listRuleSnapshotsRequest) This is a variant oflistRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation.default ListRulesPublisherlistRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation.default ListRulesPublisherlistRulesPaginator(ListRulesRequest listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation.default CompletableFuture<ListScopesResponse> listScopes(Consumer<ListScopesRequest.Builder> listScopesRequest) Lists the scopes in the account.default CompletableFuture<ListScopesResponse> listScopes(ListScopesRequest listScopesRequest) Lists the scopes in the account.listScopeSnapshots(Consumer<ListScopeSnapshotsRequest.Builder> listScopeSnapshotsRequest) Lists the snapshots of the specified scope.listScopeSnapshots(ListScopeSnapshotsRequest listScopeSnapshotsRequest) Lists the snapshots of the specified scope.default ListScopeSnapshotsPublisherlistScopeSnapshotsPaginator(Consumer<ListScopeSnapshotsRequest.Builder> listScopeSnapshotsRequest) This is a variant oflistScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation.default ListScopeSnapshotsPublisherlistScopeSnapshotsPaginator(ListScopeSnapshotsRequest listScopeSnapshotsRequest) This is a variant oflistScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation.default ListScopesPublisherlistScopesPaginator(Consumer<ListScopesRequest.Builder> listScopesRequest) This is a variant oflistScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation.default ListScopesPublisherlistScopesPaginator(ListScopesRequest listScopesRequest) This is a variant oflistScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with the specified resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with the specified resource.default CompletableFuture<ListTemplatesResponse> listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) Lists the templates in the account.default CompletableFuture<ListTemplatesResponse> listTemplates(ListTemplatesRequest listTemplatesRequest) Lists the templates in the account.listTemplateSnapshots(Consumer<ListTemplateSnapshotsRequest.Builder> listTemplateSnapshotsRequest) Lists the snapshots of the specified template.listTemplateSnapshots(ListTemplateSnapshotsRequest listTemplateSnapshotsRequest) Lists the snapshots of the specified template.default ListTemplateSnapshotsPublisherlistTemplateSnapshotsPaginator(Consumer<ListTemplateSnapshotsRequest.Builder> listTemplateSnapshotsRequest) This is a variant oflistTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation.default ListTemplateSnapshotsPublisherlistTemplateSnapshotsPaginator(ListTemplateSnapshotsRequest listTemplateSnapshotsRequest) This is a variant oflistTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation.default ListTemplatesPublisherlistTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) This is a variant oflistTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation.default ListTemplatesPublisherlistTemplatesPaginator(ListTemplatesRequest listTemplatesRequest) This is a variant oflistTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation.default CompletableFuture<PutAdminAccountResponse> putAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest) Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.default CompletableFuture<PutAdminAccountResponse> putAdminAccount(PutAdminAccountRequest putAdminAccountRequest) Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites the specified tags on the given resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or overwrites the specified tags on the given resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the given resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the given resource.updateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) Updates the specified deployment.updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) Updates the specified deployment.default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates the specified policy.default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates the specified policy.default CompletableFuture<UpdateRuleResponse> updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates the specified rule.default CompletableFuture<UpdateRuleResponse> updateRule(UpdateRuleRequest updateRuleRequest) Updates the specified rule.default CompletableFuture<UpdateScopeResponse> updateScope(Consumer<UpdateScopeRequest.Builder> updateScopeRequest) Updates the specified scope.default CompletableFuture<UpdateScopeResponse> updateScope(UpdateScopeRequest updateScopeRequest) Updates the specified scope.default CompletableFuture<UpdateTemplateResponse> updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest) Updates the specified template.default CompletableFuture<UpdateTemplateResponse> updateTemplate(UpdateTemplateRequest updateTemplateRequest) Updates the specified template.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment. A deployment applies one or more policies to the accounts and resources selected by a scope. Use
isPublishedto create the deployment in published (ACTIVE) or draft (DRAFT) state. The response includes coverage information and any warnings about the deployment.- Parameters:
createDeploymentRequest-- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment. A deployment applies one or more policies to the accounts and resources selected by a scope. Use
isPublishedto create the deployment in published (ACTIVE) or draft (DRAFT) state. The response includes coverage information and any warnings about the deployment.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createDeploymentSnapshot
default CompletableFuture<CreateDeploymentSnapshotResponse> createDeploymentSnapshot(CreateDeploymentSnapshotRequest createDeploymentSnapshotRequest) Creates a snapshot of the current published version of the specified deployment.
- Parameters:
createDeploymentSnapshotRequest-- Returns:
- A Java Future containing the result of the CreateDeploymentSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createDeploymentSnapshot
default CompletableFuture<CreateDeploymentSnapshotResponse> createDeploymentSnapshot(Consumer<CreateDeploymentSnapshotRequest.Builder> createDeploymentSnapshotRequest) Creates a snapshot of the current published version of the specified deployment.
This is a convenience which creates an instance of the
CreateDeploymentSnapshotRequest.Builderavoiding the need to create one manually viaCreateDeploymentSnapshotRequest.builder()- Parameters:
createDeploymentSnapshotRequest- AConsumerthat will call methods onCreateDeploymentSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDeploymentSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createPolicy
default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) Creates a policy. A policy combines templates and rules with enforcement settings for a firewall type, such as AWS WAF or AWS Shield Advanced. Use
isPublishedto create the policy in published (ACTIVE) or draft (DRAFT) state.- Parameters:
createPolicyRequest-- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createPolicy
default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a policy. A policy combines templates and rules with enforcement settings for a firewall type, such as AWS WAF or AWS Shield Advanced. Use
isPublishedto create the policy in published (ACTIVE) or draft (DRAFT) state.
This is a convenience which creates an instance of the
CreatePolicyRequest.Builderavoiding the need to create one manually viaCreatePolicyRequest.builder()- Parameters:
createPolicyRequest- AConsumerthat will call methods onCreatePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createPolicySnapshot
default CompletableFuture<CreatePolicySnapshotResponse> createPolicySnapshot(CreatePolicySnapshotRequest createPolicySnapshotRequest) Creates a snapshot of the current published version of the specified policy.
- Parameters:
createPolicySnapshotRequest-- Returns:
- A Java Future containing the result of the CreatePolicySnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createPolicySnapshot
default CompletableFuture<CreatePolicySnapshotResponse> createPolicySnapshot(Consumer<CreatePolicySnapshotRequest.Builder> createPolicySnapshotRequest) Creates a snapshot of the current published version of the specified policy.
This is a convenience which creates an instance of the
CreatePolicySnapshotRequest.Builderavoiding the need to create one manually viaCreatePolicySnapshotRequest.builder()- Parameters:
createPolicySnapshotRequest- AConsumerthat will call methods onCreatePolicySnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePolicySnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createRule
Creates a rule. A rule defines a network security configuration to enforce, such as an AWS WAF rule group or configuration data. Use
isPublishedto create the rule in published (ACTIVE) or draft (DRAFT) state.- Parameters:
createRuleRequest-- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createRule
default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) Creates a rule. A rule defines a network security configuration to enforce, such as an AWS WAF rule group or configuration data. Use
isPublishedto create the rule in published (ACTIVE) or draft (DRAFT) state.
This is a convenience which creates an instance of the
CreateRuleRequest.Builderavoiding the need to create one manually viaCreateRuleRequest.builder()- Parameters:
createRuleRequest- AConsumerthat will call methods onCreateRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createRuleSnapshot
default CompletableFuture<CreateRuleSnapshotResponse> createRuleSnapshot(CreateRuleSnapshotRequest createRuleSnapshotRequest) Creates a snapshot of the current published version of the specified rule. A snapshot is an immutable, versioned copy that other resources can reference.
- Parameters:
createRuleSnapshotRequest-- Returns:
- A Java Future containing the result of the CreateRuleSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createRuleSnapshot
default CompletableFuture<CreateRuleSnapshotResponse> createRuleSnapshot(Consumer<CreateRuleSnapshotRequest.Builder> createRuleSnapshotRequest) Creates a snapshot of the current published version of the specified rule. A snapshot is an immutable, versioned copy that other resources can reference.
This is a convenience which creates an instance of the
CreateRuleSnapshotRequest.Builderavoiding the need to create one manually viaCreateRuleSnapshotRequest.builder()- Parameters:
createRuleSnapshotRequest- AConsumerthat will call methods onCreateRuleSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRuleSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createScope
Creates a scope. A scope selects the accounts and resources that a deployment applies to. Use
isPublishedto create the scope in published (ACTIVE) or draft (DRAFT) state.- Parameters:
createScopeRequest-- Returns:
- A Java Future containing the result of the CreateScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createScope
default CompletableFuture<CreateScopeResponse> createScope(Consumer<CreateScopeRequest.Builder> createScopeRequest) Creates a scope. A scope selects the accounts and resources that a deployment applies to. Use
isPublishedto create the scope in published (ACTIVE) or draft (DRAFT) state.
This is a convenience which creates an instance of the
CreateScopeRequest.Builderavoiding the need to create one manually viaCreateScopeRequest.builder()- Parameters:
createScopeRequest- AConsumerthat will call methods onCreateScopeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createScopeSnapshot
default CompletableFuture<CreateScopeSnapshotResponse> createScopeSnapshot(CreateScopeSnapshotRequest createScopeSnapshotRequest) Creates a snapshot of the current published version of the specified scope.
- Parameters:
createScopeSnapshotRequest-- Returns:
- A Java Future containing the result of the CreateScopeSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createScopeSnapshot
default CompletableFuture<CreateScopeSnapshotResponse> createScopeSnapshot(Consumer<CreateScopeSnapshotRequest.Builder> createScopeSnapshotRequest) Creates a snapshot of the current published version of the specified scope.
This is a convenience which creates an instance of the
CreateScopeSnapshotRequest.Builderavoiding the need to create one manually viaCreateScopeSnapshotRequest.builder()- Parameters:
createScopeSnapshotRequest- AConsumerthat will call methods onCreateScopeSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateScopeSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createTemplate
default CompletableFuture<CreateTemplateResponse> createTemplate(CreateTemplateRequest createTemplateRequest) Creates a template. A template groups one or more rules to simplify reuse across policies. You can also associate rules with a policy directly, without a template. Use
isPublishedto create the template in published (ACTIVE) or draft (DRAFT) state.- Parameters:
createTemplateRequest-- Returns:
- A Java Future containing the result of the CreateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createTemplate
default CompletableFuture<CreateTemplateResponse> createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest) Creates a template. A template groups one or more rules to simplify reuse across policies. You can also associate rules with a policy directly, without a template. Use
isPublishedto create the template in published (ACTIVE) or draft (DRAFT) state.
This is a convenience which creates an instance of the
CreateTemplateRequest.Builderavoiding the need to create one manually viaCreateTemplateRequest.builder()- Parameters:
createTemplateRequest- AConsumerthat will call methods onCreateTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createTemplateSnapshot
default CompletableFuture<CreateTemplateSnapshotResponse> createTemplateSnapshot(CreateTemplateSnapshotRequest createTemplateSnapshotRequest) Creates a snapshot of the current published version of the specified template.
- Parameters:
createTemplateSnapshotRequest-- Returns:
- A Java Future containing the result of the CreateTemplateSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
createTemplateSnapshot
default CompletableFuture<CreateTemplateSnapshotResponse> createTemplateSnapshot(Consumer<CreateTemplateSnapshotRequest.Builder> createTemplateSnapshotRequest) Creates a snapshot of the current published version of the specified template.
This is a convenience which creates an instance of the
CreateTemplateSnapshotRequest.Builderavoiding the need to create one manually viaCreateTemplateSnapshotRequest.builder()- Parameters:
createTemplateSnapshotRequest- AConsumerthat will call methods onCreateTemplateSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTemplateSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteAdminAccount
default CompletableFuture<DeleteAdminAccountResponse> deleteAdminAccount(DeleteAdminAccountRequest deleteAdminAccountRequest) Removes the specified AWS Network Security Manager administrator account.
- Parameters:
deleteAdminAccountRequest-- Returns:
- A Java Future containing the result of the DeleteAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteAdminAccount
default CompletableFuture<DeleteAdminAccountResponse> deleteAdminAccount(Consumer<DeleteAdminAccountRequest.Builder> deleteAdminAccountRequest) Removes the specified AWS Network Security Manager administrator account.
This is a convenience which creates an instance of the
DeleteAdminAccountRequest.Builderavoiding the need to create one manually viaDeleteAdminAccountRequest.builder()- Parameters:
deleteAdminAccountRequest- AConsumerthat will call methods onDeleteAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes the specified deployment.
- Parameters:
deleteDeploymentRequest-- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes the specified deployment.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes the specified policy.
- Parameters:
deletePolicyRequest-- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes the specified policy.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteRule
Deletes the specified rule.
- Parameters:
deleteRuleRequest-- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteRule
default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) Deletes the specified rule.
This is a convenience which creates an instance of the
DeleteRuleRequest.Builderavoiding the need to create one manually viaDeleteRuleRequest.builder()- Parameters:
deleteRuleRequest- AConsumerthat will call methods onDeleteRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteScope
Deletes the specified scope.
- Parameters:
deleteScopeRequest-- Returns:
- A Java Future containing the result of the DeleteScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteScope
default CompletableFuture<DeleteScopeResponse> deleteScope(Consumer<DeleteScopeRequest.Builder> deleteScopeRequest) Deletes the specified scope.
This is a convenience which creates an instance of the
DeleteScopeRequest.Builderavoiding the need to create one manually viaDeleteScopeRequest.builder()- Parameters:
deleteScopeRequest- AConsumerthat will call methods onDeleteScopeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteTemplate
default CompletableFuture<DeleteTemplateResponse> deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) Deletes the specified template.
- Parameters:
deleteTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
deleteTemplate
default CompletableFuture<DeleteTemplateResponse> deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest) Deletes the specified template.
This is a convenience which creates an instance of the
DeleteTemplateRequest.Builderavoiding the need to create one manually viaDeleteTemplateRequest.builder()- Parameters:
deleteTemplateRequest- AConsumerthat will call methods onDeleteTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
generateRuleConfiguration
default CompletableFuture<GenerateRuleConfigurationResponse> generateRuleConfiguration(GenerateRuleConfigurationRequest generateRuleConfigurationRequest) Generates a rule configuration from a natural-language description. Provide a prompt along with the rule's firewall type and rule type. The service returns a configuration that you can use when you create or update a rule. If you also provide an existing configuration, the service edits that configuration instead of generating a new one.
- Parameters:
generateRuleConfigurationRequest-- Returns:
- A Java Future containing the result of the GenerateRuleConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
generateRuleConfiguration
default CompletableFuture<GenerateRuleConfigurationResponse> generateRuleConfiguration(Consumer<GenerateRuleConfigurationRequest.Builder> generateRuleConfigurationRequest) Generates a rule configuration from a natural-language description. Provide a prompt along with the rule's firewall type and rule type. The service returns a configuration that you can use when you create or update a rule. If you also provide an existing configuration, the service edits that configuration instead of generating a new one.
This is a convenience which creates an instance of the
GenerateRuleConfigurationRequest.Builderavoiding the need to create one manually viaGenerateRuleConfigurationRequest.builder()- Parameters:
generateRuleConfigurationRequest- AConsumerthat will call methods onGenerateRuleConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GenerateRuleConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getAdminAccount
default CompletableFuture<GetAdminAccountResponse> getAdminAccount(GetAdminAccountRequest getAdminAccountRequest) Retrieves the details of the specified AWS Network Security Manager administrator account.
- Parameters:
getAdminAccountRequest-- Returns:
- A Java Future containing the result of the GetAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getAdminAccount
default CompletableFuture<GetAdminAccountResponse> getAdminAccount(Consumer<GetAdminAccountRequest.Builder> getAdminAccountRequest) Retrieves the details of the specified AWS Network Security Manager administrator account.
This is a convenience which creates an instance of the
GetAdminAccountRequest.Builderavoiding the need to create one manually viaGetAdminAccountRequest.builder()- Parameters:
getAdminAccountRequest- AConsumerthat will call methods onGetAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Retrieves the details of the specified deployment, including coverage information and any warnings.
- Parameters:
getDeploymentRequest-- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Retrieves the details of the specified deployment, including coverage information and any warnings.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getPolicy
Retrieves the details of the specified policy.
- Parameters:
getPolicyRequest-- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getPolicy
default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves the details of the specified policy.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getRule
Retrieves the details of the specified rule.
- Parameters:
getRuleRequest-- Returns:
- A Java Future containing the result of the GetRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getRule
Retrieves the details of the specified rule.
This is a convenience which creates an instance of the
GetRuleRequest.Builderavoiding the need to create one manually viaGetRuleRequest.builder()- Parameters:
getRuleRequest- AConsumerthat will call methods onGetRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getScope
Retrieves the details of the specified scope.
- Parameters:
getScopeRequest-- Returns:
- A Java Future containing the result of the GetScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getScope
default CompletableFuture<GetScopeResponse> getScope(Consumer<GetScopeRequest.Builder> getScopeRequest) Retrieves the details of the specified scope.
This is a convenience which creates an instance of the
GetScopeRequest.Builderavoiding the need to create one manually viaGetScopeRequest.builder()- Parameters:
getScopeRequest- AConsumerthat will call methods onGetScopeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getTemplate
Retrieves the details of the specified template.
- Parameters:
getTemplateRequest-- Returns:
- A Java Future containing the result of the GetTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
getTemplate
default CompletableFuture<GetTemplateResponse> getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest) Retrieves the details of the specified template.
This is a convenience which creates an instance of the
GetTemplateRequest.Builderavoiding the need to create one manually viaGetTemplateRequest.builder()- Parameters:
getTemplateRequest- AConsumerthat will call methods onGetTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAdminAccounts
default CompletableFuture<ListAdminAccountsResponse> listAdminAccounts(ListAdminAccountsRequest listAdminAccountsRequest) Lists the AWS Network Security Manager administrator accounts in the organization.
- Parameters:
listAdminAccountsRequest-- Returns:
- A Java Future containing the result of the ListAdminAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAdminAccounts
default CompletableFuture<ListAdminAccountsResponse> listAdminAccounts(Consumer<ListAdminAccountsRequest.Builder> listAdminAccountsRequest) Lists the AWS Network Security Manager administrator accounts in the organization.
This is a convenience which creates an instance of the
ListAdminAccountsRequest.Builderavoiding the need to create one manually viaListAdminAccountsRequest.builder()- Parameters:
listAdminAccountsRequest- AConsumerthat will call methods onListAdminAccountsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAdminAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAdminAccountsPaginator
default ListAdminAccountsPublisher listAdminAccountsPaginator(ListAdminAccountsRequest listAdminAccountsRequest) This is a variant of
listAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListAdminAccountsPublisher publisher = client.listAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListAdminAccountsPublisher publisher = client.listAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsResponse response) { //... }; });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
listAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation.- Parameters:
listAdminAccountsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAdminAccountsPaginator
default ListAdminAccountsPublisher listAdminAccountsPaginator(Consumer<ListAdminAccountsRequest.Builder> listAdminAccountsRequest) This is a variant of
listAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListAdminAccountsPublisher publisher = client.listAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListAdminAccountsPublisher publisher = client.listAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsResponse response) { //... }; });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
listAdminAccounts(software.amazon.awssdk.services.networksecuritymanager.model.ListAdminAccountsRequest)operation.
This is a convenience which creates an instance of the
ListAdminAccountsRequest.Builderavoiding the need to create one manually viaListAdminAccountsRequest.builder()- Parameters:
listAdminAccountsRequest- AConsumerthat will call methods onListAdminAccountsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAggregateResourceSynchronizationStatuses
default CompletableFuture<ListAggregateResourceSynchronizationStatusesResponse> listAggregateResourceSynchronizationStatuses(ListAggregateResourceSynchronizationStatusesRequest listAggregateResourceSynchronizationStatusesRequest) Lists the aggregated synchronization statuses of resources across the deployments in your administrator account. You can filter the results by synchronization status and page through them.
- Parameters:
listAggregateResourceSynchronizationStatusesRequest-- Returns:
- A Java Future containing the result of the ListAggregateResourceSynchronizationStatuses operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAggregateResourceSynchronizationStatuses
default CompletableFuture<ListAggregateResourceSynchronizationStatusesResponse> listAggregateResourceSynchronizationStatuses(Consumer<ListAggregateResourceSynchronizationStatusesRequest.Builder> listAggregateResourceSynchronizationStatusesRequest) Lists the aggregated synchronization statuses of resources across the deployments in your administrator account. You can filter the results by synchronization status and page through them.
This is a convenience which creates an instance of the
ListAggregateResourceSynchronizationStatusesRequest.Builderavoiding the need to create one manually viaListAggregateResourceSynchronizationStatusesRequest.builder()- Parameters:
listAggregateResourceSynchronizationStatusesRequest- AConsumerthat will call methods onListAggregateResourceSynchronizationStatusesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAggregateResourceSynchronizationStatuses operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAggregateResourceSynchronizationStatusesPaginator
default ListAggregateResourceSynchronizationStatusesPublisher listAggregateResourceSynchronizationStatusesPaginator(ListAggregateResourceSynchronizationStatusesRequest listAggregateResourceSynchronizationStatusesRequest) This is a variant of
listAggregateResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListAggregateResourceSynchronizationStatusesPublisher publisher = client.listAggregateResourceSynchronizationStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListAggregateResourceSynchronizationStatusesPublisher publisher = client.listAggregateResourceSynchronizationStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesResponse response) { //... }; });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
listAggregateResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesRequest)operation.- Parameters:
listAggregateResourceSynchronizationStatusesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listAggregateResourceSynchronizationStatusesPaginator
default ListAggregateResourceSynchronizationStatusesPublisher listAggregateResourceSynchronizationStatusesPaginator(Consumer<ListAggregateResourceSynchronizationStatusesRequest.Builder> listAggregateResourceSynchronizationStatusesRequest) This is a variant of
listAggregateResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListAggregateResourceSynchronizationStatusesPublisher publisher = client.listAggregateResourceSynchronizationStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListAggregateResourceSynchronizationStatusesPublisher publisher = client.listAggregateResourceSynchronizationStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesResponse response) { //... }; });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
listAggregateResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListAggregateResourceSynchronizationStatusesRequest)operation.
This is a convenience which creates an instance of the
ListAggregateResourceSynchronizationStatusesRequest.Builderavoiding the need to create one manually viaListAggregateResourceSynchronizationStatusesRequest.builder()- Parameters:
listAggregateResourceSynchronizationStatusesRequest- AConsumerthat will call methods onListAggregateResourceSynchronizationStatusesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentSnapshots
default CompletableFuture<ListDeploymentSnapshotsResponse> listDeploymentSnapshots(ListDeploymentSnapshotsRequest listDeploymentSnapshotsRequest) Lists the snapshots of the specified deployment.
- Parameters:
listDeploymentSnapshotsRequest-- Returns:
- A Java Future containing the result of the ListDeploymentSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentSnapshots
default CompletableFuture<ListDeploymentSnapshotsResponse> listDeploymentSnapshots(Consumer<ListDeploymentSnapshotsRequest.Builder> listDeploymentSnapshotsRequest) Lists the snapshots of the specified deployment.
This is a convenience which creates an instance of the
ListDeploymentSnapshotsRequest.Builderavoiding the need to create one manually viaListDeploymentSnapshotsRequest.builder()- Parameters:
listDeploymentSnapshotsRequest- AConsumerthat will call methods onListDeploymentSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDeploymentSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentSnapshotsPaginator
default ListDeploymentSnapshotsPublisher listDeploymentSnapshotsPaginator(ListDeploymentSnapshotsRequest listDeploymentSnapshotsRequest) This is a variant of
listDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentSnapshotsPublisher publisher = client.listDeploymentSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentSnapshotsPublisher publisher = client.listDeploymentSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsResponse response) { //... }; });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
listDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation.- Parameters:
listDeploymentSnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentSnapshotsPaginator
default ListDeploymentSnapshotsPublisher listDeploymentSnapshotsPaginator(Consumer<ListDeploymentSnapshotsRequest.Builder> listDeploymentSnapshotsRequest) This is a variant of
listDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentSnapshotsPublisher publisher = client.listDeploymentSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentSnapshotsPublisher publisher = client.listDeploymentSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsResponse response) { //... }; });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
listDeploymentSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentSnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentSnapshotsRequest.Builderavoiding the need to create one manually viaListDeploymentSnapshotsRequest.builder()- Parameters:
listDeploymentSnapshotsRequest- AConsumerthat will call methods onListDeploymentSnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeployments
default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest) Lists the deployments in the account. You can filter the results by status and page through them using
maxResultsandnextToken.- Parameters:
listDeploymentsRequest-- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeployments
default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) Lists the deployments in the account. You can filter the results by status and page through them using
maxResultsandnextToken.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsPublisher listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) This is a variant of
listDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsResponse response) { //... }; });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
listDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation.- Parameters:
listDeploymentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsPublisher listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) This is a variant of
listDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsResponse response) { //... }; });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
listDeployments(software.amazon.awssdk.services.networksecuritymanager.model.ListDeploymentsRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicies
default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Lists the policies in the account. You can filter the results by status and page through them using
maxResultsandnextToken.- Parameters:
listPoliciesRequest-- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicies
default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists the policies in the account. You can filter the results by status and page through them using
maxResultsandnextToken.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPoliciesPaginator
This is a variant of
listPolicies(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesResponse response) { //... }; });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.networksecuritymanager.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPoliciesPaginator
default ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant of
listPolicies(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListPoliciesResponse response) { //... }; });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.networksecuritymanager.model.ListPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicySnapshots
default CompletableFuture<ListPolicySnapshotsResponse> listPolicySnapshots(ListPolicySnapshotsRequest listPolicySnapshotsRequest) Lists the snapshots of the specified policy.
- Parameters:
listPolicySnapshotsRequest-- Returns:
- A Java Future containing the result of the ListPolicySnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicySnapshots
default CompletableFuture<ListPolicySnapshotsResponse> listPolicySnapshots(Consumer<ListPolicySnapshotsRequest.Builder> listPolicySnapshotsRequest) Lists the snapshots of the specified policy.
This is a convenience which creates an instance of the
ListPolicySnapshotsRequest.Builderavoiding the need to create one manually viaListPolicySnapshotsRequest.builder()- Parameters:
listPolicySnapshotsRequest- AConsumerthat will call methods onListPolicySnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPolicySnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicySnapshotsPaginator
default ListPolicySnapshotsPublisher listPolicySnapshotsPaginator(ListPolicySnapshotsRequest listPolicySnapshotsRequest) This is a variant of
listPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListPolicySnapshotsPublisher publisher = client.listPolicySnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListPolicySnapshotsPublisher publisher = client.listPolicySnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsResponse response) { //... }; });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
listPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation.- Parameters:
listPolicySnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listPolicySnapshotsPaginator
default ListPolicySnapshotsPublisher listPolicySnapshotsPaginator(Consumer<ListPolicySnapshotsRequest.Builder> listPolicySnapshotsRequest) This is a variant of
listPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListPolicySnapshotsPublisher publisher = client.listPolicySnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListPolicySnapshotsPublisher publisher = client.listPolicySnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsResponse response) { //... }; });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
listPolicySnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListPolicySnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListPolicySnapshotsRequest.Builderavoiding the need to create one manually viaListPolicySnapshotsRequest.builder()- Parameters:
listPolicySnapshotsRequest- AConsumerthat will call methods onListPolicySnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceAssociations
default CompletableFuture<ListResourceAssociationsResponse> listResourceAssociations(ListResourceAssociationsRequest listResourceAssociationsRequest) Lists the resources associated with the specified resource.
- Parameters:
listResourceAssociationsRequest-- Returns:
- A Java Future containing the result of the ListResourceAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceAssociations
default CompletableFuture<ListResourceAssociationsResponse> listResourceAssociations(Consumer<ListResourceAssociationsRequest.Builder> listResourceAssociationsRequest) Lists the resources associated with the specified resource.
This is a convenience which creates an instance of the
ListResourceAssociationsRequest.Builderavoiding the need to create one manually viaListResourceAssociationsRequest.builder()- Parameters:
listResourceAssociationsRequest- AConsumerthat will call methods onListResourceAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceAssociationsPaginator
default ListResourceAssociationsPublisher listResourceAssociationsPaginator(ListResourceAssociationsRequest listResourceAssociationsRequest) This is a variant of
listResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceAssociationsPublisher publisher = client.listResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceAssociationsPublisher publisher = client.listResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsResponse response) { //... }; });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
listResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation.- Parameters:
listResourceAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceAssociationsPaginator
default ListResourceAssociationsPublisher listResourceAssociationsPaginator(Consumer<ListResourceAssociationsRequest.Builder> listResourceAssociationsRequest) This is a variant of
listResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceAssociationsPublisher publisher = client.listResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceAssociationsPublisher publisher = client.listResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsResponse response) { //... }; });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
listResourceAssociations(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListResourceAssociationsRequest.Builderavoiding the need to create one manually viaListResourceAssociationsRequest.builder()- Parameters:
listResourceAssociationsRequest- AConsumerthat will call methods onListResourceAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceSynchronizationStatuses
default CompletableFuture<ListResourceSynchronizationStatusesResponse> listResourceSynchronizationStatuses(ListResourceSynchronizationStatusesRequest listResourceSynchronizationStatusesRequest) Lists the synchronization statuses of the resources covered by the specified deployment. You can filter the results by synchronization status and page through them.
- Parameters:
listResourceSynchronizationStatusesRequest-- Returns:
- A Java Future containing the result of the ListResourceSynchronizationStatuses operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceSynchronizationStatuses
default CompletableFuture<ListResourceSynchronizationStatusesResponse> listResourceSynchronizationStatuses(Consumer<ListResourceSynchronizationStatusesRequest.Builder> listResourceSynchronizationStatusesRequest) Lists the synchronization statuses of the resources covered by the specified deployment. You can filter the results by synchronization status and page through them.
This is a convenience which creates an instance of the
ListResourceSynchronizationStatusesRequest.Builderavoiding the need to create one manually viaListResourceSynchronizationStatusesRequest.builder()- Parameters:
listResourceSynchronizationStatusesRequest- AConsumerthat will call methods onListResourceSynchronizationStatusesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceSynchronizationStatuses operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceSynchronizationStatusesPaginator
default ListResourceSynchronizationStatusesPublisher listResourceSynchronizationStatusesPaginator(ListResourceSynchronizationStatusesRequest listResourceSynchronizationStatusesRequest) This is a variant of
listResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceSynchronizationStatusesPublisher publisher = client.listResourceSynchronizationStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceSynchronizationStatusesPublisher publisher = client.listResourceSynchronizationStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesResponse response) { //... }; });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
listResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesRequest)operation.- Parameters:
listResourceSynchronizationStatusesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listResourceSynchronizationStatusesPaginator
default ListResourceSynchronizationStatusesPublisher listResourceSynchronizationStatusesPaginator(Consumer<ListResourceSynchronizationStatusesRequest.Builder> listResourceSynchronizationStatusesRequest) This is a variant of
listResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceSynchronizationStatusesPublisher publisher = client.listResourceSynchronizationStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListResourceSynchronizationStatusesPublisher publisher = client.listResourceSynchronizationStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesResponse response) { //... }; });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
listResourceSynchronizationStatuses(software.amazon.awssdk.services.networksecuritymanager.model.ListResourceSynchronizationStatusesRequest)operation.
This is a convenience which creates an instance of the
ListResourceSynchronizationStatusesRequest.Builderavoiding the need to create one manually viaListResourceSynchronizationStatusesRequest.builder()- Parameters:
listResourceSynchronizationStatusesRequest- AConsumerthat will call methods onListResourceSynchronizationStatusesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRuleSnapshots
default CompletableFuture<ListRuleSnapshotsResponse> listRuleSnapshots(ListRuleSnapshotsRequest listRuleSnapshotsRequest) Lists the snapshots of the specified rule.
- Parameters:
listRuleSnapshotsRequest-- Returns:
- A Java Future containing the result of the ListRuleSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRuleSnapshots
default CompletableFuture<ListRuleSnapshotsResponse> listRuleSnapshots(Consumer<ListRuleSnapshotsRequest.Builder> listRuleSnapshotsRequest) Lists the snapshots of the specified rule.
This is a convenience which creates an instance of the
ListRuleSnapshotsRequest.Builderavoiding the need to create one manually viaListRuleSnapshotsRequest.builder()- Parameters:
listRuleSnapshotsRequest- AConsumerthat will call methods onListRuleSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRuleSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRuleSnapshotsPaginator
default ListRuleSnapshotsPublisher listRuleSnapshotsPaginator(ListRuleSnapshotsRequest listRuleSnapshotsRequest) This is a variant of
listRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListRuleSnapshotsPublisher publisher = client.listRuleSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListRuleSnapshotsPublisher publisher = client.listRuleSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsResponse response) { //... }; });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
listRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation.- Parameters:
listRuleSnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRuleSnapshotsPaginator
default ListRuleSnapshotsPublisher listRuleSnapshotsPaginator(Consumer<ListRuleSnapshotsRequest.Builder> listRuleSnapshotsRequest) This is a variant of
listRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListRuleSnapshotsPublisher publisher = client.listRuleSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListRuleSnapshotsPublisher publisher = client.listRuleSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsResponse response) { //... }; });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
listRuleSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListRuleSnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListRuleSnapshotsRequest.Builderavoiding the need to create one manually viaListRuleSnapshotsRequest.builder()- Parameters:
listRuleSnapshotsRequest- AConsumerthat will call methods onListRuleSnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRules
Lists the rules in the account. You can filter the results by status and page through them using
maxResultsandnextToken.- Parameters:
listRulesRequest-- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRules
default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists the rules in the account. You can filter the results by status and page through them using
maxResultsandnextToken.
This is a convenience which creates an instance of the
ListRulesRequest.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesResponse response) { //... }; });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
listRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation.- Parameters:
listRulesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesResponse response) { //... }; });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
listRules(software.amazon.awssdk.services.networksecuritymanager.model.ListRulesRequest)operation.
This is a convenience which creates an instance of the
ListRulesRequest.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopeSnapshots
default CompletableFuture<ListScopeSnapshotsResponse> listScopeSnapshots(ListScopeSnapshotsRequest listScopeSnapshotsRequest) Lists the snapshots of the specified scope.
- Parameters:
listScopeSnapshotsRequest-- Returns:
- A Java Future containing the result of the ListScopeSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopeSnapshots
default CompletableFuture<ListScopeSnapshotsResponse> listScopeSnapshots(Consumer<ListScopeSnapshotsRequest.Builder> listScopeSnapshotsRequest) Lists the snapshots of the specified scope.
This is a convenience which creates an instance of the
ListScopeSnapshotsRequest.Builderavoiding the need to create one manually viaListScopeSnapshotsRequest.builder()- Parameters:
listScopeSnapshotsRequest- AConsumerthat will call methods onListScopeSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListScopeSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopeSnapshotsPaginator
default ListScopeSnapshotsPublisher listScopeSnapshotsPaginator(ListScopeSnapshotsRequest listScopeSnapshotsRequest) This is a variant of
listScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListScopeSnapshotsPublisher publisher = client.listScopeSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListScopeSnapshotsPublisher publisher = client.listScopeSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsResponse response) { //... }; });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
listScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation.- Parameters:
listScopeSnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopeSnapshotsPaginator
default ListScopeSnapshotsPublisher listScopeSnapshotsPaginator(Consumer<ListScopeSnapshotsRequest.Builder> listScopeSnapshotsRequest) This is a variant of
listScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListScopeSnapshotsPublisher publisher = client.listScopeSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListScopeSnapshotsPublisher publisher = client.listScopeSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsResponse response) { //... }; });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
listScopeSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListScopeSnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListScopeSnapshotsRequest.Builderavoiding the need to create one manually viaListScopeSnapshotsRequest.builder()- Parameters:
listScopeSnapshotsRequest- AConsumerthat will call methods onListScopeSnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopes
Lists the scopes in the account. You can filter the results by status and page through them using
maxResultsandnextToken.- Parameters:
listScopesRequest-- Returns:
- A Java Future containing the result of the ListScopes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopes
default CompletableFuture<ListScopesResponse> listScopes(Consumer<ListScopesRequest.Builder> listScopesRequest) Lists the scopes in the account. You can filter the results by status and page through them using
maxResultsandnextToken.
This is a convenience which creates an instance of the
ListScopesRequest.Builderavoiding the need to create one manually viaListScopesRequest.builder()- Parameters:
listScopesRequest- AConsumerthat will call methods onListScopesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListScopes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopesPaginator
This is a variant of
listScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListScopesPublisher publisher = client.listScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListScopesPublisher publisher = client.listScopesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListScopesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesResponse response) { //... }; });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
listScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation.- Parameters:
listScopesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listScopesPaginator
default ListScopesPublisher listScopesPaginator(Consumer<ListScopesRequest.Builder> listScopesRequest) This is a variant of
listScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListScopesPublisher publisher = client.listScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListScopesPublisher publisher = client.listScopesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListScopesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesResponse response) { //... }; });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
listScopes(software.amazon.awssdk.services.networksecuritymanager.model.ListScopesRequest)operation.
This is a convenience which creates an instance of the
ListScopesRequest.Builderavoiding the need to create one manually viaListScopesRequest.builder()- Parameters:
listScopesRequest- AConsumerthat will call methods onListScopesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplateSnapshots
default CompletableFuture<ListTemplateSnapshotsResponse> listTemplateSnapshots(ListTemplateSnapshotsRequest listTemplateSnapshotsRequest) Lists the snapshots of the specified template.
- Parameters:
listTemplateSnapshotsRequest-- Returns:
- A Java Future containing the result of the ListTemplateSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplateSnapshots
default CompletableFuture<ListTemplateSnapshotsResponse> listTemplateSnapshots(Consumer<ListTemplateSnapshotsRequest.Builder> listTemplateSnapshotsRequest) Lists the snapshots of the specified template.
This is a convenience which creates an instance of the
ListTemplateSnapshotsRequest.Builderavoiding the need to create one manually viaListTemplateSnapshotsRequest.builder()- Parameters:
listTemplateSnapshotsRequest- AConsumerthat will call methods onListTemplateSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTemplateSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplateSnapshotsPaginator
default ListTemplateSnapshotsPublisher listTemplateSnapshotsPaginator(ListTemplateSnapshotsRequest listTemplateSnapshotsRequest) This is a variant of
listTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplateSnapshotsPublisher publisher = client.listTemplateSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplateSnapshotsPublisher publisher = client.listTemplateSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsResponse response) { //... }; });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
listTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation.- Parameters:
listTemplateSnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplateSnapshotsPaginator
default ListTemplateSnapshotsPublisher listTemplateSnapshotsPaginator(Consumer<ListTemplateSnapshotsRequest.Builder> listTemplateSnapshotsRequest) This is a variant of
listTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplateSnapshotsPublisher publisher = client.listTemplateSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplateSnapshotsPublisher publisher = client.listTemplateSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsResponse response) { //... }; });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
listTemplateSnapshots(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplateSnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListTemplateSnapshotsRequest.Builderavoiding the need to create one manually viaListTemplateSnapshotsRequest.builder()- Parameters:
listTemplateSnapshotsRequest- AConsumerthat will call methods onListTemplateSnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplates
default CompletableFuture<ListTemplatesResponse> listTemplates(ListTemplatesRequest listTemplatesRequest) Lists the templates in the account. You can filter the results by status and page through them using
maxResultsandnextToken.- Parameters:
listTemplatesRequest-- Returns:
- A Java Future containing the result of the ListTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplates
default CompletableFuture<ListTemplatesResponse> listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) Lists the templates in the account. You can filter the results by status and page through them using
maxResultsandnextToken.
This is a convenience which creates an instance of the
ListTemplatesRequest.Builderavoiding the need to create one manually viaListTemplatesRequest.builder()- Parameters:
listTemplatesRequest- AConsumerthat will call methods onListTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplatesPaginator
This is a variant of
listTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesResponse response) { //... }; });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
listTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation.- Parameters:
listTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
listTemplatesPaginator
default ListTemplatesPublisher listTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) This is a variant of
listTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.networksecuritymanager.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesResponse response) { //... }; });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
listTemplates(software.amazon.awssdk.services.networksecuritymanager.model.ListTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListTemplatesRequest.Builderavoiding the need to create one manually viaListTemplatesRequest.builder()- Parameters:
listTemplatesRequest- AConsumerthat will call methods onListTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
putAdminAccount
default CompletableFuture<PutAdminAccountResponse> putAdminAccount(PutAdminAccountRequest putAdminAccountRequest) Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.
You can't set an administrator account again immediately after you remove it, or while the service creates its service-linked role. Retry the request after a few minutes.
- Parameters:
putAdminAccountRequest-- Returns:
- A Java Future containing the result of the PutAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
putAdminAccount
default CompletableFuture<PutAdminAccountResponse> putAdminAccount(Consumer<PutAdminAccountRequest.Builder> putAdminAccountRequest) Sets the AWS account that serves as an AWS Network Security Manager administrator account, and optionally configures the scope of resources that the administrator can manage.
You can't set an administrator account again immediately after you remove it, or while the service creates its service-linked role. Retry the request after a few minutes.
This is a convenience which creates an instance of the
PutAdminAccountRequest.Builderavoiding the need to create one manually viaPutAdminAccountRequest.builder()- Parameters:
putAdminAccountRequest- AConsumerthat will call methods onPutAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- ServiceUnavailableException The service is temporarily unavailable. This is a retryable error.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
tagResource
Adds or overwrites the specified tags on the given resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites the specified tags on the given resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the given resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the given resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - TagPolicyViolationException The request violates a tag policy that is in effect for the account or organization.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateDeployment
default CompletableFuture<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest updateDeploymentRequest) Updates the specified deployment. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the deployment as a draft.- Parameters:
updateDeploymentRequest-- Returns:
- A Java Future containing the result of the UpdateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateDeployment
default CompletableFuture<UpdateDeploymentResponse> updateDeployment(Consumer<UpdateDeploymentRequest.Builder> updateDeploymentRequest) Updates the specified deployment. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the deployment as a draft.
This is a convenience which creates an instance of the
UpdateDeploymentRequest.Builderavoiding the need to create one manually viaUpdateDeploymentRequest.builder()- Parameters:
updateDeploymentRequest- AConsumerthat will call methods onUpdateDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updatePolicy
default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates the specified policy. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the policy as a draft.- Parameters:
updatePolicyRequest-- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updatePolicy
default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates the specified policy. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the policy as a draft.
This is a convenience which creates an instance of the
UpdatePolicyRequest.Builderavoiding the need to create one manually viaUpdatePolicyRequest.builder()- Parameters:
updatePolicyRequest- AConsumerthat will call methods onUpdatePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateRule
Updates the specified rule. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the rule as a draft.- Parameters:
updateRuleRequest-- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateRule
default CompletableFuture<UpdateRuleResponse> updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates the specified rule. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the rule as a draft.
This is a convenience which creates an instance of the
UpdateRuleRequest.Builderavoiding the need to create one manually viaUpdateRuleRequest.builder()- Parameters:
updateRuleRequest- AConsumerthat will call methods onUpdateRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateScope
Updates the specified scope. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the scope as a draft.- Parameters:
updateScopeRequest-- Returns:
- A Java Future containing the result of the UpdateScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateScope
default CompletableFuture<UpdateScopeResponse> updateScope(Consumer<UpdateScopeRequest.Builder> updateScopeRequest) Updates the specified scope. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the scope as a draft.
This is a convenience which creates an instance of the
UpdateScopeRequest.Builderavoiding the need to create one manually viaUpdateScopeRequest.builder()- Parameters:
updateScopeRequest- AConsumerthat will call methods onUpdateScopeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateTemplate
default CompletableFuture<UpdateTemplateResponse> updateTemplate(UpdateTemplateRequest updateTemplateRequest) Updates the specified template. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the template as a draft.- Parameters:
updateTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
updateTemplate
default CompletableFuture<UpdateTemplateResponse> updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest) Updates the specified template. To prevent conflicting concurrent updates, provide the current
updateToken. UseisPublishedto publish the update or keep the template as a draft.
This is a convenience which creates an instance of the
UpdateTemplateRequest.Builderavoiding the need to create one manually viaUpdateTemplateRequest.builder()- Parameters:
updateTemplateRequest- AConsumerthat will call methods onUpdateTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation. For details, see the
reasonandfieldListmembers of the response. - ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.
- InternalServerException The request processing failed because of an internal error in the service. This is a retryable error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.
- ThrottlingException The request was denied because of request throttling. Reduce your request rate and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NetworkSecurityManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException The request failed validation. For details, see the
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aNetworkSecurityManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aNetworkSecurityManagerAsyncClient.
-