B2BI / Client / list_tags_for_resource
list_tags_for_resource#
- B2BI.Client.list_tags_for_resource(**kwargs)#
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a capability, partnership, profile, or transformer.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceARN='string' )
- Parameters:
ResourceARN (string) –
[REQUIRED]
Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
Returns the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
(dict) –
Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to capabilities, partnerships, profiles and transformers. A tag key can take more than one value. For example, to group capabilities for accounting purposes, you might create a tag called
Group
and assign the valuesResearch
andAccounting
to that group.Key (string) –
Specifies the name assigned to the tag that you create.
Value (string) –
Contains one or more values that you assigned to the key name that you create.
Exceptions
B2BI.Client.exceptions.ValidationException
B2BI.Client.exceptions.ResourceNotFoundException
B2BI.Client.exceptions.InternalServerException