CodeDeploy / Client / tag_resource
tag_resource#
- CodeDeploy.Client.tag_resource(**kwargs)#
Associates the list of tags in the input
Tags
parameter with the resource identified by theResourceArn
input parameter.See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The ARN of a resource, such as a CodeDeploy application or deployment group.
Tags (list) –
[REQUIRED]
A list of tags that
TagResource
associates with a resource. The resource is identified by theResourceArn
input parameter.(dict) –
Information about a tag.
Key (string) –
The tag’s key.
Value (string) –
The tag’s value.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions