list_organization_recommendation_resources
async
¶
list_organization_recommendation_resources(
organization_recommendation_identifier: OrganizationRecommendationIdentifier,
*,
config_overrides: Optional[AsyncTrustedAdvisorClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
status: Optional[ResourceStatus] = None,
exclusion_status: Optional[ExclusionStatus] = None,
region_code: Optional[str] = None,
affected_account_id: Optional[AccountId] = None,
) -> ListOrganizationRecommendationResourcesResponse
List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region.
Parameters:
-
next_token(Optional[str], default:None) –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.
-
max_results(Optional[int], default:None) –The maximum number of results to return per page.
-
status(Optional[ResourceStatus], default:None) –The status of the resource
-
exclusion_status(Optional[ExclusionStatus], default:None) –The exclusion status of the resource
-
region_code(Optional[str], default:None) –The AWS Region code of the resource
-
organization_recommendation_identifier(OrganizationRecommendationIdentifier) –The AWS Organization organization's Recommendation identifier
-
affected_account_id(Optional[AccountId], default:None) –An account affected by this organization recommendation
Raises:
-
AccessDeniedException–Exception that access has been denied due to insufficient access
-
InternalServerException–Exception to notify that an unexpected internal error occurred during processing of the request
-
ResourceNotFoundException–Exception that the requested resource has not been found
-
ThrottlingException–Exception to notify that requests are being throttled
-
ValidationException–Exception that the request failed to satisfy service constraints
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List all Resources for an AWS Organization's Recommendation
>>> await client.list_organization_recommendation_resources(organization_recommendation_identifier='arn:aws:trustedadvisor:::organization-recommendation/5a694939-2e54-45a2-ae72-730598fa89d0')
Source code in docs_src/capo_trustedadvisor/_services/async_trusted_advisor.py
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 | |