Returns the list of tags associated with an associated repository resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
{
'Tags': {
'string': 'string'
}
}
Response Structure
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
CostCenter
, Environment
, Project
, or Secret
). Tag keys are case sensitive.111122223333
, Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.Exceptions
CodeGuruReviewer.Client.exceptions.InternalServerException
CodeGuruReviewer.Client.exceptions.ValidationException
CodeGuruReviewer.Client.exceptions.ResourceNotFoundException