Tags - AWS Data Exchange

Tags

You can add tags to your owned data sets and their revisions. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions. This section defines the ListTagsForResource, TagResource, and UntagResource operations.

URI

/tags/resource-arn

HTTP methods

GET

Operation ID: ListTagsForResource

This operation lists the tags on the resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

Responses
Status codeResponse modelDescription
200tagsModel

200 response

POST

Operation ID: TagResource

This operation tags a resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

Responses
Status codeResponse modelDescription
204None

204 response

DELETE

Operation ID: UntagResource

This operation removes one or more tags from a resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.

Query parameters
NameTypeRequiredDescription
tagKeysStringTrue

The key tags.

Responses
Status codeResponse modelDescription
204None

204 response

Schemas

Request bodies

{ "tags": { } }

Response bodies

{ "tags": { } }

Properties

tagsModel

You can assign metadata to your AWS Data Exchange resources in the form of tags. Each tag is a label that consists of a customer-defined key and an optional value that can make it easier to manage, search for, and filter resources.

PropertyTypeRequiredDescription
tags

object

True

A label that consists of a customer-defined key and an optional value.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ListTagsForResource

TagResource

UntagResource