ParallelComputingService / Client / tag_resource
tag_resource#
- ParallelComputingService.Client.tag_resource(**kwargs)#
Adds or edits tags on an Amazon Web Services PCS resource. Each tag consists of a tag key and a tag value. The tag key and tag value are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.
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]
1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
(string) –
(string) –
- Returns:
None
Exceptions
ParallelComputingService.Client.exceptions.ResourceNotFoundException