Tags resource-arn - AWS Elemental MediaPackage

Tags resource-arn

Manage tags for AWS Elemental MediaPackage packaging group. Tags are key-value pairs that you can associate with Amazon resources. MediaPackage offers tagging support for assets, packaging configurations, and packaging groups resources. For information about tagging, see Tagging Resources in AWS Elemental MediaPackage.

URI

/tags/resource-arn

HTTP methods

GET

Operation ID: ListTagsForResource

Returns a list of the tags assigned to the specified resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.

Responses
Status codeResponse modelDescription
200tagsModel

200 response

POST

Operation ID: TagResource

Adds tags to the specified resource. You can specify one or more tags to add.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.

Responses
Status codeResponse modelDescription
204None

204 response

DELETE

Operation ID: UntagResource

Removes tags from the specified resource. You can specify one or more tags to remove.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.

Query parameters
NameTypeRequiredDescription
tagKeysStringTrue

A comma-separated list of the tag keys to remove from the resource.

Responses
Status codeResponse modelDescription
204None

204 response

Schemas

Request bodies

{ "tags": { } }

Response bodies

{ "tags": { } }

Properties

tagsModel

The key:value pairs used in a tag.

PropertyTypeRequiredDescription
tags

object

True

A comma-separated list of tag key:value pairs. For example:

{ "Key1": "Value1", "Key2": "Value2" }