Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to get tags for.
{
'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 can be used to manage, search for, or filter resources in CodeArtifact.
The tag key.
The tag value.
Exceptions
CodeArtifact.Client.exceptions.AccessDeniedException
CodeArtifact.Client.exceptions.ResourceNotFoundException
CodeArtifact.Client.exceptions.ThrottlingException
CodeArtifact.Client.exceptions.ValidationException