Interface MailManagerClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MailManagerClient extends AwsClient
Service client for accessing MailManager. This can be created using the staticbuilder()method.Amazon SES Mail Manager API The Amazon SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer Guide.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createAddonInstance
default CreateAddonInstanceResponse createAddonInstance(CreateAddonInstanceRequest createAddonInstanceRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
- Parameters:
createAddonInstanceRequest-- Returns:
- Result of the CreateAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddonInstance
default CreateAddonInstanceResponse createAddonInstance(Consumer<CreateAddonInstanceRequest.Builder> createAddonInstanceRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
This is a convenience which creates an instance of the
CreateAddonInstanceRequest.Builderavoiding the need to create one manually viaCreateAddonInstanceRequest.builder()- Parameters:
createAddonInstanceRequest- AConsumerthat will call methods onCreateAddonInstanceRequest.Builderto create a request.- Returns:
- Result of the CreateAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddonSubscription
default CreateAddonSubscriptionResponse createAddonSubscription(CreateAddonSubscriptionRequest createAddonSubscriptionRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.
- Parameters:
createAddonSubscriptionRequest-- Returns:
- Result of the CreateAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddonSubscription
default CreateAddonSubscriptionResponse createAddonSubscription(Consumer<CreateAddonSubscriptionRequest.Builder> createAddonSubscriptionRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.
This is a convenience which creates an instance of the
CreateAddonSubscriptionRequest.Builderavoiding the need to create one manually viaCreateAddonSubscriptionRequest.builder()- Parameters:
createAddonSubscriptionRequest- AConsumerthat will call methods onCreateAddonSubscriptionRequest.Builderto create a request.- Returns:
- Result of the CreateAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddressList
default CreateAddressListResponse createAddressList(CreateAddressListRequest createAddressListRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates a new address list.
- Parameters:
createAddressListRequest-- Returns:
- Result of the CreateAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddressList
default CreateAddressListResponse createAddressList(Consumer<CreateAddressListRequest.Builder> createAddressListRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates a new address list.
This is a convenience which creates an instance of the
CreateAddressListRequest.Builderavoiding the need to create one manually viaCreateAddressListRequest.builder()- Parameters:
createAddressListRequest- AConsumerthat will call methods onCreateAddressListRequest.Builderto create a request.- Returns:
- Result of the CreateAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddressListImportJob
default CreateAddressListImportJobResponse createAddressListImportJob(CreateAddressListImportJobRequest createAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates an import job for an address list.
- Parameters:
createAddressListImportJobRequest-- Returns:
- Result of the CreateAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAddressListImportJob
default CreateAddressListImportJobResponse createAddressListImportJob(Consumer<CreateAddressListImportJobRequest.Builder> createAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates an import job for an address list.
This is a convenience which creates an instance of the
CreateAddressListImportJobRequest.Builderavoiding the need to create one manually viaCreateAddressListImportJobRequest.builder()- Parameters:
createAddressListImportJobRequest- AConsumerthat will call methods onCreateAddressListImportJobRequest.Builderto create a request.- Returns:
- Result of the CreateAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createArchive
default CreateArchiveResponse createArchive(CreateArchiveRequest createArchiveRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates a new email archive resource for storing and retaining emails.
- Parameters:
createArchiveRequest- The request to create a new email archive.- Returns:
- Result of the CreateArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createArchive
default CreateArchiveResponse createArchive(Consumer<CreateArchiveRequest.Builder> createArchiveRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Creates a new email archive resource for storing and retaining emails.
This is a convenience which creates an instance of the
CreateArchiveRequest.Builderavoiding the need to create one manually viaCreateArchiveRequest.builder()- Parameters:
createArchiveRequest- AConsumerthat will call methods onCreateArchiveRequest.Builderto create a request. The request to create a new email archive.- Returns:
- Result of the CreateArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createIngressPoint
default CreateIngressPointResponse createIngressPoint(CreateIngressPointRequest createIngressPointRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new ingress endpoint resource.
- Parameters:
createIngressPointRequest-- Returns:
- Result of the CreateIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createIngressPoint
default CreateIngressPointResponse createIngressPoint(Consumer<CreateIngressPointRequest.Builder> createIngressPointRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new ingress endpoint resource.
This is a convenience which creates an instance of the
CreateIngressPointRequest.Builderavoiding the need to create one manually viaCreateIngressPointRequest.builder()- Parameters:
createIngressPointRequest- AConsumerthat will call methods onCreateIngressPointRequest.Builderto create a request.- Returns:
- Result of the CreateIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRelay
default CreateRelayResponse createRelay(CreateRelayRequest createRelayRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.
- Parameters:
createRelayRequest-- Returns:
- Result of the CreateRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRelay
default CreateRelayResponse createRelay(Consumer<CreateRelayRequest.Builder> createRelayRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.
This is a convenience which creates an instance of the
CreateRelayRequest.Builderavoiding the need to create one manually viaCreateRelayRequest.builder()- Parameters:
createRelayRequest- AConsumerthat will call methods onCreateRelayRequest.Builderto create a request.- Returns:
- Result of the CreateRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRuleSet
default CreateRuleSetResponse createRuleSet(CreateRuleSetRequest createRuleSetRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new rule set.
- Parameters:
createRuleSetRequest-- Returns:
- Result of the CreateRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRuleSet
default CreateRuleSetResponse createRuleSet(Consumer<CreateRuleSetRequest.Builder> createRuleSetRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new rule set.
This is a convenience which creates an instance of the
CreateRuleSetRequest.Builderavoiding the need to create one manually viaCreateRuleSetRequest.builder()- Parameters:
createRuleSetRequest- AConsumerthat will call methods onCreateRuleSetRequest.Builderto create a request.- Returns:
- Result of the CreateRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTrafficPolicy
default CreateTrafficPolicyResponse createTrafficPolicy(CreateTrafficPolicyRequest createTrafficPolicyRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new traffic policy resource.
- Parameters:
createTrafficPolicyRequest-- Returns:
- Result of the CreateTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTrafficPolicy
default CreateTrafficPolicyResponse createTrafficPolicy(Consumer<CreateTrafficPolicyRequest.Builder> createTrafficPolicyRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Provision a new traffic policy resource.
This is a convenience which creates an instance of the
CreateTrafficPolicyRequest.Builderavoiding the need to create one manually viaCreateTrafficPolicyRequest.builder()- Parameters:
createTrafficPolicyRequest- AConsumerthat will call methods onCreateTrafficPolicyRequest.Builderto create a request.- Returns:
- Result of the CreateTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddonInstance
default DeleteAddonInstanceResponse deleteAddonInstance(DeleteAddonInstanceRequest deleteAddonInstanceRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Deletes an Add On instance.
- Parameters:
deleteAddonInstanceRequest-- Returns:
- Result of the DeleteAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddonInstance
default DeleteAddonInstanceResponse deleteAddonInstance(Consumer<DeleteAddonInstanceRequest.Builder> deleteAddonInstanceRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Deletes an Add On instance.
This is a convenience which creates an instance of the
DeleteAddonInstanceRequest.Builderavoiding the need to create one manually viaDeleteAddonInstanceRequest.builder()- Parameters:
deleteAddonInstanceRequest- AConsumerthat will call methods onDeleteAddonInstanceRequest.Builderto create a request.- Returns:
- Result of the DeleteAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddonSubscription
default DeleteAddonSubscriptionResponse deleteAddonSubscription(DeleteAddonSubscriptionRequest deleteAddonSubscriptionRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Deletes an Add On subscription.
- Parameters:
deleteAddonSubscriptionRequest-- Returns:
- Result of the DeleteAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddonSubscription
default DeleteAddonSubscriptionResponse deleteAddonSubscription(Consumer<DeleteAddonSubscriptionRequest.Builder> deleteAddonSubscriptionRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Deletes an Add On subscription.
This is a convenience which creates an instance of the
DeleteAddonSubscriptionRequest.Builderavoiding the need to create one manually viaDeleteAddonSubscriptionRequest.builder()- Parameters:
deleteAddonSubscriptionRequest- AConsumerthat will call methods onDeleteAddonSubscriptionRequest.Builderto create a request.- Returns:
- Result of the DeleteAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddressList
default DeleteAddressListResponse deleteAddressList(DeleteAddressListRequest deleteAddressListRequest) throws AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Deletes an address list.
- Parameters:
deleteAddressListRequest-- Returns:
- Result of the DeleteAddressList operation returned by the service.
- Throws:
AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAddressList
default DeleteAddressListResponse deleteAddressList(Consumer<DeleteAddressListRequest.Builder> deleteAddressListRequest) throws AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Deletes an address list.
This is a convenience which creates an instance of the
DeleteAddressListRequest.Builderavoiding the need to create one manually viaDeleteAddressListRequest.builder()- Parameters:
deleteAddressListRequest- AConsumerthat will call methods onDeleteAddressListRequest.Builderto create a request.- Returns:
- Result of the DeleteAddressList operation returned by the service.
- Throws:
AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteArchive
default DeleteArchiveResponse deleteArchive(DeleteArchiveRequest deleteArchiveRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates deletion of an email archive. This changes the archive state to pending deletion. In this state, no new emails can be added, and existing archived emails become inaccessible (search, export, download). The archive and all of its contents will be permanently deleted 30 days after entering the pending deletion state, regardless of the configured retention period.
- Parameters:
deleteArchiveRequest- The request to initiate deletion of an email archive.- Returns:
- Result of the DeleteArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteArchive
default DeleteArchiveResponse deleteArchive(Consumer<DeleteArchiveRequest.Builder> deleteArchiveRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates deletion of an email archive. This changes the archive state to pending deletion. In this state, no new emails can be added, and existing archived emails become inaccessible (search, export, download). The archive and all of its contents will be permanently deleted 30 days after entering the pending deletion state, regardless of the configured retention period.
This is a convenience which creates an instance of the
DeleteArchiveRequest.Builderavoiding the need to create one manually viaDeleteArchiveRequest.builder()- Parameters:
deleteArchiveRequest- AConsumerthat will call methods onDeleteArchiveRequest.Builderto create a request. The request to initiate deletion of an email archive.- Returns:
- Result of the DeleteArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteIngressPoint
default DeleteIngressPointResponse deleteIngressPoint(DeleteIngressPointRequest deleteIngressPointRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Delete an ingress endpoint resource.
- Parameters:
deleteIngressPointRequest-- Returns:
- Result of the DeleteIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteIngressPoint
default DeleteIngressPointResponse deleteIngressPoint(Consumer<DeleteIngressPointRequest.Builder> deleteIngressPointRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Delete an ingress endpoint resource.
This is a convenience which creates an instance of the
DeleteIngressPointRequest.Builderavoiding the need to create one manually viaDeleteIngressPointRequest.builder()- Parameters:
deleteIngressPointRequest- AConsumerthat will call methods onDeleteIngressPointRequest.Builderto create a request.- Returns:
- Result of the DeleteIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRelay
default DeleteRelayResponse deleteRelay(DeleteRelayRequest deleteRelayRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Deletes an existing relay resource.
- Parameters:
deleteRelayRequest-- Returns:
- Result of the DeleteRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRelay
default DeleteRelayResponse deleteRelay(Consumer<DeleteRelayRequest.Builder> deleteRelayRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Deletes an existing relay resource.
This is a convenience which creates an instance of the
DeleteRelayRequest.Builderavoiding the need to create one manually viaDeleteRelayRequest.builder()- Parameters:
deleteRelayRequest- AConsumerthat will call methods onDeleteRelayRequest.Builderto create a request.- Returns:
- Result of the DeleteRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRuleSet
default DeleteRuleSetResponse deleteRuleSet(DeleteRuleSetRequest deleteRuleSetRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Delete a rule set.
- Parameters:
deleteRuleSetRequest-- Returns:
- Result of the DeleteRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRuleSet
default DeleteRuleSetResponse deleteRuleSet(Consumer<DeleteRuleSetRequest.Builder> deleteRuleSetRequest) throws ValidationException, ConflictException, AwsServiceException, SdkClientException, MailManagerException
Delete a rule set.
This is a convenience which creates an instance of the
DeleteRuleSetRequest.Builderavoiding the need to create one manually viaDeleteRuleSetRequest.builder()- Parameters:
deleteRuleSetRequest- AConsumerthat will call methods onDeleteRuleSetRequest.Builderto create a request.- Returns:
- Result of the DeleteRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrafficPolicy
default DeleteTrafficPolicyResponse deleteTrafficPolicy(DeleteTrafficPolicyRequest deleteTrafficPolicyRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Delete a traffic policy resource.
- Parameters:
deleteTrafficPolicyRequest-- Returns:
- Result of the DeleteTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTrafficPolicy
default DeleteTrafficPolicyResponse deleteTrafficPolicy(Consumer<DeleteTrafficPolicyRequest.Builder> deleteTrafficPolicyRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Delete a traffic policy resource.
This is a convenience which creates an instance of the
DeleteTrafficPolicyRequest.Builderavoiding the need to create one manually viaDeleteTrafficPolicyRequest.builder()- Parameters:
deleteTrafficPolicyRequest- AConsumerthat will call methods onDeleteTrafficPolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterMemberFromAddressList
default DeregisterMemberFromAddressListResponse deregisterMemberFromAddressList(DeregisterMemberFromAddressListRequest deregisterMemberFromAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Removes a member from an address list.
- Parameters:
deregisterMemberFromAddressListRequest-- Returns:
- Result of the DeregisterMemberFromAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterMemberFromAddressList
default DeregisterMemberFromAddressListResponse deregisterMemberFromAddressList(Consumer<DeregisterMemberFromAddressListRequest.Builder> deregisterMemberFromAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Removes a member from an address list.
This is a convenience which creates an instance of the
DeregisterMemberFromAddressListRequest.Builderavoiding the need to create one manually viaDeregisterMemberFromAddressListRequest.builder()- Parameters:
deregisterMemberFromAddressListRequest- AConsumerthat will call methods onDeregisterMemberFromAddressListRequest.Builderto create a request.- Returns:
- Result of the DeregisterMemberFromAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddonInstance
default GetAddonInstanceResponse getAddonInstance(GetAddonInstanceRequest getAddonInstanceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Gets detailed information about an Add On instance.
- Parameters:
getAddonInstanceRequest-- Returns:
- Result of the GetAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddonInstance
default GetAddonInstanceResponse getAddonInstance(Consumer<GetAddonInstanceRequest.Builder> getAddonInstanceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Gets detailed information about an Add On instance.
This is a convenience which creates an instance of the
GetAddonInstanceRequest.Builderavoiding the need to create one manually viaGetAddonInstanceRequest.builder()- Parameters:
getAddonInstanceRequest- AConsumerthat will call methods onGetAddonInstanceRequest.Builderto create a request.- Returns:
- Result of the GetAddonInstance operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddonSubscription
default GetAddonSubscriptionResponse getAddonSubscription(GetAddonSubscriptionRequest getAddonSubscriptionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Gets detailed information about an Add On subscription.
- Parameters:
getAddonSubscriptionRequest-- Returns:
- Result of the GetAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddonSubscription
default GetAddonSubscriptionResponse getAddonSubscription(Consumer<GetAddonSubscriptionRequest.Builder> getAddonSubscriptionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Gets detailed information about an Add On subscription.
This is a convenience which creates an instance of the
GetAddonSubscriptionRequest.Builderavoiding the need to create one manually viaGetAddonSubscriptionRequest.builder()- Parameters:
getAddonSubscriptionRequest- AConsumerthat will call methods onGetAddonSubscriptionRequest.Builderto create a request.- Returns:
- Result of the GetAddonSubscription operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddressList
default GetAddressListResponse getAddressList(GetAddressListRequest getAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of an address list.
- Parameters:
getAddressListRequest-- Returns:
- Result of the GetAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddressList
default GetAddressListResponse getAddressList(Consumer<GetAddressListRequest.Builder> getAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of an address list.
This is a convenience which creates an instance of the
GetAddressListRequest.Builderavoiding the need to create one manually viaGetAddressListRequest.builder()- Parameters:
getAddressListRequest- AConsumerthat will call methods onGetAddressListRequest.Builderto create a request.- Returns:
- Result of the GetAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddressListImportJob
default GetAddressListImportJobResponse getAddressListImportJob(GetAddressListImportJobRequest getAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of an import job.
- Parameters:
getAddressListImportJobRequest-- Returns:
- Result of the GetAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAddressListImportJob
default GetAddressListImportJobResponse getAddressListImportJob(Consumer<GetAddressListImportJobRequest.Builder> getAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of an import job.
This is a convenience which creates an instance of the
GetAddressListImportJobRequest.Builderavoiding the need to create one manually viaGetAddressListImportJobRequest.builder()- Parameters:
getAddressListImportJobRequest- AConsumerthat will call methods onGetAddressListImportJobRequest.Builderto create a request.- Returns:
- Result of the GetAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchive
default GetArchiveResponse getArchive(GetArchiveRequest getArchiveRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the full details and current state of a specified email archive.
- Parameters:
getArchiveRequest- The request to retrieve details of an email archive.- Returns:
- Result of the GetArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchive
default GetArchiveResponse getArchive(Consumer<GetArchiveRequest.Builder> getArchiveRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the full details and current state of a specified email archive.
This is a convenience which creates an instance of the
GetArchiveRequest.Builderavoiding the need to create one manually viaGetArchiveRequest.builder()- Parameters:
getArchiveRequest- AConsumerthat will call methods onGetArchiveRequest.Builderto create a request. The request to retrieve details of an email archive.- Returns:
- Result of the GetArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveExport
default GetArchiveExportResponse getArchiveExport(GetArchiveExportRequest getArchiveExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the details and current status of a specific email archive export job.
- Parameters:
getArchiveExportRequest- The request to retrieve details of a specific archive export job.- Returns:
- Result of the GetArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveExport
default GetArchiveExportResponse getArchiveExport(Consumer<GetArchiveExportRequest.Builder> getArchiveExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the details and current status of a specific email archive export job.
This is a convenience which creates an instance of the
GetArchiveExportRequest.Builderavoiding the need to create one manually viaGetArchiveExportRequest.builder()- Parameters:
getArchiveExportRequest- AConsumerthat will call methods onGetArchiveExportRequest.Builderto create a request. The request to retrieve details of a specific archive export job.- Returns:
- Result of the GetArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveMessage
default GetArchiveMessageResponse getArchiveMessage(GetArchiveMessageRequest getArchiveMessageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive.
- Parameters:
getArchiveMessageRequest- The request to get details of a specific email message stored in an archive.- Returns:
- Result of the GetArchiveMessage operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveMessage
default GetArchiveMessageResponse getArchiveMessage(Consumer<GetArchiveMessageRequest.Builder> getArchiveMessageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive.
This is a convenience which creates an instance of the
GetArchiveMessageRequest.Builderavoiding the need to create one manually viaGetArchiveMessageRequest.builder()- Parameters:
getArchiveMessageRequest- AConsumerthat will call methods onGetArchiveMessageRequest.Builderto create a request. The request to get details of a specific email message stored in an archive.- Returns:
- Result of the GetArchiveMessage operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveMessageContent
default GetArchiveMessageContentResponse getArchiveMessageContent(GetArchiveMessageContentRequest getArchiveMessageContentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns the textual content of a specific email message stored in the archive. Attachments are not included.
- Parameters:
getArchiveMessageContentRequest- The request to get the textual content of a specific email message stored in an archive.- Returns:
- Result of the GetArchiveMessageContent operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveMessageContent
default GetArchiveMessageContentResponse getArchiveMessageContent(Consumer<GetArchiveMessageContentRequest.Builder> getArchiveMessageContentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns the textual content of a specific email message stored in the archive. Attachments are not included.
This is a convenience which creates an instance of the
GetArchiveMessageContentRequest.Builderavoiding the need to create one manually viaGetArchiveMessageContentRequest.builder()- Parameters:
getArchiveMessageContentRequest- AConsumerthat will call methods onGetArchiveMessageContentRequest.Builderto create a request. The request to get the textual content of a specific email message stored in an archive.- Returns:
- Result of the GetArchiveMessageContent operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveSearch
default GetArchiveSearchResponse getArchiveSearch(GetArchiveSearchRequest getArchiveSearchRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the details and current status of a specific email archive search job.
- Parameters:
getArchiveSearchRequest- The request to retrieve details of a specific archive search job.- Returns:
- Result of the GetArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveSearch
default GetArchiveSearchResponse getArchiveSearch(Consumer<GetArchiveSearchRequest.Builder> getArchiveSearchRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the details and current status of a specific email archive search job.
This is a convenience which creates an instance of the
GetArchiveSearchRequest.Builderavoiding the need to create one manually viaGetArchiveSearchRequest.builder()- Parameters:
getArchiveSearchRequest- AConsumerthat will call methods onGetArchiveSearchRequest.Builderto create a request. The request to retrieve details of a specific archive search job.- Returns:
- Result of the GetArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveSearchResults
default GetArchiveSearchResultsResponse getArchiveSearchResults(GetArchiveSearchResultsRequest getArchiveSearchResultsRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns the results of a completed email archive search job.
- Parameters:
getArchiveSearchResultsRequest- The request to retrieve results from a completed archive search job.- Returns:
- Result of the GetArchiveSearchResults operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getArchiveSearchResults
default GetArchiveSearchResultsResponse getArchiveSearchResults(Consumer<GetArchiveSearchResultsRequest.Builder> getArchiveSearchResultsRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns the results of a completed email archive search job.
This is a convenience which creates an instance of the
GetArchiveSearchResultsRequest.Builderavoiding the need to create one manually viaGetArchiveSearchResultsRequest.builder()- Parameters:
getArchiveSearchResultsRequest- AConsumerthat will call methods onGetArchiveSearchResultsRequest.Builderto create a request. The request to retrieve results from a completed archive search job.- Returns:
- Result of the GetArchiveSearchResults operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getIngressPoint
default GetIngressPointResponse getIngressPoint(GetIngressPointRequest getIngressPointRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch ingress endpoint resource attributes.
- Parameters:
getIngressPointRequest-- Returns:
- Result of the GetIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getIngressPoint
default GetIngressPointResponse getIngressPoint(Consumer<GetIngressPointRequest.Builder> getIngressPointRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch ingress endpoint resource attributes.
This is a convenience which creates an instance of the
GetIngressPointRequest.Builderavoiding the need to create one manually viaGetIngressPointRequest.builder()- Parameters:
getIngressPointRequest- AConsumerthat will call methods onGetIngressPointRequest.Builderto create a request.- Returns:
- Result of the GetIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getMemberOfAddressList
default GetMemberOfAddressListResponse getMemberOfAddressList(GetMemberOfAddressListRequest getMemberOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a member in an address list.
- Parameters:
getMemberOfAddressListRequest-- Returns:
- Result of the GetMemberOfAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getMemberOfAddressList
default GetMemberOfAddressListResponse getMemberOfAddressList(Consumer<GetMemberOfAddressListRequest.Builder> getMemberOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a member in an address list.
This is a convenience which creates an instance of the
GetMemberOfAddressListRequest.Builderavoiding the need to create one manually viaGetMemberOfAddressListRequest.builder()- Parameters:
getMemberOfAddressListRequest- AConsumerthat will call methods onGetMemberOfAddressListRequest.Builderto create a request.- Returns:
- Result of the GetMemberOfAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRelay
default GetRelayResponse getRelay(GetRelayRequest getRelayRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch the relay resource and it's attributes.
- Parameters:
getRelayRequest-- Returns:
- Result of the GetRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRelay
default GetRelayResponse getRelay(Consumer<GetRelayRequest.Builder> getRelayRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch the relay resource and it's attributes.
This is a convenience which creates an instance of the
GetRelayRequest.Builderavoiding the need to create one manually viaGetRelayRequest.builder()- Parameters:
getRelayRequest- AConsumerthat will call methods onGetRelayRequest.Builderto create a request.- Returns:
- Result of the GetRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRuleSet
default GetRuleSetResponse getRuleSet(GetRuleSetRequest getRuleSetRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a rule set.
- Parameters:
getRuleSetRequest-- Returns:
- Result of the GetRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRuleSet
default GetRuleSetResponse getRuleSet(Consumer<GetRuleSetRequest.Builder> getRuleSetRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a rule set.
This is a convenience which creates an instance of the
GetRuleSetRequest.Builderavoiding the need to create one manually viaGetRuleSetRequest.builder()- Parameters:
getRuleSetRequest- AConsumerthat will call methods onGetRuleSetRequest.Builderto create a request.- Returns:
- Result of the GetRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTrafficPolicy
default GetTrafficPolicyResponse getTrafficPolicy(GetTrafficPolicyRequest getTrafficPolicyRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a traffic policy resource.
- Parameters:
getTrafficPolicyRequest-- Returns:
- Result of the GetTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTrafficPolicy
default GetTrafficPolicyResponse getTrafficPolicy(Consumer<GetTrafficPolicyRequest.Builder> getTrafficPolicyRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Fetch attributes of a traffic policy resource.
This is a convenience which creates an instance of the
GetTrafficPolicyRequest.Builderavoiding the need to create one manually viaGetTrafficPolicyRequest.builder()- Parameters:
getTrafficPolicyRequest- AConsumerthat will call methods onGetTrafficPolicyRequest.Builderto create a request.- Returns:
- Result of the GetTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonInstances
default ListAddonInstancesResponse listAddonInstances(ListAddonInstancesRequest listAddonInstancesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all Add On instances in your account.
- Parameters:
listAddonInstancesRequest-- Returns:
- Result of the ListAddonInstances operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonInstances
default ListAddonInstancesResponse listAddonInstances(Consumer<ListAddonInstancesRequest.Builder> listAddonInstancesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all Add On instances in your account.
This is a convenience which creates an instance of the
ListAddonInstancesRequest.Builderavoiding the need to create one manually viaListAddonInstancesRequest.builder()- Parameters:
listAddonInstancesRequest- AConsumerthat will call methods onListAddonInstancesRequest.Builderto create a request.- Returns:
- Result of the ListAddonInstances operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonInstancesPaginator
default ListAddonInstancesIterable listAddonInstancesPaginator(ListAddonInstancesRequest listAddonInstancesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client.listAddonInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client .listAddonInstancesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client.listAddonInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest)operation.- Parameters:
listAddonInstancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonInstancesPaginator
default ListAddonInstancesIterable listAddonInstancesPaginator(Consumer<ListAddonInstancesRequest.Builder> listAddonInstancesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client.listAddonInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client .listAddonInstancesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesIterable responses = client.listAddonInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest)operation.
This is a convenience which creates an instance of the
ListAddonInstancesRequest.Builderavoiding the need to create one manually viaListAddonInstancesRequest.builder()- Parameters:
listAddonInstancesRequest- AConsumerthat will call methods onListAddonInstancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonSubscriptions
default ListAddonSubscriptionsResponse listAddonSubscriptions(ListAddonSubscriptionsRequest listAddonSubscriptionsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all Add On subscriptions in your account.
- Parameters:
listAddonSubscriptionsRequest-- Returns:
- Result of the ListAddonSubscriptions operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonSubscriptions
default ListAddonSubscriptionsResponse listAddonSubscriptions(Consumer<ListAddonSubscriptionsRequest.Builder> listAddonSubscriptionsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all Add On subscriptions in your account.
This is a convenience which creates an instance of the
ListAddonSubscriptionsRequest.Builderavoiding the need to create one manually viaListAddonSubscriptionsRequest.builder()- Parameters:
listAddonSubscriptionsRequest- AConsumerthat will call methods onListAddonSubscriptionsRequest.Builderto create a request.- Returns:
- Result of the ListAddonSubscriptions operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonSubscriptionsPaginator
default ListAddonSubscriptionsIterable listAddonSubscriptionsPaginator(ListAddonSubscriptionsRequest listAddonSubscriptionsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client.listAddonSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client .listAddonSubscriptionsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client.listAddonSubscriptionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest)operation.- Parameters:
listAddonSubscriptionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddonSubscriptionsPaginator
default ListAddonSubscriptionsIterable listAddonSubscriptionsPaginator(Consumer<ListAddonSubscriptionsRequest.Builder> listAddonSubscriptionsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client.listAddonSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client .listAddonSubscriptionsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsIterable responses = client.listAddonSubscriptionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest)operation.
This is a convenience which creates an instance of the
ListAddonSubscriptionsRequest.Builderavoiding the need to create one manually viaListAddonSubscriptionsRequest.builder()- Parameters:
listAddonSubscriptionsRequest- AConsumerthat will call methods onListAddonSubscriptionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListImportJobs
default ListAddressListImportJobsResponse listAddressListImportJobs(ListAddressListImportJobsRequest listAddressListImportJobsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists jobs for an address list.
- Parameters:
listAddressListImportJobsRequest-- Returns:
- Result of the ListAddressListImportJobs operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListImportJobs
default ListAddressListImportJobsResponse listAddressListImportJobs(Consumer<ListAddressListImportJobsRequest.Builder> listAddressListImportJobsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists jobs for an address list.
This is a convenience which creates an instance of the
ListAddressListImportJobsRequest.Builderavoiding the need to create one manually viaListAddressListImportJobsRequest.builder()- Parameters:
listAddressListImportJobsRequest- AConsumerthat will call methods onListAddressListImportJobsRequest.Builderto create a request.- Returns:
- Result of the ListAddressListImportJobs operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListImportJobsPaginator
default ListAddressListImportJobsIterable listAddressListImportJobsPaginator(ListAddressListImportJobsRequest listAddressListImportJobsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client.listAddressListImportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client .listAddressListImportJobsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client.listAddressListImportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest)operation.- Parameters:
listAddressListImportJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListImportJobsPaginator
default ListAddressListImportJobsIterable listAddressListImportJobsPaginator(Consumer<ListAddressListImportJobsRequest.Builder> listAddressListImportJobsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client.listAddressListImportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client .listAddressListImportJobsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsIterable responses = client.listAddressListImportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest)operation.
This is a convenience which creates an instance of the
ListAddressListImportJobsRequest.Builderavoiding the need to create one manually viaListAddressListImportJobsRequest.builder()- Parameters:
listAddressListImportJobsRequest- AConsumerthat will call methods onListAddressListImportJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressLists
default ListAddressListsResponse listAddressLists(ListAddressListsRequest listAddressListsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists address lists for this account.
- Parameters:
listAddressListsRequest-- Returns:
- Result of the ListAddressLists operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressLists
default ListAddressListsResponse listAddressLists(Consumer<ListAddressListsRequest.Builder> listAddressListsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists address lists for this account.
This is a convenience which creates an instance of the
ListAddressListsRequest.Builderavoiding the need to create one manually viaListAddressListsRequest.builder()- Parameters:
listAddressListsRequest- AConsumerthat will call methods onListAddressListsRequest.Builderto create a request.- Returns:
- Result of the ListAddressLists operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListsPaginator
default ListAddressListsIterable listAddressListsPaginator(ListAddressListsRequest listAddressListsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client.listAddressListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client .listAddressListsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client.listAddressListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest)operation.- Parameters:
listAddressListsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAddressListsPaginator
default ListAddressListsIterable listAddressListsPaginator(Consumer<ListAddressListsRequest.Builder> listAddressListsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client.listAddressListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client .listAddressListsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListAddressListsIterable responses = client.listAddressListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest)operation.
This is a convenience which creates an instance of the
ListAddressListsRequest.Builderavoiding the need to create one manually viaListAddressListsRequest.builder()- Parameters:
listAddressListsRequest- AConsumerthat will call methods onListAddressListsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveExports
default ListArchiveExportsResponse listArchiveExports(ListArchiveExportsRequest listArchiveExportsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of email archive export jobs.
- Parameters:
listArchiveExportsRequest- The request to list archive export jobs in your account.- Returns:
- Result of the ListArchiveExports operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveExports
default ListArchiveExportsResponse listArchiveExports(Consumer<ListArchiveExportsRequest.Builder> listArchiveExportsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of email archive export jobs.
This is a convenience which creates an instance of the
ListArchiveExportsRequest.Builderavoiding the need to create one manually viaListArchiveExportsRequest.builder()- Parameters:
listArchiveExportsRequest- AConsumerthat will call methods onListArchiveExportsRequest.Builderto create a request. The request to list archive export jobs in your account.- Returns:
- Result of the ListArchiveExports operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveExportsPaginator
default ListArchiveExportsIterable listArchiveExportsPaginator(ListArchiveExportsRequest listArchiveExportsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client.listArchiveExportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client .listArchiveExportsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client.listArchiveExportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest)operation.- Parameters:
listArchiveExportsRequest- The request to list archive export jobs in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveExportsPaginator
default ListArchiveExportsIterable listArchiveExportsPaginator(Consumer<ListArchiveExportsRequest.Builder> listArchiveExportsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client.listArchiveExportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client .listArchiveExportsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsIterable responses = client.listArchiveExportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest)operation.
This is a convenience which creates an instance of the
ListArchiveExportsRequest.Builderavoiding the need to create one manually viaListArchiveExportsRequest.builder()- Parameters:
listArchiveExportsRequest- AConsumerthat will call methods onListArchiveExportsRequest.Builderto create a request. The request to list archive export jobs in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveSearches
default ListArchiveSearchesResponse listArchiveSearches(ListArchiveSearchesRequest listArchiveSearchesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of email archive search jobs.
- Parameters:
listArchiveSearchesRequest- The request to list archive search jobs in your account.- Returns:
- Result of the ListArchiveSearches operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveSearches
default ListArchiveSearchesResponse listArchiveSearches(Consumer<ListArchiveSearchesRequest.Builder> listArchiveSearchesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of email archive search jobs.
This is a convenience which creates an instance of the
ListArchiveSearchesRequest.Builderavoiding the need to create one manually viaListArchiveSearchesRequest.builder()- Parameters:
listArchiveSearchesRequest- AConsumerthat will call methods onListArchiveSearchesRequest.Builderto create a request. The request to list archive search jobs in your account.- Returns:
- Result of the ListArchiveSearches operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveSearchesPaginator
default ListArchiveSearchesIterable listArchiveSearchesPaginator(ListArchiveSearchesRequest listArchiveSearchesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client.listArchiveSearchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client .listArchiveSearchesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client.listArchiveSearchesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest)operation.- Parameters:
listArchiveSearchesRequest- The request to list archive search jobs in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchiveSearchesPaginator
default ListArchiveSearchesIterable listArchiveSearchesPaginator(Consumer<ListArchiveSearchesRequest.Builder> listArchiveSearchesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client.listArchiveSearchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client .listArchiveSearchesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesIterable responses = client.listArchiveSearchesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest)operation.
This is a convenience which creates an instance of the
ListArchiveSearchesRequest.Builderavoiding the need to create one manually viaListArchiveSearchesRequest.builder()- Parameters:
listArchiveSearchesRequest- AConsumerthat will call methods onListArchiveSearchesRequest.Builderto create a request. The request to list archive search jobs in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchives
default ListArchivesResponse listArchives(ListArchivesRequest listArchivesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of all email archives in your account.
- Parameters:
listArchivesRequest- The request to list email archives in your account.- Returns:
- Result of the ListArchives operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchives
default ListArchivesResponse listArchives(Consumer<ListArchivesRequest.Builder> listArchivesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Returns a list of all email archives in your account.
This is a convenience which creates an instance of the
ListArchivesRequest.Builderavoiding the need to create one manually viaListArchivesRequest.builder()- Parameters:
listArchivesRequest- AConsumerthat will call methods onListArchivesRequest.Builderto create a request. The request to list email archives in your account.- Returns:
- Result of the ListArchives operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchivesPaginator
default ListArchivesIterable listArchivesPaginator(ListArchivesRequest listArchivesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest)operation.- Parameters:
listArchivesRequest- The request to list email archives in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArchivesPaginator
default ListArchivesIterable listArchivesPaginator(Consumer<ListArchivesRequest.Builder> listArchivesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListArchivesIterable responses = client.listArchivesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest)operation.
This is a convenience which creates an instance of the
ListArchivesRequest.Builderavoiding the need to create one manually viaListArchivesRequest.builder()- Parameters:
listArchivesRequest- AConsumerthat will call methods onListArchivesRequest.Builderto create a request. The request to list email archives in your account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listIngressPoints
default ListIngressPointsResponse listIngressPoints(ListIngressPointsRequest listIngressPointsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List all ingress endpoint resources.
- Parameters:
listIngressPointsRequest-- Returns:
- Result of the ListIngressPoints operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listIngressPoints
default ListIngressPointsResponse listIngressPoints(Consumer<ListIngressPointsRequest.Builder> listIngressPointsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List all ingress endpoint resources.
This is a convenience which creates an instance of the
ListIngressPointsRequest.Builderavoiding the need to create one manually viaListIngressPointsRequest.builder()- Parameters:
listIngressPointsRequest- AConsumerthat will call methods onListIngressPointsRequest.Builderto create a request.- Returns:
- Result of the ListIngressPoints operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listIngressPointsPaginator
default ListIngressPointsIterable listIngressPointsPaginator(ListIngressPointsRequest listIngressPointsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client.listIngressPointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client .listIngressPointsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client.listIngressPointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest)operation.- Parameters:
listIngressPointsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listIngressPointsPaginator
default ListIngressPointsIterable listIngressPointsPaginator(Consumer<ListIngressPointsRequest.Builder> listIngressPointsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client.listIngressPointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client .listIngressPointsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsIterable responses = client.listIngressPointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest)operation.
This is a convenience which creates an instance of the
ListIngressPointsRequest.Builderavoiding the need to create one manually viaListIngressPointsRequest.builder()- Parameters:
listIngressPointsRequest- AConsumerthat will call methods onListIngressPointsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMembersOfAddressList
default ListMembersOfAddressListResponse listMembersOfAddressList(ListMembersOfAddressListRequest listMembersOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists members of an address list.
- Parameters:
listMembersOfAddressListRequest-- Returns:
- Result of the ListMembersOfAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMembersOfAddressList
default ListMembersOfAddressListResponse listMembersOfAddressList(Consumer<ListMembersOfAddressListRequest.Builder> listMembersOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Lists members of an address list.
This is a convenience which creates an instance of the
ListMembersOfAddressListRequest.Builderavoiding the need to create one manually viaListMembersOfAddressListRequest.builder()- Parameters:
listMembersOfAddressListRequest- AConsumerthat will call methods onListMembersOfAddressListRequest.Builderto create a request.- Returns:
- Result of the ListMembersOfAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMembersOfAddressListPaginator
default ListMembersOfAddressListIterable listMembersOfAddressListPaginator(ListMembersOfAddressListRequest listMembersOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client.listMembersOfAddressListPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client .listMembersOfAddressListPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client.listMembersOfAddressListPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest)operation.- Parameters:
listMembersOfAddressListRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMembersOfAddressListPaginator
default ListMembersOfAddressListIterable listMembersOfAddressListPaginator(Consumer<ListMembersOfAddressListRequest.Builder> listMembersOfAddressListRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client.listMembersOfAddressListPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client .listMembersOfAddressListPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListIterable responses = client.listMembersOfAddressListPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest)operation.
This is a convenience which creates an instance of the
ListMembersOfAddressListRequest.Builderavoiding the need to create one manually viaListMembersOfAddressListRequest.builder()- Parameters:
listMembersOfAddressListRequest- AConsumerthat will call methods onListMembersOfAddressListRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRelays
default ListRelaysResponse listRelays(ListRelaysRequest listRelaysRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all the existing relay resources.
- Parameters:
listRelaysRequest-- Returns:
- Result of the ListRelays operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRelays
default ListRelaysResponse listRelays(Consumer<ListRelaysRequest.Builder> listRelaysRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
Lists all the existing relay resources.
This is a convenience which creates an instance of the
ListRelaysRequest.Builderavoiding the need to create one manually viaListRelaysRequest.builder()- Parameters:
listRelaysRequest- AConsumerthat will call methods onListRelaysRequest.Builderto create a request.- Returns:
- Result of the ListRelays operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRelaysPaginator
default ListRelaysIterable listRelaysPaginator(ListRelaysRequest listRelaysRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest)operation.- Parameters:
listRelaysRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRelaysPaginator
default ListRelaysIterable listRelaysPaginator(Consumer<ListRelaysRequest.Builder> listRelaysRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListRelaysIterable responses = client.listRelaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest)operation.
This is a convenience which creates an instance of the
ListRelaysRequest.Builderavoiding the need to create one manually viaListRelaysRequest.builder()- Parameters:
listRelaysRequest- AConsumerthat will call methods onListRelaysRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleSets
default ListRuleSetsResponse listRuleSets(ListRuleSetsRequest listRuleSetsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List rule sets for this account.
- Parameters:
listRuleSetsRequest-- Returns:
- Result of the ListRuleSets operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleSets
default ListRuleSetsResponse listRuleSets(Consumer<ListRuleSetsRequest.Builder> listRuleSetsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List rule sets for this account.
This is a convenience which creates an instance of the
ListRuleSetsRequest.Builderavoiding the need to create one manually viaListRuleSetsRequest.builder()- Parameters:
listRuleSetsRequest- AConsumerthat will call methods onListRuleSetsRequest.Builderto create a request.- Returns:
- Result of the ListRuleSets operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleSetsPaginator
default ListRuleSetsIterable listRuleSetsPaginator(ListRuleSetsRequest listRuleSetsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest)operation.- Parameters:
listRuleSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleSetsPaginator
default ListRuleSetsIterable listRuleSetsPaginator(Consumer<ListRuleSetsRequest.Builder> listRuleSetsRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsIterable responses = client.listRuleSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest)operation.
This is a convenience which creates an instance of the
ListRuleSetsRequest.Builderavoiding the need to create one manually viaListRuleSetsRequest.builder()- Parameters:
listRuleSetsRequest- AConsumerthat will call methods onListRuleSetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the list of tags (keys and values) assigned to the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Retrieves the list of tags (keys and values) assigned to the resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTrafficPolicies
default ListTrafficPoliciesResponse listTrafficPolicies(ListTrafficPoliciesRequest listTrafficPoliciesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List traffic policy resources.
- Parameters:
listTrafficPoliciesRequest-- Returns:
- Result of the ListTrafficPolicies operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTrafficPolicies
default ListTrafficPoliciesResponse listTrafficPolicies(Consumer<ListTrafficPoliciesRequest.Builder> listTrafficPoliciesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
List traffic policy resources.
This is a convenience which creates an instance of the
ListTrafficPoliciesRequest.Builderavoiding the need to create one manually viaListTrafficPoliciesRequest.builder()- Parameters:
listTrafficPoliciesRequest- AConsumerthat will call methods onListTrafficPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListTrafficPolicies operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTrafficPoliciesPaginator
default ListTrafficPoliciesIterable listTrafficPoliciesPaginator(ListTrafficPoliciesRequest listTrafficPoliciesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client.listTrafficPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client .listTrafficPoliciesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client.listTrafficPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest)operation.- Parameters:
listTrafficPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTrafficPoliciesPaginator
default ListTrafficPoliciesIterable listTrafficPoliciesPaginator(Consumer<ListTrafficPoliciesRequest.Builder> listTrafficPoliciesRequest) throws ValidationException, AwsServiceException, SdkClientException, MailManagerException
This is a variant of
listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client.listTrafficPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client .listTrafficPoliciesPaginator(request); for (software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesIterable responses = client.listTrafficPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of PageSize 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
listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListTrafficPoliciesRequest.Builderavoiding the need to create one manually viaListTrafficPoliciesRequest.builder()- Parameters:
listTrafficPoliciesRequest- AConsumerthat will call methods onListTrafficPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
registerMemberToAddressList
default RegisterMemberToAddressListResponse registerMemberToAddressList(RegisterMemberToAddressListRequest registerMemberToAddressListRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Adds a member to an address list.
- Parameters:
registerMemberToAddressListRequest-- Returns:
- Result of the RegisterMemberToAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
registerMemberToAddressList
default RegisterMemberToAddressListResponse registerMemberToAddressList(Consumer<RegisterMemberToAddressListRequest.Builder> registerMemberToAddressListRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Adds a member to an address list.
This is a convenience which creates an instance of the
RegisterMemberToAddressListRequest.Builderavoiding the need to create one manually viaRegisterMemberToAddressListRequest.builder()- Parameters:
registerMemberToAddressListRequest- AConsumerthat will call methods onRegisterMemberToAddressListRequest.Builderto create a request.- Returns:
- Result of the RegisterMemberToAddressList operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startAddressListImportJob
default StartAddressListImportJobResponse startAddressListImportJob(StartAddressListImportJobRequest startAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Starts an import job for an address list.
- Parameters:
startAddressListImportJobRequest-- Returns:
- Result of the StartAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startAddressListImportJob
default StartAddressListImportJobResponse startAddressListImportJob(Consumer<StartAddressListImportJobRequest.Builder> startAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Starts an import job for an address list.
This is a convenience which creates an instance of the
StartAddressListImportJobRequest.Builderavoiding the need to create one manually viaStartAddressListImportJobRequest.builder()- Parameters:
startAddressListImportJobRequest- AConsumerthat will call methods onStartAddressListImportJobRequest.Builderto create a request.- Returns:
- Result of the StartAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startArchiveExport
default StartArchiveExportResponse startArchiveExport(StartArchiveExportRequest startArchiveExportRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates an export of emails from the specified archive.
- Parameters:
startArchiveExportRequest- The request to initiate an export of emails from an archive.- Returns:
- Result of the StartArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startArchiveExport
default StartArchiveExportResponse startArchiveExport(Consumer<StartArchiveExportRequest.Builder> startArchiveExportRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates an export of emails from the specified archive.
This is a convenience which creates an instance of the
StartArchiveExportRequest.Builderavoiding the need to create one manually viaStartArchiveExportRequest.builder()- Parameters:
startArchiveExportRequest- AConsumerthat will call methods onStartArchiveExportRequest.Builderto create a request. The request to initiate an export of emails from an archive.- Returns:
- Result of the StartArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startArchiveSearch
default StartArchiveSearchResponse startArchiveSearch(StartArchiveSearchRequest startArchiveSearchRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates a search across emails in the specified archive.
- Parameters:
startArchiveSearchRequest- The request to initiate a search across emails in an archive.- Returns:
- Result of the StartArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startArchiveSearch
default StartArchiveSearchResponse startArchiveSearch(Consumer<StartArchiveSearchRequest.Builder> startArchiveSearchRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Initiates a search across emails in the specified archive.
This is a convenience which creates an instance of the
StartArchiveSearchRequest.Builderavoiding the need to create one manually viaStartArchiveSearchRequest.builder()- Parameters:
startArchiveSearchRequest- AConsumerthat will call methods onStartArchiveSearchRequest.Builderto create a request. The request to initiate a search across emails in an archive.- Returns:
- Result of the StartArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopAddressListImportJob
default StopAddressListImportJobResponse stopAddressListImportJob(StopAddressListImportJobRequest stopAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an ongoing import job for an address list.
- Parameters:
stopAddressListImportJobRequest-- Returns:
- Result of the StopAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopAddressListImportJob
default StopAddressListImportJobResponse stopAddressListImportJob(Consumer<StopAddressListImportJobRequest.Builder> stopAddressListImportJobRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an ongoing import job for an address list.
This is a convenience which creates an instance of the
StopAddressListImportJobRequest.Builderavoiding the need to create one manually viaStopAddressListImportJobRequest.builder()- Parameters:
stopAddressListImportJobRequest- AConsumerthat will call methods onStopAddressListImportJobRequest.Builderto create a request.- Returns:
- Result of the StopAddressListImportJob operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopArchiveExport
default StopArchiveExportResponse stopArchiveExport(StopArchiveExportRequest stopArchiveExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an in-progress export of emails from an archive.
- Parameters:
stopArchiveExportRequest- The request to stop an in-progress archive export job.- Returns:
- Result of the StopArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopArchiveExport
default StopArchiveExportResponse stopArchiveExport(Consumer<StopArchiveExportRequest.Builder> stopArchiveExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an in-progress export of emails from an archive.
This is a convenience which creates an instance of the
StopArchiveExportRequest.Builderavoiding the need to create one manually viaStopArchiveExportRequest.builder()- Parameters:
stopArchiveExportRequest- AConsumerthat will call methods onStopArchiveExportRequest.Builderto create a request. The request to stop an in-progress archive export job.- Returns:
- Result of the StopArchiveExport operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopArchiveSearch
default StopArchiveSearchResponse stopArchiveSearch(StopArchiveSearchRequest stopArchiveSearchRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an in-progress archive search job.
- Parameters:
stopArchiveSearchRequest- The request to stop an in-progress archive search job.- Returns:
- Result of the StopArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopArchiveSearch
default StopArchiveSearchResponse stopArchiveSearch(Consumer<StopArchiveSearchRequest.Builder> stopArchiveSearchRequest) throws ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Stops an in-progress archive search job.
This is a convenience which creates an instance of the
StopArchiveSearchRequest.Builderavoiding the need to create one manually viaStopArchiveSearchRequest.builder()- Parameters:
stopArchiveSearchRequest- AConsumerthat will call methods onStopArchiveSearchRequest.Builderto create a request. The request to stop an in-progress archive search job.- Returns:
- Result of the StopArchiveSearch operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Adds one or more tags (keys and values) to a specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Adds one or more tags (keys and values) to a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Remove one or more tags (keys and values) from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Remove one or more tags (keys and values) from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateArchive
default UpdateArchiveResponse updateArchive(UpdateArchiveRequest updateArchiveRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Updates the attributes of an existing email archive.
- Parameters:
updateArchiveRequest- The request to update properties of an existing email archive.- Returns:
- Result of the UpdateArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateArchive
default UpdateArchiveResponse updateArchive(Consumer<UpdateArchiveRequest.Builder> updateArchiveRequest) throws ValidationException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MailManagerException
Updates the attributes of an existing email archive.
This is a convenience which creates an instance of the
UpdateArchiveRequest.Builderavoiding the need to create one manually viaUpdateArchiveRequest.builder()- Parameters:
updateArchiveRequest- AConsumerthat will call methods onUpdateArchiveRequest.Builderto create a request. The request to update properties of an existing email archive.- Returns:
- Result of the UpdateArchive operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.AccessDeniedException- Occurs when a user is denied access to a specific resource or action.ServiceQuotaExceededException- Occurs when an operation exceeds a predefined service quota or limit.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.ThrottlingException- Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateIngressPoint
default UpdateIngressPointResponse updateIngressPoint(UpdateIngressPointRequest updateIngressPointRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of a provisioned ingress endpoint resource.
- Parameters:
updateIngressPointRequest-- Returns:
- Result of the UpdateIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateIngressPoint
default UpdateIngressPointResponse updateIngressPoint(Consumer<UpdateIngressPointRequest.Builder> updateIngressPointRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of a provisioned ingress endpoint resource.
This is a convenience which creates an instance of the
UpdateIngressPointRequest.Builderavoiding the need to create one manually viaUpdateIngressPointRequest.builder()- Parameters:
updateIngressPointRequest- AConsumerthat will call methods onUpdateIngressPointRequest.Builderto create a request.- Returns:
- Result of the UpdateIngressPoint operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRelay
default UpdateRelayResponse updateRelay(UpdateRelayRequest updateRelayRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Updates the attributes of an existing relay resource.
- Parameters:
updateRelayRequest-- Returns:
- Result of the UpdateRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRelay
default UpdateRelayResponse updateRelay(Consumer<UpdateRelayRequest.Builder> updateRelayRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Updates the attributes of an existing relay resource.
This is a convenience which creates an instance of the
UpdateRelayRequest.Builderavoiding the need to create one manually viaUpdateRelayRequest.builder()- Parameters:
updateRelayRequest- AConsumerthat will call methods onUpdateRelayRequest.Builderto create a request.- Returns:
- Result of the UpdateRelay operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRuleSet
default UpdateRuleSetResponse updateRuleSet(UpdateRuleSetRequest updateRuleSetRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of an already provisioned rule set.
- Parameters:
updateRuleSetRequest-- Returns:
- Result of the UpdateRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRuleSet
default UpdateRuleSetResponse updateRuleSet(Consumer<UpdateRuleSetRequest.Builder> updateRuleSetRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of an already provisioned rule set.
This is a convenience which creates an instance of the
UpdateRuleSetRequest.Builderavoiding the need to create one manually viaUpdateRuleSetRequest.builder()- Parameters:
updateRuleSetRequest- AConsumerthat will call methods onUpdateRuleSetRequest.Builderto create a request.- Returns:
- Result of the UpdateRuleSet operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTrafficPolicy
default UpdateTrafficPolicyResponse updateTrafficPolicy(UpdateTrafficPolicyRequest updateTrafficPolicyRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of an already provisioned traffic policy resource.
- Parameters:
updateTrafficPolicyRequest-- Returns:
- Result of the UpdateTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTrafficPolicy
default UpdateTrafficPolicyResponse updateTrafficPolicy(Consumer<UpdateTrafficPolicyRequest.Builder> updateTrafficPolicyRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, MailManagerException
Update attributes of an already provisioned traffic policy resource.
This is a convenience which creates an instance of the
UpdateTrafficPolicyRequest.Builderavoiding the need to create one manually viaUpdateTrafficPolicyRequest.builder()- Parameters:
updateTrafficPolicyRequest- AConsumerthat will call methods onUpdateTrafficPolicyRequest.Builderto create a request.- Returns:
- Result of the UpdateTrafficPolicy operation returned by the service.
- Throws:
ValidationException- The request validation has failed. For details, see the accompanying error message.ConflictException- The request configuration has conflicts. For details, see the accompanying error message.ResourceNotFoundException- Occurs when a requested resource is not found.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.MailManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static MailManagerClient create()
Create aMailManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MailManagerClientBuilder builder()
Create a builder that can be used to configure and create aMailManagerClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default MailManagerServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-