SWF.Client.
tag_resource
(**kwargs)¶Add a tag to a Amazon SWF domain.
Note
Amazon SWF supports a maximum of 50 tags per resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) for the Amazon SWF domain.
[REQUIRED]
The list of tags to add to a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
The key of a tag.
The value of a tag.
None
Exceptions
SWF.Client.exceptions.UnknownResourceFault
SWF.Client.exceptions.TooManyTagsFault
SWF.Client.exceptions.LimitExceededFault
SWF.Client.exceptions.OperationNotPermittedFault