TrustedAdvisorPublicAPI / Client / list_organization_recommendation_accounts
list_organization_recommendation_accounts#
- TrustedAdvisorPublicAPI.Client.list_organization_recommendation_accounts(**kwargs)#
Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
See also: AWS API Documentation
Request Syntax
response = client.list_organization_recommendation_accounts( affectedAccountId='string', maxResults=123, nextToken='string', organizationRecommendationIdentifier='string' )
- Parameters:
affectedAccountId (string) – An account affected by this organization recommendation
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.
organizationRecommendationIdentifier (string) –
[REQUIRED]
The Recommendation identifier
- 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) –
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.
Exceptions
TrustedAdvisorPublicAPI.Client.exceptions.AccessDeniedException
TrustedAdvisorPublicAPI.Client.exceptions.InternalServerException
TrustedAdvisorPublicAPI.Client.exceptions.ValidationException
TrustedAdvisorPublicAPI.Client.exceptions.ResourceNotFoundException
TrustedAdvisorPublicAPI.Client.exceptions.ThrottlingException