Gets the set of key-value pairs (metadata) that are used to manage the resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
A list of tag key and value pairs associated with the specified resource.
A tag is a key-value pair that is used to manage the resource.
This tag is available for use by AWS services that support tags.
The tag's key.
The tag's value.
Exceptions
CodeStarconnections.Client.exceptions.ResourceNotFoundException