listOrganizationRecommendationAccounts

Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region.

Samples


fun main() { 
   //sampleStart 
   // List all Accounts for an AWS Organization s Recommendation
val resp = trustedAdvisorClient.listOrganizationRecommendationAccounts {
    organizationRecommendationIdentifier = "arn:aws:trustedadvisor:::organization-recommendation/9534ec9b-bf3a-44e8-8213-2ed68b39d9d5"
} 
   //sampleEnd
}