JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.mailmanager

Interface AWSMailManager

    • Method Detail

      • createAddonInstance

        CreateAddonInstanceResult 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:
        Result of the CreateAddonInstance operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        See Also:
        AWS API Documentation
      • createAddonSubscription

        CreateAddonSubscriptionResult 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:
        Result of the CreateAddonSubscription operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        See Also:
        AWS API Documentation
      • createArchive

        CreateArchiveResult 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:
        Result of the CreateArchive operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • createRelay

        CreateRelayResult createRelay(CreateRelayRequest createRelayRequest)

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

        Parameters:
        createRelayRequest -
        Returns:
        Result of the CreateRelay operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        See Also:
        AWS API Documentation
      • deleteArchive

        DeleteArchiveResult 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:
        Result of the DeleteArchive operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchive

        GetArchiveResult 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:
        Result of the GetArchive operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchiveExport

        GetArchiveExportResult 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:
        Result of the GetArchiveExport operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchiveMessage

        GetArchiveMessageResult 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:
        Result of the GetArchiveMessage operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchiveMessageContent

        GetArchiveMessageContentResult 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:
        Result of the GetArchiveMessageContent operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchiveSearch

        GetArchiveSearchResult 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:
        Result of the GetArchiveSearch operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • getArchiveSearchResults

        GetArchiveSearchResultsResult 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:
        Result of the GetArchiveSearchResults operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • listArchiveExports

        ListArchiveExportsResult listArchiveExports(ListArchiveExportsRequest listArchiveExportsRequest)

        Returns a list of email archive export jobs.

        Parameters:
        listArchiveExportsRequest - The request to list archive export jobs in your account.
        Returns:
        Result of the ListArchiveExports operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • listArchiveSearches

        ListArchiveSearchesResult listArchiveSearches(ListArchiveSearchesRequest listArchiveSearchesRequest)

        Returns a list of email archive search jobs.

        Parameters:
        listArchiveSearchesRequest - The request to list archive search jobs in your account.
        Returns:
        Result of the ListArchiveSearches operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • listArchives

        ListArchivesResult 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:
        Result of the ListArchives operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • startArchiveSearch

        StartArchiveSearchResult 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:
        Result of the StartArchiveSearch operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • stopArchiveExport

        StopArchiveExportResult 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:
        Result of the StopArchiveExport operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • stopArchiveSearch

        StopArchiveSearchResult stopArchiveSearch(StopArchiveSearchRequest stopArchiveSearchRequest)

        Stops an in-progress archive search job.

        Parameters:
        stopArchiveSearchRequest - The request to stop an in-progress archive search job.
        Returns:
        Result of the StopArchiveSearch operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • updateArchive

        UpdateArchiveResult updateArchive(UpdateArchiveRequest updateArchiveRequest)

        Updates the attributes of an existing email archive.

        Parameters:
        updateArchiveRequest - The request to update properties of an existing email archive.
        Returns:
        Result of the UpdateArchive operation returned by the service.
        Throws:
        ValidationException - The request validation has failed. For details, see the accompanying error message.
        AccessDeniedException - Occurs when a user is denied access to a specific resource or action.
        ServiceQuotaExceededException - Occurs when an operation exceeds a predefined service quota or limit.
        ConflictException - The request configuration has conflicts. For details, see the accompanying error message.
        ResourceNotFoundException - Occurs when a requested resource is not found.
        ThrottlingException - Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
        See Also:
        AWS API Documentation
      • shutdown

        void shutdown()
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
      • getCachedResponseMetadata

        ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /