ServiceCatalog.Client.
list_resources_for_tag_option
(**kwargs)¶Lists the resources associated with the specified TagOption.
See also: AWS API Documentation
Request Syntax
response = client.list_resources_for_tag_option(
TagOptionId='string',
ResourceType='string',
PageSize=123,
PageToken='string'
)
[REQUIRED]
The TagOption identifier.
The resource type.
Portfolio
Product
dict
Response Syntax
{
'ResourceDetails': [
{
'Id': 'string',
'ARN': 'string',
'Name': 'string',
'Description': 'string',
'CreatedTime': datetime(2015, 1, 1)
},
],
'PageToken': 'string'
}
Response Structure
(dict) --
ResourceDetails (list) --
Information about the resources.
(dict) --
Information about a resource.
Id (string) --
The identifier of the resource.
ARN (string) --
The ARN of the resource.
Name (string) --
The name of the resource.
Description (string) --
The description of the resource.
CreatedTime (datetime) --
The creation time of the resource.
PageToken (string) --
The page token for the next set of results. To retrieve the first set of results, use null.
Exceptions
ServiceCatalog.Client.exceptions.TagOptionNotMigratedException
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidParametersException