ResourceExplorer / Client / tag_resource
tag_resource¶
- ResourceExplorer.Client.tag_resource(**kwargs)¶
Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.
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 view or index that you want to attach tags to.
Tags (dict) –
A list of tag key and value pairs that you want to attach to the specified view or index.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
ResourceExplorer.Client.exceptions.InternalServerExceptionResourceExplorer.Client.exceptions.ValidationExceptionResourceExplorer.Client.exceptions.ConflictExceptionResourceExplorer.Client.exceptions.UnauthorizedExceptionResourceExplorer.Client.exceptions.ThrottlingExceptionResourceExplorer.Client.exceptions.AccessDeniedException