ListTagsForResources, TagResource, UntagResource - Amazon Route 53 Application Recovery Controller

ListTagsForResources, TagResource, UntagResource

URI

/tags/resource-arn

HTTP methods

GET

Operation ID: ListTagsForResources

Lists the tags for a resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for a resource.

Responses
Status codeResponse modelDescription
200tagsModel

200 response - Success.

204None

204 response - Successful deletion

400None

400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.

404None

404 response - Malformed query string. The query string contains a syntax error or resource not found.

500None

500 response - Internal service error or temporary service error. Retry the request.

POST

Operation ID: TagResource

Adds a tag to a resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for a resource.

Responses
Status codeResponse modelDescription
200None

200 response - Success.

204None

204 response - Successful deletion

400None

400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.

404None

404 response - Malformed query string. The query string contains a syntax error or resource not found.

500None

500 response - Internal service error or temporary service error. Retry the request.

DELETE

Operation ID: UntagResource

Removes a tag from a resource.

Path parameters
NameTypeRequiredDescription
resource-arnStringTrue

The Amazon Resource Name (ARN) for a resource.

Query parameters
NameTypeRequiredDescription
tagKeysStringTrue

The keys for tags you add to resources.

Responses
Status codeResponse modelDescription
204None

204 response - Successful deletion

400None

400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.

404None

404 response - Malformed query string. The query string contains a syntax error or resource not found.

500None

500 response - Internal service error or temporary service error. Retry the request.

Schemas

Request bodies

{ "tags": { } }

Response bodies

{ "tags": { } }

Properties

Tags

A collection of tags associated with a resource.

PropertyTypeRequiredDescription

*

string

False

tagsModel

PropertyTypeRequiredDescription
tags

Tags

True

See also

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

ListTagsForResources

TagResource

UntagResource