SWF / Client / list_tags_for_resource
list_tags_for_resource#
- SWF.Client.list_tags_for_resource(**kwargs)#
List tags for a given domain.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) for the Amazon SWF domain.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': [ { 'key': 'string', 'value': 'string' }, ] }
Response Structure
(dict) –
tags (list) –
An array of tags associated with the domain.
(dict) –
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:
_ . : / = + - @
.key (string) –
The key of a tag.
value (string) –
The value of a tag.
Exceptions
SWF.Client.exceptions.UnknownResourceFault
SWF.Client.exceptions.LimitExceededFault
SWF.Client.exceptions.OperationNotPermittedFault