Artifact / Client / tag_resource
tag_resource¶
- Artifact.Client.tag_resource(**kwargs)¶
Add tags to a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
tags (dict) –
[REQUIRED]
Tags to add to the resource.
(string) –
A tag key.
(string) –
A tag value.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Artifact.Client.exceptions.ResourceNotFoundExceptionArtifact.Client.exceptions.ThrottlingExceptionArtifact.Client.exceptions.AccessDeniedExceptionArtifact.Client.exceptions.InternalServerExceptionArtifact.Client.exceptions.ValidationException