CodeStarconnections.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 to which you want to add or update tags.
[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.
This tag is available for use by AWS services that support tags.
The tag's key.
The tag's value.
dict
Response Syntax
{}
Response Structure
Exceptions
CodeStarconnections.Client.exceptions.ResourceNotFoundException
CodeStarconnections.Client.exceptions.LimitExceededException