Amazon Pinpoint Email Service
API Reference (API Version 2018-07-26)


Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

Request Syntax

GET /v1/email/tags HTTP/1.1 Content-type: application/json { "ResourceArn": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.


The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.

Type: String

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Tags": [ { "Key": "string", "Value": "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.


An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)

Type: Array of Tag objects


For information about the errors that are common to all actions, see Common Errors.


The input you provided is invalid.

HTTP Status Code: 400


The resource you attempted to access doesn't exist.

HTTP Status Code: 404


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: