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
Name Type Required Description
resource-arn String True

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

Responses
Status Code Response Model Description
200 tagsModel

200 response

POST

Operation ID: TagResource

This operation tags a resource.

Path Parameters
Name Type Required Description
resource-arn String True

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

Responses
Status Code Response Model Description
204 None

204 response

DELETE

Operation ID: UntagResource

This operation removes one or more tags from a resource.

Path Parameters
Name Type Required Description
resource-arn String True

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

Query Parameters
Name Type Required Description
tagKeys String True

The key tags.

Responses
Status Code Response Model Description
204 None

204 response

Schemas

Request Bodies

Example POST

{ "tags": { } }

Response Bodies

Example tagsModel

{ "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.

Property Type Required Description
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