ListEmailIdentities
Returns a list of all of the email identities that are associated with your AWS account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
Request Syntax
GET /v2/email/identities?NextToken=NextToken
&PageSize=PageSize
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- NextToken
-
A token returned from a previous call to
ListEmailIdentities
to indicate the position in the list of identities. - PageSize
-
The number of results to show in a single call to
ListEmailIdentities
. If the number of results is larger than the number you specified in this parameter, then the response includes aNextToken
element, which you can use to obtain additional results.The value you specify has to be at least 0, and can be no more than 1000.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"EmailIdentities": [
{
"IdentityName": "string",
"IdentityType": "string",
"SendingEnabled": boolean,
"VerificationStatus": "string"
}
],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- EmailIdentities
-
An array that includes all of the email identities associated with your AWS account.
Type: Array of IdentityInfo objects
- NextToken
-
A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to
ListEmailIdentities
, and pass this token in theNextToken
parameter.Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- BadRequestException
-
The input you provided is invalid.
HTTP Status Code: 400
- TooManyRequestsException
-
Too many requests have been made to the operation.
HTTP Status Code: 429
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: