Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . sesv2 ]

list-suppressed-destinations

Description

Retrieves a list of email addresses that are on the suppression list for your account.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  list-suppressed-destinations
[--reasons <value>]
[--start-date <value>]
[--end-date <value>]
[--next-token <value>]
[--page-size <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--reasons (list)

The factors that caused the email address to be added to .

(string)

The reason that the address was added to the suppression list for your account. The value can be one of the following:

  • COMPLAINT – Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a complaint.
  • BOUNCE – Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a hard bounce.

Syntax:

"string" "string" ...

Where valid values are:
  BOUNCE
  COMPLAINT

--start-date (timestamp)

Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date. The date that you specify should be in Unix time format.

--end-date (timestamp)

Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date. The date that you specify should be in Unix time format.

--next-token (string)

A token returned from a previous call to ListSuppressedDestinations to indicate the position in the list of suppressed email addresses.

--page-size (integer)

The number of results to show in a single call to ListSuppressedDestinations . If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

SuppressedDestinationSummaries -> (list)

A list of summaries, each containing a summary for a suppressed email destination.

(structure)

A summary that describes the suppressed email address.

EmailAddress -> (string)

The email address that's on the suppression list for your account.

Reason -> (string)

The reason that the address was added to the suppression list for your account.

LastUpdateTime -> (timestamp)

The date and time when the suppressed destination was last updated, shown in Unix time format.

NextToken -> (string)

A token that indicates that there are additional email addresses on the suppression list for your account. To view additional suppressed addresses, issue another request to ListSuppressedDestinations , and pass this token in the NextToken parameter.