MarketplaceDeploymentService / Client / tag_resource
tag_resource#
- MarketplaceDeploymentService.Client.tag_resource(**kwargs)#
Tags 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) associated with the resource you want to tag.
tags (dict) –
A map of key-value pairs, where each pair represents a tag present on the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
MarketplaceDeploymentService.Client.exceptions.ThrottlingException
MarketplaceDeploymentService.Client.exceptions.AccessDeniedException
MarketplaceDeploymentService.Client.exceptions.ResourceNotFoundException
MarketplaceDeploymentService.Client.exceptions.ConflictException
MarketplaceDeploymentService.Client.exceptions.ValidationException
MarketplaceDeploymentService.Client.exceptions.InternalServerException