Macie2 / Client / tag_resource
tag_resource#
- Macie2.Client.tag_resource(**kwargs)#
Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie 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]
A map of key-value pairs that specifies the tags to associate with the resource.
A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
The request succeeded and there isn’t any content to include in the body of the response (No Content).