FraudDetector / Client / tag_resource
tag_resource#
- FraudDetector.Client.tag_resource(**kwargs)#
Assigns tags to a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceARN='string', tags=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
resourceARN (string) –
[REQUIRED]
The resource ARN.
tags (list) –
[REQUIRED]
The tags to assign to the resource.
(dict) –
A key and value pair.
key (string) – [REQUIRED]
A tag key.
value (string) – [REQUIRED]
A value assigned to a tag key.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException