TrustedAdvisorPublicAPI / Paginator / ListOrganizationRecommendationAccounts

ListOrganizationRecommendationAccounts#

class TrustedAdvisorPublicAPI.Paginator.ListOrganizationRecommendationAccounts#
paginator = client.get_paginator('list_organization_recommendation_accounts')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    affectedAccountId='string',
    organizationRecommendationIdentifier='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • affectedAccountId (string) – An account affected by this organization recommendation

  • organizationRecommendationIdentifier (string) –

    [REQUIRED]

    The Recommendation identifier

  • 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

{
    'accountRecommendationLifecycleSummaries': [
        {
            'accountId': 'string',
            'accountRecommendationArn': 'string',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'lifecycleStage': 'in_progress'|'pending_response'|'dismissed'|'resolved',
            'updateReason': 'string',
            'updateReasonCode': 'non_critical_account'|'temporary_account'|'valid_business_case'|'other_methods_available'|'low_priority'|'not_applicable'|'other',
            'updatedOnBehalfOf': 'string',
            'updatedOnBehalfOfJobTitle': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • accountRecommendationLifecycleSummaries (list) –

      The account recommendations lifecycles that are applicable to the Recommendation

      • (dict) –

        Summary of an AccountRecommendationLifecycle for an Organization Recommendation

        • accountId (string) –

          The AWS account ID

        • accountRecommendationArn (string) –

          The Recommendation ARN

        • lastUpdatedAt (datetime) –

          When the Recommendation was last updated

        • lifecycleStage (string) –

          The lifecycle stage from AWS Trusted Advisor Priority

        • updateReason (string) –

          Reason for the lifecycle stage change

        • updateReasonCode (string) –

          Reason code for the lifecycle state change

        • updatedOnBehalfOf (string) –

          The person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority

        • updatedOnBehalfOfJobTitle (string) –

          The job title of the person on whose behalf a Technical Account Manager (TAM) updated the recommendation. This information is only available when a Technical Account Manager takes an action on a recommendation managed by AWS Trusted Advisor Priority

    • NextToken (string) –

      A token to resume pagination.