Interface MailManagerAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MailManagerAsyncClient extends AwsClient
Service client for accessing MailManager asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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 Details

  • Method Details

    • createAddonInstance

      default CompletableFuture<CreateAddonInstanceResponse> createAddonInstance(CreateAddonInstanceRequest createAddonInstanceRequest)

      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:
      A Java Future containing the result of the CreateAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddonInstance

      default CompletableFuture<CreateAddonInstanceResponse> createAddonInstance(Consumer<CreateAddonInstanceRequest.Builder> createAddonInstanceRequest)

      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.Builder avoiding the need to create one manually via CreateAddonInstanceRequest.builder()

      Parameters:
      createAddonInstanceRequest - A Consumer that will call methods on CreateAddonInstanceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddonSubscription

      default CompletableFuture<CreateAddonSubscriptionResponse> createAddonSubscription(CreateAddonSubscriptionRequest createAddonSubscriptionRequest)

      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:
      A Java Future containing the result of the CreateAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddonSubscription

      default CompletableFuture<CreateAddonSubscriptionResponse> createAddonSubscription(Consumer<CreateAddonSubscriptionRequest.Builder> createAddonSubscriptionRequest)

      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.Builder avoiding the need to create one manually via CreateAddonSubscriptionRequest.builder()

      Parameters:
      createAddonSubscriptionRequest - A Consumer that will call methods on CreateAddonSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddressList

      default CompletableFuture<CreateAddressListResponse> createAddressList(CreateAddressListRequest createAddressListRequest)

      Creates a new address list.

      Parameters:
      createAddressListRequest -
      Returns:
      A Java Future containing the result of the CreateAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddressList

      default CompletableFuture<CreateAddressListResponse> createAddressList(Consumer<CreateAddressListRequest.Builder> createAddressListRequest)

      Creates a new address list.


      This is a convenience which creates an instance of the CreateAddressListRequest.Builder avoiding the need to create one manually via CreateAddressListRequest.builder()

      Parameters:
      createAddressListRequest - A Consumer that will call methods on CreateAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddressListImportJob

      default CompletableFuture<CreateAddressListImportJobResponse> createAddressListImportJob(CreateAddressListImportJobRequest createAddressListImportJobRequest)

      Creates an import job for an address list.

      Parameters:
      createAddressListImportJobRequest -
      Returns:
      A Java Future containing the result of the CreateAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createAddressListImportJob

      default CompletableFuture<CreateAddressListImportJobResponse> createAddressListImportJob(Consumer<CreateAddressListImportJobRequest.Builder> createAddressListImportJobRequest)

      Creates an import job for an address list.


      This is a convenience which creates an instance of the CreateAddressListImportJobRequest.Builder avoiding the need to create one manually via CreateAddressListImportJobRequest.builder()

      Parameters:
      createAddressListImportJobRequest - A Consumer that will call methods on CreateAddressListImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createArchive

      default CompletableFuture<CreateArchiveResponse> createArchive(CreateArchiveRequest createArchiveRequest)

      Creates a new email archive resource for storing and retaining emails.

      Parameters:
      createArchiveRequest - The request to create a new email archive.
      Returns:
      A Java Future containing the result of the CreateArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createArchive

      default CompletableFuture<CreateArchiveResponse> createArchive(Consumer<CreateArchiveRequest.Builder> createArchiveRequest)

      Creates a new email archive resource for storing and retaining emails.


      This is a convenience which creates an instance of the CreateArchiveRequest.Builder avoiding the need to create one manually via CreateArchiveRequest.builder()

      Parameters:
      createArchiveRequest - A Consumer that will call methods on CreateArchiveRequest.Builder to create a request. The request to create a new email archive.
      Returns:
      A Java Future containing the result of the CreateArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createIngressPoint

      default CompletableFuture<CreateIngressPointResponse> createIngressPoint(CreateIngressPointRequest createIngressPointRequest)

      Provision a new ingress endpoint resource.

      Parameters:
      createIngressPointRequest -
      Returns:
      A Java Future containing the result of the CreateIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createIngressPoint

      default CompletableFuture<CreateIngressPointResponse> createIngressPoint(Consumer<CreateIngressPointRequest.Builder> createIngressPointRequest)

      Provision a new ingress endpoint resource.


      This is a convenience which creates an instance of the CreateIngressPointRequest.Builder avoiding the need to create one manually via CreateIngressPointRequest.builder()

      Parameters:
      createIngressPointRequest - A Consumer that will call methods on CreateIngressPointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRelay

      default CompletableFuture<CreateRelayResponse> createRelay(CreateRelayRequest createRelayRequest)

      Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.

      Parameters:
      createRelayRequest -
      Returns:
      A Java Future containing the result of the CreateRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRelay

      default CompletableFuture<CreateRelayResponse> createRelay(Consumer<CreateRelayRequest.Builder> createRelayRequest)

      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.Builder avoiding the need to create one manually via CreateRelayRequest.builder()

      Parameters:
      createRelayRequest - A Consumer that will call methods on CreateRelayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRuleSet

      default CompletableFuture<CreateRuleSetResponse> createRuleSet(CreateRuleSetRequest createRuleSetRequest)

      Provision a new rule set.

      Parameters:
      createRuleSetRequest -
      Returns:
      A Java Future containing the result of the CreateRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRuleSet

      default CompletableFuture<CreateRuleSetResponse> createRuleSet(Consumer<CreateRuleSetRequest.Builder> createRuleSetRequest)

      Provision a new rule set.


      This is a convenience which creates an instance of the CreateRuleSetRequest.Builder avoiding the need to create one manually via CreateRuleSetRequest.builder()

      Parameters:
      createRuleSetRequest - A Consumer that will call methods on CreateRuleSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createTrafficPolicy

      default CompletableFuture<CreateTrafficPolicyResponse> createTrafficPolicy(CreateTrafficPolicyRequest createTrafficPolicyRequest)

      Provision a new traffic policy resource.

      Parameters:
      createTrafficPolicyRequest -
      Returns:
      A Java Future containing the result of the CreateTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createTrafficPolicy

      default CompletableFuture<CreateTrafficPolicyResponse> createTrafficPolicy(Consumer<CreateTrafficPolicyRequest.Builder> createTrafficPolicyRequest)

      Provision a new traffic policy resource.


      This is a convenience which creates an instance of the CreateTrafficPolicyRequest.Builder avoiding the need to create one manually via CreateTrafficPolicyRequest.builder()

      Parameters:
      createTrafficPolicyRequest - A Consumer that will call methods on CreateTrafficPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddonInstance

      default CompletableFuture<DeleteAddonInstanceResponse> deleteAddonInstance(DeleteAddonInstanceRequest deleteAddonInstanceRequest)

      Deletes an Add On instance.

      Parameters:
      deleteAddonInstanceRequest -
      Returns:
      A Java Future containing the result of the DeleteAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddonInstance

      default CompletableFuture<DeleteAddonInstanceResponse> deleteAddonInstance(Consumer<DeleteAddonInstanceRequest.Builder> deleteAddonInstanceRequest)

      Deletes an Add On instance.


      This is a convenience which creates an instance of the DeleteAddonInstanceRequest.Builder avoiding the need to create one manually via DeleteAddonInstanceRequest.builder()

      Parameters:
      deleteAddonInstanceRequest - A Consumer that will call methods on DeleteAddonInstanceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddonSubscription

      default CompletableFuture<DeleteAddonSubscriptionResponse> deleteAddonSubscription(DeleteAddonSubscriptionRequest deleteAddonSubscriptionRequest)

      Deletes an Add On subscription.

      Parameters:
      deleteAddonSubscriptionRequest -
      Returns:
      A Java Future containing the result of the DeleteAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddonSubscription

      default CompletableFuture<DeleteAddonSubscriptionResponse> deleteAddonSubscription(Consumer<DeleteAddonSubscriptionRequest.Builder> deleteAddonSubscriptionRequest)

      Deletes an Add On subscription.


      This is a convenience which creates an instance of the DeleteAddonSubscriptionRequest.Builder avoiding the need to create one manually via DeleteAddonSubscriptionRequest.builder()

      Parameters:
      deleteAddonSubscriptionRequest - A Consumer that will call methods on DeleteAddonSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddressList

      default CompletableFuture<DeleteAddressListResponse> deleteAddressList(DeleteAddressListRequest deleteAddressListRequest)

      Deletes an address list.

      Parameters:
      deleteAddressListRequest -
      Returns:
      A Java Future containing the result of the DeleteAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteAddressList

      default CompletableFuture<DeleteAddressListResponse> deleteAddressList(Consumer<DeleteAddressListRequest.Builder> deleteAddressListRequest)

      Deletes an address list.


      This is a convenience which creates an instance of the DeleteAddressListRequest.Builder avoiding the need to create one manually via DeleteAddressListRequest.builder()

      Parameters:
      deleteAddressListRequest - A Consumer that will call methods on DeleteAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteArchive

      default CompletableFuture<DeleteArchiveResponse> deleteArchive(DeleteArchiveRequest deleteArchiveRequest)

      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:
      A Java Future containing the result of the DeleteArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteArchive

      default CompletableFuture<DeleteArchiveResponse> deleteArchive(Consumer<DeleteArchiveRequest.Builder> deleteArchiveRequest)

      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.Builder avoiding the need to create one manually via DeleteArchiveRequest.builder()

      Parameters:
      deleteArchiveRequest - A Consumer that will call methods on DeleteArchiveRequest.Builder to create a request. The request to initiate deletion of an email archive.
      Returns:
      A Java Future containing the result of the DeleteArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteIngressPoint

      default CompletableFuture<DeleteIngressPointResponse> deleteIngressPoint(DeleteIngressPointRequest deleteIngressPointRequest)

      Delete an ingress endpoint resource.

      Parameters:
      deleteIngressPointRequest -
      Returns:
      A Java Future containing the result of the DeleteIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteIngressPoint

      default CompletableFuture<DeleteIngressPointResponse> deleteIngressPoint(Consumer<DeleteIngressPointRequest.Builder> deleteIngressPointRequest)

      Delete an ingress endpoint resource.


      This is a convenience which creates an instance of the DeleteIngressPointRequest.Builder avoiding the need to create one manually via DeleteIngressPointRequest.builder()

      Parameters:
      deleteIngressPointRequest - A Consumer that will call methods on DeleteIngressPointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRelay

      default CompletableFuture<DeleteRelayResponse> deleteRelay(DeleteRelayRequest deleteRelayRequest)

      Deletes an existing relay resource.

      Parameters:
      deleteRelayRequest -
      Returns:
      A Java Future containing the result of the DeleteRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRelay

      default CompletableFuture<DeleteRelayResponse> deleteRelay(Consumer<DeleteRelayRequest.Builder> deleteRelayRequest)

      Deletes an existing relay resource.


      This is a convenience which creates an instance of the DeleteRelayRequest.Builder avoiding the need to create one manually via DeleteRelayRequest.builder()

      Parameters:
      deleteRelayRequest - A Consumer that will call methods on DeleteRelayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRuleSet

      default CompletableFuture<DeleteRuleSetResponse> deleteRuleSet(DeleteRuleSetRequest deleteRuleSetRequest)

      Delete a rule set.

      Parameters:
      deleteRuleSetRequest -
      Returns:
      A Java Future containing the result of the DeleteRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRuleSet

      default CompletableFuture<DeleteRuleSetResponse> deleteRuleSet(Consumer<DeleteRuleSetRequest.Builder> deleteRuleSetRequest)

      Delete a rule set.


      This is a convenience which creates an instance of the DeleteRuleSetRequest.Builder avoiding the need to create one manually via DeleteRuleSetRequest.builder()

      Parameters:
      deleteRuleSetRequest - A Consumer that will call methods on DeleteRuleSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteTrafficPolicy

      default CompletableFuture<DeleteTrafficPolicyResponse> deleteTrafficPolicy(DeleteTrafficPolicyRequest deleteTrafficPolicyRequest)

      Delete a traffic policy resource.

      Parameters:
      deleteTrafficPolicyRequest -
      Returns:
      A Java Future containing the result of the DeleteTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteTrafficPolicy

      default CompletableFuture<DeleteTrafficPolicyResponse> deleteTrafficPolicy(Consumer<DeleteTrafficPolicyRequest.Builder> deleteTrafficPolicyRequest)

      Delete a traffic policy resource.


      This is a convenience which creates an instance of the DeleteTrafficPolicyRequest.Builder avoiding the need to create one manually via DeleteTrafficPolicyRequest.builder()

      Parameters:
      deleteTrafficPolicyRequest - A Consumer that will call methods on DeleteTrafficPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deregisterMemberFromAddressList

      default CompletableFuture<DeregisterMemberFromAddressListResponse> deregisterMemberFromAddressList(DeregisterMemberFromAddressListRequest deregisterMemberFromAddressListRequest)

      Removes a member from an address list.

      Parameters:
      deregisterMemberFromAddressListRequest -
      Returns:
      A Java Future containing the result of the DeregisterMemberFromAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deregisterMemberFromAddressList

      default CompletableFuture<DeregisterMemberFromAddressListResponse> deregisterMemberFromAddressList(Consumer<DeregisterMemberFromAddressListRequest.Builder> deregisterMemberFromAddressListRequest)

      Removes a member from an address list.


      This is a convenience which creates an instance of the DeregisterMemberFromAddressListRequest.Builder avoiding the need to create one manually via DeregisterMemberFromAddressListRequest.builder()

      Parameters:
      deregisterMemberFromAddressListRequest - A Consumer that will call methods on DeregisterMemberFromAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterMemberFromAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddonInstance

      default CompletableFuture<GetAddonInstanceResponse> getAddonInstance(GetAddonInstanceRequest getAddonInstanceRequest)

      Gets detailed information about an Add On instance.

      Parameters:
      getAddonInstanceRequest -
      Returns:
      A Java Future containing the result of the GetAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddonInstance

      default CompletableFuture<GetAddonInstanceResponse> getAddonInstance(Consumer<GetAddonInstanceRequest.Builder> getAddonInstanceRequest)

      Gets detailed information about an Add On instance.


      This is a convenience which creates an instance of the GetAddonInstanceRequest.Builder avoiding the need to create one manually via GetAddonInstanceRequest.builder()

      Parameters:
      getAddonInstanceRequest - A Consumer that will call methods on GetAddonInstanceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAddonInstance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddonSubscription

      default CompletableFuture<GetAddonSubscriptionResponse> getAddonSubscription(GetAddonSubscriptionRequest getAddonSubscriptionRequest)

      Gets detailed information about an Add On subscription.

      Parameters:
      getAddonSubscriptionRequest -
      Returns:
      A Java Future containing the result of the GetAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddonSubscription

      default CompletableFuture<GetAddonSubscriptionResponse> getAddonSubscription(Consumer<GetAddonSubscriptionRequest.Builder> getAddonSubscriptionRequest)

      Gets detailed information about an Add On subscription.


      This is a convenience which creates an instance of the GetAddonSubscriptionRequest.Builder avoiding the need to create one manually via GetAddonSubscriptionRequest.builder()

      Parameters:
      getAddonSubscriptionRequest - A Consumer that will call methods on GetAddonSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAddonSubscription operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddressList

      default CompletableFuture<GetAddressListResponse> getAddressList(GetAddressListRequest getAddressListRequest)

      Fetch attributes of an address list.

      Parameters:
      getAddressListRequest -
      Returns:
      A Java Future containing the result of the GetAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddressList

      default CompletableFuture<GetAddressListResponse> getAddressList(Consumer<GetAddressListRequest.Builder> getAddressListRequest)

      Fetch attributes of an address list.


      This is a convenience which creates an instance of the GetAddressListRequest.Builder avoiding the need to create one manually via GetAddressListRequest.builder()

      Parameters:
      getAddressListRequest - A Consumer that will call methods on GetAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddressListImportJob

      default CompletableFuture<GetAddressListImportJobResponse> getAddressListImportJob(GetAddressListImportJobRequest getAddressListImportJobRequest)

      Fetch attributes of an import job.

      Parameters:
      getAddressListImportJobRequest -
      Returns:
      A Java Future containing the result of the GetAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAddressListImportJob

      default CompletableFuture<GetAddressListImportJobResponse> getAddressListImportJob(Consumer<GetAddressListImportJobRequest.Builder> getAddressListImportJobRequest)

      Fetch attributes of an import job.


      This is a convenience which creates an instance of the GetAddressListImportJobRequest.Builder avoiding the need to create one manually via GetAddressListImportJobRequest.builder()

      Parameters:
      getAddressListImportJobRequest - A Consumer that will call methods on GetAddressListImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchive

      default CompletableFuture<GetArchiveResponse> getArchive(GetArchiveRequest getArchiveRequest)

      Retrieves the full details and current state of a specified email archive.

      Parameters:
      getArchiveRequest - The request to retrieve details of an email archive.
      Returns:
      A Java Future containing the result of the GetArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchive

      default CompletableFuture<GetArchiveResponse> getArchive(Consumer<GetArchiveRequest.Builder> getArchiveRequest)

      Retrieves the full details and current state of a specified email archive.


      This is a convenience which creates an instance of the GetArchiveRequest.Builder avoiding the need to create one manually via GetArchiveRequest.builder()

      Parameters:
      getArchiveRequest - A Consumer that will call methods on GetArchiveRequest.Builder to create a request. The request to retrieve details of an email archive.
      Returns:
      A Java Future containing the result of the GetArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveExport

      default CompletableFuture<GetArchiveExportResponse> getArchiveExport(GetArchiveExportRequest getArchiveExportRequest)

      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:
      A Java Future containing the result of the GetArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveExport

      default CompletableFuture<GetArchiveExportResponse> getArchiveExport(Consumer<GetArchiveExportRequest.Builder> getArchiveExportRequest)

      Retrieves the details and current status of a specific email archive export job.


      This is a convenience which creates an instance of the GetArchiveExportRequest.Builder avoiding the need to create one manually via GetArchiveExportRequest.builder()

      Parameters:
      getArchiveExportRequest - A Consumer that will call methods on GetArchiveExportRequest.Builder to create a request. The request to retrieve details of a specific archive export job.
      Returns:
      A Java Future containing the result of the GetArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveMessage

      default CompletableFuture<GetArchiveMessageResponse> getArchiveMessage(GetArchiveMessageRequest getArchiveMessageRequest)

      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:
      A Java Future containing the result of the GetArchiveMessage operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveMessage

      default CompletableFuture<GetArchiveMessageResponse> getArchiveMessage(Consumer<GetArchiveMessageRequest.Builder> getArchiveMessageRequest)

      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.Builder avoiding the need to create one manually via GetArchiveMessageRequest.builder()

      Parameters:
      getArchiveMessageRequest - A Consumer that will call methods on GetArchiveMessageRequest.Builder to create a request. The request to get details of a specific email message stored in an archive.
      Returns:
      A Java Future containing the result of the GetArchiveMessage operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveMessageContent

      default CompletableFuture<GetArchiveMessageContentResponse> getArchiveMessageContent(GetArchiveMessageContentRequest getArchiveMessageContentRequest)

      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:
      A Java Future containing the result of the GetArchiveMessageContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveMessageContent

      default CompletableFuture<GetArchiveMessageContentResponse> getArchiveMessageContent(Consumer<GetArchiveMessageContentRequest.Builder> getArchiveMessageContentRequest)

      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.Builder avoiding the need to create one manually via GetArchiveMessageContentRequest.builder()

      Parameters:
      getArchiveMessageContentRequest - A Consumer that will call methods on GetArchiveMessageContentRequest.Builder to create a request. The request to get the textual content of a specific email message stored in an archive.
      Returns:
      A Java Future containing the result of the GetArchiveMessageContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveSearch

      default CompletableFuture<GetArchiveSearchResponse> getArchiveSearch(GetArchiveSearchRequest getArchiveSearchRequest)

      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:
      A Java Future containing the result of the GetArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveSearch

      default CompletableFuture<GetArchiveSearchResponse> getArchiveSearch(Consumer<GetArchiveSearchRequest.Builder> getArchiveSearchRequest)

      Retrieves the details and current status of a specific email archive search job.


      This is a convenience which creates an instance of the GetArchiveSearchRequest.Builder avoiding the need to create one manually via GetArchiveSearchRequest.builder()

      Parameters:
      getArchiveSearchRequest - A Consumer that will call methods on GetArchiveSearchRequest.Builder to create a request. The request to retrieve details of a specific archive search job.
      Returns:
      A Java Future containing the result of the GetArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveSearchResults

      default CompletableFuture<GetArchiveSearchResultsResponse> getArchiveSearchResults(GetArchiveSearchResultsRequest getArchiveSearchResultsRequest)

      Returns the results of a completed email archive search job.

      Parameters:
      getArchiveSearchResultsRequest - The request to retrieve results from a completed archive search job.
      Returns:
      A Java Future containing the result of the GetArchiveSearchResults operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getArchiveSearchResults

      default CompletableFuture<GetArchiveSearchResultsResponse> getArchiveSearchResults(Consumer<GetArchiveSearchResultsRequest.Builder> getArchiveSearchResultsRequest)

      Returns the results of a completed email archive search job.


      This is a convenience which creates an instance of the GetArchiveSearchResultsRequest.Builder avoiding the need to create one manually via GetArchiveSearchResultsRequest.builder()

      Parameters:
      getArchiveSearchResultsRequest - A Consumer that will call methods on GetArchiveSearchResultsRequest.Builder to create a request. The request to retrieve results from a completed archive search job.
      Returns:
      A Java Future containing the result of the GetArchiveSearchResults operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getIngressPoint

      default CompletableFuture<GetIngressPointResponse> getIngressPoint(GetIngressPointRequest getIngressPointRequest)

      Fetch ingress endpoint resource attributes.

      Parameters:
      getIngressPointRequest -
      Returns:
      A Java Future containing the result of the GetIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getIngressPoint

      default CompletableFuture<GetIngressPointResponse> getIngressPoint(Consumer<GetIngressPointRequest.Builder> getIngressPointRequest)

      Fetch ingress endpoint resource attributes.


      This is a convenience which creates an instance of the GetIngressPointRequest.Builder avoiding the need to create one manually via GetIngressPointRequest.builder()

      Parameters:
      getIngressPointRequest - A Consumer that will call methods on GetIngressPointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getMemberOfAddressList

      default CompletableFuture<GetMemberOfAddressListResponse> getMemberOfAddressList(GetMemberOfAddressListRequest getMemberOfAddressListRequest)

      Fetch attributes of a member in an address list.

      Parameters:
      getMemberOfAddressListRequest -
      Returns:
      A Java Future containing the result of the GetMemberOfAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getMemberOfAddressList

      default CompletableFuture<GetMemberOfAddressListResponse> getMemberOfAddressList(Consumer<GetMemberOfAddressListRequest.Builder> getMemberOfAddressListRequest)

      Fetch attributes of a member in an address list.


      This is a convenience which creates an instance of the GetMemberOfAddressListRequest.Builder avoiding the need to create one manually via GetMemberOfAddressListRequest.builder()

      Parameters:
      getMemberOfAddressListRequest - A Consumer that will call methods on GetMemberOfAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetMemberOfAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRelay

      default CompletableFuture<GetRelayResponse> getRelay(GetRelayRequest getRelayRequest)

      Fetch the relay resource and it's attributes.

      Parameters:
      getRelayRequest -
      Returns:
      A Java Future containing the result of the GetRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRelay

      Fetch the relay resource and it's attributes.


      This is a convenience which creates an instance of the GetRelayRequest.Builder avoiding the need to create one manually via GetRelayRequest.builder()

      Parameters:
      getRelayRequest - A Consumer that will call methods on GetRelayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRuleSet

      default CompletableFuture<GetRuleSetResponse> getRuleSet(GetRuleSetRequest getRuleSetRequest)

      Fetch attributes of a rule set.

      Parameters:
      getRuleSetRequest -
      Returns:
      A Java Future containing the result of the GetRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRuleSet

      default CompletableFuture<GetRuleSetResponse> getRuleSet(Consumer<GetRuleSetRequest.Builder> getRuleSetRequest)

      Fetch attributes of a rule set.


      This is a convenience which creates an instance of the GetRuleSetRequest.Builder avoiding the need to create one manually via GetRuleSetRequest.builder()

      Parameters:
      getRuleSetRequest - A Consumer that will call methods on GetRuleSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getTrafficPolicy

      default CompletableFuture<GetTrafficPolicyResponse> getTrafficPolicy(GetTrafficPolicyRequest getTrafficPolicyRequest)

      Fetch attributes of a traffic policy resource.

      Parameters:
      getTrafficPolicyRequest -
      Returns:
      A Java Future containing the result of the GetTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getTrafficPolicy

      default CompletableFuture<GetTrafficPolicyResponse> getTrafficPolicy(Consumer<GetTrafficPolicyRequest.Builder> getTrafficPolicyRequest)

      Fetch attributes of a traffic policy resource.


      This is a convenience which creates an instance of the GetTrafficPolicyRequest.Builder avoiding the need to create one manually via GetTrafficPolicyRequest.builder()

      Parameters:
      getTrafficPolicyRequest - A Consumer that will call methods on GetTrafficPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonInstances

      default CompletableFuture<ListAddonInstancesResponse> listAddonInstances(ListAddonInstancesRequest listAddonInstancesRequest)

      Lists all Add On instances in your account.

      Parameters:
      listAddonInstancesRequest -
      Returns:
      A Java Future containing the result of the ListAddonInstances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonInstances

      default CompletableFuture<ListAddonInstancesResponse> listAddonInstances(Consumer<ListAddonInstancesRequest.Builder> listAddonInstancesRequest)

      Lists all Add On instances in your account.


      This is a convenience which creates an instance of the ListAddonInstancesRequest.Builder avoiding the need to create one manually via ListAddonInstancesRequest.builder()

      Parameters:
      listAddonInstancesRequest - A Consumer that will call methods on ListAddonInstancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAddonInstances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonInstancesPaginator

      default ListAddonInstancesPublisher listAddonInstancesPaginator(ListAddonInstancesRequest listAddonInstancesRequest)

      This is a variant of listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesPublisher publisher = client.listAddonInstancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesPublisher publisher = client.listAddonInstancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonInstancesPaginator

      default ListAddonInstancesPublisher listAddonInstancesPaginator(Consumer<ListAddonInstancesRequest.Builder> listAddonInstancesRequest)

      This is a variant of listAddonInstances(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesPublisher publisher = client.listAddonInstancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonInstancesPublisher publisher = client.listAddonInstancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddonInstancesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListAddonInstancesRequest.builder()

      Parameters:
      listAddonInstancesRequest - A Consumer that will call methods on ListAddonInstancesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonSubscriptions

      default CompletableFuture<ListAddonSubscriptionsResponse> listAddonSubscriptions(ListAddonSubscriptionsRequest listAddonSubscriptionsRequest)

      Lists all Add On subscriptions in your account.

      Parameters:
      listAddonSubscriptionsRequest -
      Returns:
      A Java Future containing the result of the ListAddonSubscriptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonSubscriptions

      default CompletableFuture<ListAddonSubscriptionsResponse> listAddonSubscriptions(Consumer<ListAddonSubscriptionsRequest.Builder> listAddonSubscriptionsRequest)

      Lists all Add On subscriptions in your account.


      This is a convenience which creates an instance of the ListAddonSubscriptionsRequest.Builder avoiding the need to create one manually via ListAddonSubscriptionsRequest.builder()

      Parameters:
      listAddonSubscriptionsRequest - A Consumer that will call methods on ListAddonSubscriptionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAddonSubscriptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonSubscriptionsPaginator

      default ListAddonSubscriptionsPublisher listAddonSubscriptionsPaginator(ListAddonSubscriptionsRequest listAddonSubscriptionsRequest)

      This is a variant of listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsPublisher publisher = client.listAddonSubscriptionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsPublisher publisher = client.listAddonSubscriptionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddonSubscriptionsPaginator

      default ListAddonSubscriptionsPublisher listAddonSubscriptionsPaginator(Consumer<ListAddonSubscriptionsRequest.Builder> listAddonSubscriptionsRequest)

      This is a variant of listAddonSubscriptions(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsPublisher publisher = client.listAddonSubscriptionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddonSubscriptionsPublisher publisher = client.listAddonSubscriptionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddonSubscriptionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListAddonSubscriptionsRequest.builder()

      Parameters:
      listAddonSubscriptionsRequest - A Consumer that will call methods on ListAddonSubscriptionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListImportJobs

      default CompletableFuture<ListAddressListImportJobsResponse> listAddressListImportJobs(ListAddressListImportJobsRequest listAddressListImportJobsRequest)

      Lists jobs for an address list.

      Parameters:
      listAddressListImportJobsRequest -
      Returns:
      A Java Future containing the result of the ListAddressListImportJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListImportJobs

      default CompletableFuture<ListAddressListImportJobsResponse> listAddressListImportJobs(Consumer<ListAddressListImportJobsRequest.Builder> listAddressListImportJobsRequest)

      Lists jobs for an address list.


      This is a convenience which creates an instance of the ListAddressListImportJobsRequest.Builder avoiding the need to create one manually via ListAddressListImportJobsRequest.builder()

      Parameters:
      listAddressListImportJobsRequest - A Consumer that will call methods on ListAddressListImportJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAddressListImportJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListImportJobsPaginator

      default ListAddressListImportJobsPublisher listAddressListImportJobsPaginator(ListAddressListImportJobsRequest listAddressListImportJobsRequest)

      This is a variant of listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsPublisher publisher = client.listAddressListImportJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsPublisher publisher = client.listAddressListImportJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListImportJobsPaginator

      default ListAddressListImportJobsPublisher listAddressListImportJobsPaginator(Consumer<ListAddressListImportJobsRequest.Builder> listAddressListImportJobsRequest)

      This is a variant of listAddressListImportJobs(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsPublisher publisher = client.listAddressListImportJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListImportJobsPublisher publisher = client.listAddressListImportJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddressListImportJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListAddressListImportJobsRequest.builder()

      Parameters:
      listAddressListImportJobsRequest - A Consumer that will call methods on ListAddressListImportJobsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressLists

      default CompletableFuture<ListAddressListsResponse> listAddressLists(ListAddressListsRequest listAddressListsRequest)

      Lists address lists for this account.

      Parameters:
      listAddressListsRequest -
      Returns:
      A Java Future containing the result of the ListAddressLists operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressLists

      default CompletableFuture<ListAddressListsResponse> listAddressLists(Consumer<ListAddressListsRequest.Builder> listAddressListsRequest)

      Lists address lists for this account.


      This is a convenience which creates an instance of the ListAddressListsRequest.Builder avoiding the need to create one manually via ListAddressListsRequest.builder()

      Parameters:
      listAddressListsRequest - A Consumer that will call methods on ListAddressListsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAddressLists operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListsPaginator

      default ListAddressListsPublisher listAddressListsPaginator(ListAddressListsRequest listAddressListsRequest)

      This is a variant of listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsPublisher publisher = client.listAddressListsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsPublisher publisher = client.listAddressListsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listAddressListsPaginator

      default ListAddressListsPublisher listAddressListsPaginator(Consumer<ListAddressListsRequest.Builder> listAddressListsRequest)

      This is a variant of listAddressLists(software.amazon.awssdk.services.mailmanager.model.ListAddressListsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsPublisher publisher = client.listAddressListsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListAddressListsPublisher publisher = client.listAddressListsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListAddressListsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListAddressListsRequest.builder()

      Parameters:
      listAddressListsRequest - A Consumer that will call methods on ListAddressListsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveExports

      default CompletableFuture<ListArchiveExportsResponse> listArchiveExports(ListArchiveExportsRequest listArchiveExportsRequest)

      Returns a list of email archive export jobs.

      Parameters:
      listArchiveExportsRequest - The request to list archive export jobs in your account.
      Returns:
      A Java Future containing the result of the ListArchiveExports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveExports

      default CompletableFuture<ListArchiveExportsResponse> listArchiveExports(Consumer<ListArchiveExportsRequest.Builder> listArchiveExportsRequest)

      Returns a list of email archive export jobs.


      This is a convenience which creates an instance of the ListArchiveExportsRequest.Builder avoiding the need to create one manually via ListArchiveExportsRequest.builder()

      Parameters:
      listArchiveExportsRequest - A Consumer that will call methods on ListArchiveExportsRequest.Builder to create a request. The request to list archive export jobs in your account.
      Returns:
      A Java Future containing the result of the ListArchiveExports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveExportsPaginator

      default ListArchiveExportsPublisher listArchiveExportsPaginator(ListArchiveExportsRequest listArchiveExportsRequest)

      This is a variant of listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsPublisher publisher = client.listArchiveExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsPublisher publisher = client.listArchiveExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveExportsPaginator

      default ListArchiveExportsPublisher listArchiveExportsPaginator(Consumer<ListArchiveExportsRequest.Builder> listArchiveExportsRequest)

      This is a variant of listArchiveExports(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsPublisher publisher = client.listArchiveExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveExportsPublisher publisher = client.listArchiveExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchiveExportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListArchiveExportsRequest.builder()

      Parameters:
      listArchiveExportsRequest - A Consumer that will call methods on ListArchiveExportsRequest.Builder to create a request. The request to list archive export jobs in your account.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveSearches

      default CompletableFuture<ListArchiveSearchesResponse> listArchiveSearches(ListArchiveSearchesRequest listArchiveSearchesRequest)

      Returns a list of email archive search jobs.

      Parameters:
      listArchiveSearchesRequest - The request to list archive search jobs in your account.
      Returns:
      A Java Future containing the result of the ListArchiveSearches operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveSearches

      default CompletableFuture<ListArchiveSearchesResponse> listArchiveSearches(Consumer<ListArchiveSearchesRequest.Builder> listArchiveSearchesRequest)

      Returns a list of email archive search jobs.


      This is a convenience which creates an instance of the ListArchiveSearchesRequest.Builder avoiding the need to create one manually via ListArchiveSearchesRequest.builder()

      Parameters:
      listArchiveSearchesRequest - A Consumer that will call methods on ListArchiveSearchesRequest.Builder to create a request. The request to list archive search jobs in your account.
      Returns:
      A Java Future containing the result of the ListArchiveSearches operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveSearchesPaginator

      default ListArchiveSearchesPublisher listArchiveSearchesPaginator(ListArchiveSearchesRequest listArchiveSearchesRequest)

      This is a variant of listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesPublisher publisher = client.listArchiveSearchesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesPublisher publisher = client.listArchiveSearchesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchiveSearchesPaginator

      default ListArchiveSearchesPublisher listArchiveSearchesPaginator(Consumer<ListArchiveSearchesRequest.Builder> listArchiveSearchesRequest)

      This is a variant of listArchiveSearches(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesPublisher publisher = client.listArchiveSearchesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchiveSearchesPublisher publisher = client.listArchiveSearchesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchiveSearchesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListArchiveSearchesRequest.builder()

      Parameters:
      listArchiveSearchesRequest - A Consumer that will call methods on ListArchiveSearchesRequest.Builder to create a request. The request to list archive search jobs in your account.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchives

      default CompletableFuture<ListArchivesResponse> listArchives(ListArchivesRequest listArchivesRequest)

      Returns a list of all email archives in your account.

      Parameters:
      listArchivesRequest - The request to list email archives in your account.
      Returns:
      A Java Future containing the result of the ListArchives operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchives

      default CompletableFuture<ListArchivesResponse> listArchives(Consumer<ListArchivesRequest.Builder> listArchivesRequest)

      Returns a list of all email archives in your account.


      This is a convenience which creates an instance of the ListArchivesRequest.Builder avoiding the need to create one manually via ListArchivesRequest.builder()

      Parameters:
      listArchivesRequest - A Consumer that will call methods on ListArchivesRequest.Builder to create a request. The request to list email archives in your account.
      Returns:
      A Java Future containing the result of the ListArchives operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchivesPaginator

      default ListArchivesPublisher listArchivesPaginator(ListArchivesRequest listArchivesRequest)

      This is a variant of listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchivesPublisher publisher = client.listArchivesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchivesPublisher publisher = client.listArchivesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArchivesPaginator

      default ListArchivesPublisher listArchivesPaginator(Consumer<ListArchivesRequest.Builder> listArchivesRequest)

      This is a variant of listArchives(software.amazon.awssdk.services.mailmanager.model.ListArchivesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchivesPublisher publisher = client.listArchivesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListArchivesPublisher publisher = client.listArchivesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListArchivesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListArchivesRequest.builder()

      Parameters:
      listArchivesRequest - A Consumer that will call methods on ListArchivesRequest.Builder to create a request. The request to list email archives in your account.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listIngressPoints

      default CompletableFuture<ListIngressPointsResponse> listIngressPoints(ListIngressPointsRequest listIngressPointsRequest)

      List all ingress endpoint resources.

      Parameters:
      listIngressPointsRequest -
      Returns:
      A Java Future containing the result of the ListIngressPoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listIngressPoints

      default CompletableFuture<ListIngressPointsResponse> listIngressPoints(Consumer<ListIngressPointsRequest.Builder> listIngressPointsRequest)

      List all ingress endpoint resources.


      This is a convenience which creates an instance of the ListIngressPointsRequest.Builder avoiding the need to create one manually via ListIngressPointsRequest.builder()

      Parameters:
      listIngressPointsRequest - A Consumer that will call methods on ListIngressPointsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIngressPoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listIngressPointsPaginator

      default ListIngressPointsPublisher listIngressPointsPaginator(ListIngressPointsRequest listIngressPointsRequest)

      This is a variant of listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsPublisher publisher = client.listIngressPointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsPublisher publisher = client.listIngressPointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listIngressPointsPaginator

      default ListIngressPointsPublisher listIngressPointsPaginator(Consumer<ListIngressPointsRequest.Builder> listIngressPointsRequest)

      This is a variant of listIngressPoints(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsPublisher publisher = client.listIngressPointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListIngressPointsPublisher publisher = client.listIngressPointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListIngressPointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListIngressPointsRequest.builder()

      Parameters:
      listIngressPointsRequest - A Consumer that will call methods on ListIngressPointsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listMembersOfAddressList

      default CompletableFuture<ListMembersOfAddressListResponse> listMembersOfAddressList(ListMembersOfAddressListRequest listMembersOfAddressListRequest)

      Lists members of an address list.

      Parameters:
      listMembersOfAddressListRequest -
      Returns:
      A Java Future containing the result of the ListMembersOfAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listMembersOfAddressList

      default CompletableFuture<ListMembersOfAddressListResponse> listMembersOfAddressList(Consumer<ListMembersOfAddressListRequest.Builder> listMembersOfAddressListRequest)

      Lists members of an address list.


      This is a convenience which creates an instance of the ListMembersOfAddressListRequest.Builder avoiding the need to create one manually via ListMembersOfAddressListRequest.builder()

      Parameters:
      listMembersOfAddressListRequest - A Consumer that will call methods on ListMembersOfAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListMembersOfAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listMembersOfAddressListPaginator

      default ListMembersOfAddressListPublisher listMembersOfAddressListPaginator(ListMembersOfAddressListRequest listMembersOfAddressListRequest)

      This is a variant of listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListPublisher publisher = client.listMembersOfAddressListPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListPublisher publisher = client.listMembersOfAddressListPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listMembersOfAddressListPaginator

      default ListMembersOfAddressListPublisher listMembersOfAddressListPaginator(Consumer<ListMembersOfAddressListRequest.Builder> listMembersOfAddressListRequest)

      This is a variant of listMembersOfAddressList(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListPublisher publisher = client.listMembersOfAddressListPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListMembersOfAddressListPublisher publisher = client.listMembersOfAddressListPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListMembersOfAddressListResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListMembersOfAddressListRequest.builder()

      Parameters:
      listMembersOfAddressListRequest - A Consumer that will call methods on ListMembersOfAddressListRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRelays

      default CompletableFuture<ListRelaysResponse> listRelays(ListRelaysRequest listRelaysRequest)

      Lists all the existing relay resources.

      Parameters:
      listRelaysRequest -
      Returns:
      A Java Future containing the result of the ListRelays operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRelays

      default CompletableFuture<ListRelaysResponse> listRelays(Consumer<ListRelaysRequest.Builder> listRelaysRequest)

      Lists all the existing relay resources.


      This is a convenience which creates an instance of the ListRelaysRequest.Builder avoiding the need to create one manually via ListRelaysRequest.builder()

      Parameters:
      listRelaysRequest - A Consumer that will call methods on ListRelaysRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRelays operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRelaysPaginator

      default ListRelaysPublisher listRelaysPaginator(ListRelaysRequest listRelaysRequest)

      This is a variant of listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRelaysPublisher publisher = client.listRelaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRelaysPublisher publisher = client.listRelaysPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRelaysPaginator

      default ListRelaysPublisher listRelaysPaginator(Consumer<ListRelaysRequest.Builder> listRelaysRequest)

      This is a variant of listRelays(software.amazon.awssdk.services.mailmanager.model.ListRelaysRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRelaysPublisher publisher = client.listRelaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRelaysPublisher publisher = client.listRelaysPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListRelaysResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListRelaysRequest.builder()

      Parameters:
      listRelaysRequest - A Consumer that will call methods on ListRelaysRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuleSets

      default CompletableFuture<ListRuleSetsResponse> listRuleSets(ListRuleSetsRequest listRuleSetsRequest)

      List rule sets for this account.

      Parameters:
      listRuleSetsRequest -
      Returns:
      A Java Future containing the result of the ListRuleSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuleSets

      default CompletableFuture<ListRuleSetsResponse> listRuleSets(Consumer<ListRuleSetsRequest.Builder> listRuleSetsRequest)

      List rule sets for this account.


      This is a convenience which creates an instance of the ListRuleSetsRequest.Builder avoiding the need to create one manually via ListRuleSetsRequest.builder()

      Parameters:
      listRuleSetsRequest - A Consumer that will call methods on ListRuleSetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRuleSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuleSetsPaginator

      default ListRuleSetsPublisher listRuleSetsPaginator(ListRuleSetsRequest listRuleSetsRequest)

      This is a variant of listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsPublisher publisher = client.listRuleSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsPublisher publisher = client.listRuleSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuleSetsPaginator

      default ListRuleSetsPublisher listRuleSetsPaginator(Consumer<ListRuleSetsRequest.Builder> listRuleSetsRequest)

      This is a variant of listRuleSets(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsPublisher publisher = client.listRuleSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListRuleSetsPublisher publisher = client.listRuleSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListRuleSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListRuleSetsRequest.builder()

      Parameters:
      listRuleSetsRequest - A Consumer that will call methods on ListRuleSetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Retrieves the list of tags (keys and values) assigned to the resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Retrieves the list of tags (keys and values) assigned to the resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTrafficPolicies

      default CompletableFuture<ListTrafficPoliciesResponse> listTrafficPolicies(ListTrafficPoliciesRequest listTrafficPoliciesRequest)

      List traffic policy resources.

      Parameters:
      listTrafficPoliciesRequest -
      Returns:
      A Java Future containing the result of the ListTrafficPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTrafficPolicies

      default CompletableFuture<ListTrafficPoliciesResponse> listTrafficPolicies(Consumer<ListTrafficPoliciesRequest.Builder> listTrafficPoliciesRequest)

      List traffic policy resources.


      This is a convenience which creates an instance of the ListTrafficPoliciesRequest.Builder avoiding the need to create one manually via ListTrafficPoliciesRequest.builder()

      Parameters:
      listTrafficPoliciesRequest - A Consumer that will call methods on ListTrafficPoliciesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTrafficPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTrafficPoliciesPaginator

      default ListTrafficPoliciesPublisher listTrafficPoliciesPaginator(ListTrafficPoliciesRequest listTrafficPoliciesRequest)

      This is a variant of listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesPublisher publisher = client.listTrafficPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesPublisher publisher = client.listTrafficPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTrafficPoliciesPaginator

      default ListTrafficPoliciesPublisher listTrafficPoliciesPaginator(Consumer<ListTrafficPoliciesRequest.Builder> listTrafficPoliciesRequest)

      This is a variant of listTrafficPolicies(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesPublisher publisher = client.listTrafficPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mailmanager.paginators.ListTrafficPoliciesPublisher publisher = client.listTrafficPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mailmanager.model.ListTrafficPoliciesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of 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.Builder avoiding the need to create one manually via ListTrafficPoliciesRequest.builder()

      Parameters:
      listTrafficPoliciesRequest - A Consumer that will call methods on ListTrafficPoliciesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • registerMemberToAddressList

      default CompletableFuture<RegisterMemberToAddressListResponse> registerMemberToAddressList(RegisterMemberToAddressListRequest registerMemberToAddressListRequest)

      Adds a member to an address list.

      Parameters:
      registerMemberToAddressListRequest -
      Returns:
      A Java Future containing the result of the RegisterMemberToAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • registerMemberToAddressList

      default CompletableFuture<RegisterMemberToAddressListResponse> registerMemberToAddressList(Consumer<RegisterMemberToAddressListRequest.Builder> registerMemberToAddressListRequest)

      Adds a member to an address list.


      This is a convenience which creates an instance of the RegisterMemberToAddressListRequest.Builder avoiding the need to create one manually via RegisterMemberToAddressListRequest.builder()

      Parameters:
      registerMemberToAddressListRequest - A Consumer that will call methods on RegisterMemberToAddressListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterMemberToAddressList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startAddressListImportJob

      default CompletableFuture<StartAddressListImportJobResponse> startAddressListImportJob(StartAddressListImportJobRequest startAddressListImportJobRequest)

      Starts an import job for an address list.

      Parameters:
      startAddressListImportJobRequest -
      Returns:
      A Java Future containing the result of the StartAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startAddressListImportJob

      default CompletableFuture<StartAddressListImportJobResponse> startAddressListImportJob(Consumer<StartAddressListImportJobRequest.Builder> startAddressListImportJobRequest)

      Starts an import job for an address list.


      This is a convenience which creates an instance of the StartAddressListImportJobRequest.Builder avoiding the need to create one manually via StartAddressListImportJobRequest.builder()

      Parameters:
      startAddressListImportJobRequest - A Consumer that will call methods on StartAddressListImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startArchiveExport

      default CompletableFuture<StartArchiveExportResponse> startArchiveExport(StartArchiveExportRequest startArchiveExportRequest)

      Initiates an export of emails from the specified archive.

      Parameters:
      startArchiveExportRequest - The request to initiate an export of emails from an archive.
      Returns:
      A Java Future containing the result of the StartArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startArchiveExport

      default CompletableFuture<StartArchiveExportResponse> startArchiveExport(Consumer<StartArchiveExportRequest.Builder> startArchiveExportRequest)

      Initiates an export of emails from the specified archive.


      This is a convenience which creates an instance of the StartArchiveExportRequest.Builder avoiding the need to create one manually via StartArchiveExportRequest.builder()

      Parameters:
      startArchiveExportRequest - A Consumer that will call methods on StartArchiveExportRequest.Builder to create a request. The request to initiate an export of emails from an archive.
      Returns:
      A Java Future containing the result of the StartArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startArchiveSearch

      default CompletableFuture<StartArchiveSearchResponse> startArchiveSearch(StartArchiveSearchRequest startArchiveSearchRequest)

      Initiates a search across emails in the specified archive.

      Parameters:
      startArchiveSearchRequest - The request to initiate a search across emails in an archive.
      Returns:
      A Java Future containing the result of the StartArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • startArchiveSearch

      default CompletableFuture<StartArchiveSearchResponse> startArchiveSearch(Consumer<StartArchiveSearchRequest.Builder> startArchiveSearchRequest)

      Initiates a search across emails in the specified archive.


      This is a convenience which creates an instance of the StartArchiveSearchRequest.Builder avoiding the need to create one manually via StartArchiveSearchRequest.builder()

      Parameters:
      startArchiveSearchRequest - A Consumer that will call methods on StartArchiveSearchRequest.Builder to create a request. The request to initiate a search across emails in an archive.
      Returns:
      A Java Future containing the result of the StartArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopAddressListImportJob

      default CompletableFuture<StopAddressListImportJobResponse> stopAddressListImportJob(StopAddressListImportJobRequest stopAddressListImportJobRequest)

      Stops an ongoing import job for an address list.

      Parameters:
      stopAddressListImportJobRequest -
      Returns:
      A Java Future containing the result of the StopAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopAddressListImportJob

      default CompletableFuture<StopAddressListImportJobResponse> stopAddressListImportJob(Consumer<StopAddressListImportJobRequest.Builder> stopAddressListImportJobRequest)

      Stops an ongoing import job for an address list.


      This is a convenience which creates an instance of the StopAddressListImportJobRequest.Builder avoiding the need to create one manually via StopAddressListImportJobRequest.builder()

      Parameters:
      stopAddressListImportJobRequest - A Consumer that will call methods on StopAddressListImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopAddressListImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopArchiveExport

      default CompletableFuture<StopArchiveExportResponse> stopArchiveExport(StopArchiveExportRequest stopArchiveExportRequest)

      Stops an in-progress export of emails from an archive.

      Parameters:
      stopArchiveExportRequest - The request to stop an in-progress archive export job.
      Returns:
      A Java Future containing the result of the StopArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopArchiveExport

      default CompletableFuture<StopArchiveExportResponse> stopArchiveExport(Consumer<StopArchiveExportRequest.Builder> stopArchiveExportRequest)

      Stops an in-progress export of emails from an archive.


      This is a convenience which creates an instance of the StopArchiveExportRequest.Builder avoiding the need to create one manually via StopArchiveExportRequest.builder()

      Parameters:
      stopArchiveExportRequest - A Consumer that will call methods on StopArchiveExportRequest.Builder to create a request. The request to stop an in-progress archive export job.
      Returns:
      A Java Future containing the result of the StopArchiveExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopArchiveSearch

      default CompletableFuture<StopArchiveSearchResponse> stopArchiveSearch(StopArchiveSearchRequest stopArchiveSearchRequest)

      Stops an in-progress archive search job.

      Parameters:
      stopArchiveSearchRequest - The request to stop an in-progress archive search job.
      Returns:
      A Java Future containing the result of the StopArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopArchiveSearch

      default CompletableFuture<StopArchiveSearchResponse> stopArchiveSearch(Consumer<StopArchiveSearchRequest.Builder> stopArchiveSearchRequest)

      Stops an in-progress archive search job.


      This is a convenience which creates an instance of the StopArchiveSearchRequest.Builder avoiding the need to create one manually via StopArchiveSearchRequest.builder()

      Parameters:
      stopArchiveSearchRequest - A Consumer that will call methods on StopArchiveSearchRequest.Builder to create a request. The request to stop an in-progress archive search job.
      Returns:
      A Java Future containing the result of the StopArchiveSearch operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds one or more tags (keys and values) to a specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds one or more tags (keys and values) to a specified resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Remove one or more tags (keys and values) from a specified resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Remove one or more tags (keys and values) from a specified resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateArchive

      default CompletableFuture<UpdateArchiveResponse> updateArchive(UpdateArchiveRequest updateArchiveRequest)

      Updates the attributes of an existing email archive.

      Parameters:
      updateArchiveRequest - The request to update properties of an existing email archive.
      Returns:
      A Java Future containing the result of the UpdateArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateArchive

      default CompletableFuture<UpdateArchiveResponse> updateArchive(Consumer<UpdateArchiveRequest.Builder> updateArchiveRequest)

      Updates the attributes of an existing email archive.


      This is a convenience which creates an instance of the UpdateArchiveRequest.Builder avoiding the need to create one manually via UpdateArchiveRequest.builder()

      Parameters:
      updateArchiveRequest - A Consumer that will call methods on UpdateArchiveRequest.Builder to create a request. The request to update properties of an existing email archive.
      Returns:
      A Java Future containing the result of the UpdateArchive operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateIngressPoint

      default CompletableFuture<UpdateIngressPointResponse> updateIngressPoint(UpdateIngressPointRequest updateIngressPointRequest)

      Update attributes of a provisioned ingress endpoint resource.

      Parameters:
      updateIngressPointRequest -
      Returns:
      A Java Future containing the result of the UpdateIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateIngressPoint

      default CompletableFuture<UpdateIngressPointResponse> updateIngressPoint(Consumer<UpdateIngressPointRequest.Builder> updateIngressPointRequest)

      Update attributes of a provisioned ingress endpoint resource.


      This is a convenience which creates an instance of the UpdateIngressPointRequest.Builder avoiding the need to create one manually via UpdateIngressPointRequest.builder()

      Parameters:
      updateIngressPointRequest - A Consumer that will call methods on UpdateIngressPointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateIngressPoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateRelay

      default CompletableFuture<UpdateRelayResponse> updateRelay(UpdateRelayRequest updateRelayRequest)

      Updates the attributes of an existing relay resource.

      Parameters:
      updateRelayRequest -
      Returns:
      A Java Future containing the result of the UpdateRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateRelay

      default CompletableFuture<UpdateRelayResponse> updateRelay(Consumer<UpdateRelayRequest.Builder> updateRelayRequest)

      Updates the attributes of an existing relay resource.


      This is a convenience which creates an instance of the UpdateRelayRequest.Builder avoiding the need to create one manually via UpdateRelayRequest.builder()

      Parameters:
      updateRelayRequest - A Consumer that will call methods on UpdateRelayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRelay operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateRuleSet

      default CompletableFuture<UpdateRuleSetResponse> updateRuleSet(UpdateRuleSetRequest updateRuleSetRequest)

      Update attributes of an already provisioned rule set.

      Parameters:
      updateRuleSetRequest -
      Returns:
      A Java Future containing the result of the UpdateRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateRuleSet

      default CompletableFuture<UpdateRuleSetResponse> updateRuleSet(Consumer<UpdateRuleSetRequest.Builder> updateRuleSetRequest)

      Update attributes of an already provisioned rule set.


      This is a convenience which creates an instance of the UpdateRuleSetRequest.Builder avoiding the need to create one manually via UpdateRuleSetRequest.builder()

      Parameters:
      updateRuleSetRequest - A Consumer that will call methods on UpdateRuleSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuleSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateTrafficPolicy

      default CompletableFuture<UpdateTrafficPolicyResponse> updateTrafficPolicy(UpdateTrafficPolicyRequest updateTrafficPolicyRequest)

      Update attributes of an already provisioned traffic policy resource.

      Parameters:
      updateTrafficPolicyRequest -
      Returns:
      A Java Future containing the result of the UpdateTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateTrafficPolicy

      default CompletableFuture<UpdateTrafficPolicyResponse> updateTrafficPolicy(Consumer<UpdateTrafficPolicyRequest.Builder> updateTrafficPolicyRequest)

      Update attributes of an already provisioned traffic policy resource.


      This is a convenience which creates an instance of the UpdateTrafficPolicyRequest.Builder avoiding the need to create one manually via UpdateTrafficPolicyRequest.builder()

      Parameters:
      updateTrafficPolicyRequest - A Consumer that will call methods on UpdateTrafficPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateTrafficPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • serviceClientConfiguration

      default MailManagerServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static MailManagerAsyncClient create()
      Create a MailManagerAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a MailManagerAsyncClient.