CodePipeline.Client.
tag_resource
(**kwargs)¶Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a 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) of the resource you want to add tags to.
[REQUIRED]
The tags you want to modify or add to the resource.
A tag is a key-value pair that is used to manage the resource.
The tag's key.
The tag's value.
dict
Response Syntax
{}
Response Structure
Exceptions
CodePipeline.Client.exceptions.ValidationException
CodePipeline.Client.exceptions.ResourceNotFoundException
CodePipeline.Client.exceptions.InvalidArnException
CodePipeline.Client.exceptions.TooManyTagsException
CodePipeline.Client.exceptions.InvalidTagsException
CodePipeline.Client.exceptions.ConcurrentModificationException