TrustedAdvisorPublicAPI / Client / list_recommendation_resources

list_recommendation_resources#

TrustedAdvisorPublicAPI.Client.list_recommendation_resources(**kwargs)#

List Resources of a Recommendation

See also: AWS API Documentation

Request Syntax

response = client.list_recommendation_resources(
    exclusionStatus='excluded'|'included',
    maxResults=123,
    nextToken='string',
    recommendationIdentifier='string',
    regionCode='string',
    status='ok'|'warning'|'error'
)
Parameters:
  • exclusionStatus (string) – The exclusion status of the resource

  • maxResults (integer) – The maximum number of results to return per page.

  • nextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • recommendationIdentifier (string) –

    [REQUIRED]

    The Recommendation identifier

  • regionCode (string) – The AWS Region code of the resource

  • status (string) – The status of the resource

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'recommendationResourceSummaries': [
        {
            'arn': 'string',
            'awsResourceId': 'string',
            'exclusionStatus': 'excluded'|'included',
            'id': 'string',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'metadata': {
                'string': 'string'
            },
            'recommendationArn': 'string',
            'regionCode': 'string',
            'status': 'ok'|'warning'|'error'
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    • 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

        • exclusionStatus (string) –

          The exclusion status of the Recommendation Resource

        • 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

Exceptions