MarketplaceCatalog.Client.
tag_resource
(**kwargs)¶Tags a resource (either an entity or change set ).
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Required. The Amazon Resource Name (ARN) associated with the resource you want to tag.
[REQUIRED]
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
A list of objects specifying each key name and value.
The key associated with the tag.
The value associated with the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
MarketplaceCatalog.Client.exceptions.ResourceNotFoundException
MarketplaceCatalog.Client.exceptions.InternalServiceException
MarketplaceCatalog.Client.exceptions.AccessDeniedException
MarketplaceCatalog.Client.exceptions.ValidationException
MarketplaceCatalog.Client.exceptions.ThrottlingException