Tags resource-arn - AWS Elemental MediaLive API Reference

Tags resource-arn

URI

/prod/tags/resource-arn

HTTP Methods

GET

Operation ID: ListTagsForResource

Get the tags for one resource.

Path Parameters
Name Type Required Description
resource-arn String True
Responses
Status Code Response Model Description
200 TagsModel

200 response.

400 InvalidRequest

400 response.

403 AccessDenied

403 response.

404 ResourceNotFound

404 response.

500 InternalServiceError

500 response.

POST

Operation ID: CreateTags

Create the tags for one resource.

Path Parameters
Name Type Required Description
resource-arn String True
Responses
Status Code Response Model Description
204 None

204 response.

400 InvalidRequest

400 response.

403 AccessDenied

403 response.

404 ResourceNotFound

404 response.

500 InternalServiceError

500 response.

DELETE

Operation ID: DeleteTags

Delete the tags for one resource.

Path Parameters
Name Type Required Description
resource-arn String True
Query Parameters
Name Type Required Description
tagKeys String True
Responses
Status Code Response Model Description
204 None

204 response.

400 InvalidRequest

400 response.

403 AccessDenied

403 response.

404 ResourceNotFound

404 response.

500 InternalServiceError

500 response.

Schemas

Request Bodies

Example POST

{ "tags": { } }

Response Bodies

Example TagsModel

{ "tags": { } }

Example InvalidRequest

{ "message": "string" }

Example AccessDenied

{ "message": "string" }

Example ResourceNotFound

{ "message": "string" }

Example InternalServiceError

{ "message": "string" }

Properties

AccessDenied

Property Type Required Description
message

string

False

InternalServiceError

Property Type Required Description
message

string

False

InvalidRequest

Property Type Required Description
message

string

False

ResourceNotFound

Property Type Required Description
message

string

False

Tags

Tags for the resource. This element belongs to many resources belon.

Property Type Required Description

*

string

False

TagsModel

Property Type Required Description
tags

Tags

False

See Also

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

ListTagsForResource

CreateTags

DeleteTags