2021/03/31 - Amazon Detective - 3 new api methods
Changes Added the ability to assign tag values to Detective behavior graphs. Tag values can be used for attribute-based access control, and for cost allocation for billing.
Returns the tag values that are assigned to a behavior graph.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( ResourceArn='string' )
string
[REQUIRED]
The ARN of the behavior graph for which to retrieve the tag values.
dict
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
Tags (dict) --
The tag values that are assigned to the behavior graph.
(string) --
(string) --
Removes tags from a behavior graph.
See also: AWS API Documentation
Request Syntax
client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
string
[REQUIRED]
The ARN of the behavior graph to remove the tags from.
list
[REQUIRED]
The tag keys of the tags to remove from the behavior graph.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Applies tag values to a behavior graph.
See also: AWS API Documentation
Request Syntax
client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The ARN of the behavior graph to assign the tags to.
dict
[REQUIRED]
The tag values to assign to the behavior graph.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --