TrustedAdvisorPublicAPI / Paginator / ListOrganizationRecommendationResources

ListOrganizationRecommendationResources#

class TrustedAdvisorPublicAPI.Paginator.ListOrganizationRecommendationResources#
paginator = client.get_paginator('list_organization_recommendation_resources')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from TrustedAdvisorPublicAPI.Client.list_organization_recommendation_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    affectedAccountId='string',
    exclusionStatus='excluded'|'included',
    organizationRecommendationIdentifier='string',
    regionCode='string',
    status='ok'|'warning'|'error',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • affectedAccountId (string) – An account affected by this organization recommendation

  • exclusionStatus (string) – The exclusion status of the resource

  • organizationRecommendationIdentifier (string) –

    [REQUIRED]

    The AWS Organization organization’s 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

{
    'organizationRecommendationResourceSummaries': [
        {
            'accountId': 'string',
            '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'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • organizationRecommendationResourceSummaries (list) –

      A list of Recommendation Resources

      • (dict) –

        Organization Recommendation Resource Summary

        • accountId (string) –

          The AWS account ID

        • 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

    • NextToken (string) –

      A token to resume pagination.