TrustedAdvisorPublicAPI / Paginator / ListRecommendationResources
ListRecommendationResources#
- class TrustedAdvisorPublicAPI.Paginator.ListRecommendationResources#
paginator = client.get_paginator('list_recommendation_resources')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
TrustedAdvisorPublicAPI.Client.list_recommendation_resources()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( recommendationIdentifier='string', regionCode='string', status='ok'|'warning'|'error', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
recommendationIdentifier (string) –
[REQUIRED]
The Recommendation identifier
regionCode (string) – The AWS Region code of the resource
status (string) – The status of the resource
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'recommendationResourceSummaries': [ { 'arn': 'string', 'awsResourceId': 'string', 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'metadata': { 'string': 'string' }, 'recommendationArn': 'string', 'regionCode': 'string', 'status': 'ok'|'warning'|'error' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
recommendationResourceSummaries (list) –
A list of Recommendation Resources
(dict) –
Summary of a Recommendation Resource
arn (string) –
The ARN of the Recommendation Resource
awsResourceId (string) –
The AWS resource identifier
id (string) –
The ID of the Recommendation Resource
lastUpdatedAt (datetime) –
When the Recommendation Resource was last updated
metadata (dict) –
Metadata associated with the Recommendation Resource
(string) –
(string) –
recommendationArn (string) –
The Recommendation ARN
regionCode (string) –
The AWS Region code that the Recommendation Resource is in
status (string) –
The current status of the Recommendation Resource
NextToken (string) –
A token to resume pagination.