TrustedAdvisorPublicAPI / Client / update_organization_recommendation_lifecycle
update_organization_recommendation_lifecycle¶
- TrustedAdvisorPublicAPI.Client.update_organization_recommendation_lifecycle(**kwargs)¶
Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized recommendations and updates global priority recommendations, eliminating the need to call the API in each AWS Region.
See also: AWS API Documentation
Request Syntax
response = client.update_organization_recommendation_lifecycle( lifecycleStage='pending_response'|'in_progress'|'dismissed'|'resolved', updateReason='string', updateReasonCode='non_critical_account'|'temporary_account'|'valid_business_case'|'other_methods_available'|'low_priority'|'not_applicable'|'other', organizationRecommendationIdentifier='string' )
- Parameters:
lifecycleStage (string) –
[REQUIRED]
The new lifecycle stage
updateReason (string) – Reason for the lifecycle stage change
updateReasonCode (string) – Reason code for the lifecycle state change
organizationRecommendationIdentifier (string) –
[REQUIRED]
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
- Returns:
None
Exceptions
TrustedAdvisorPublicAPI.Client.exceptions.AccessDeniedExceptionTrustedAdvisorPublicAPI.Client.exceptions.ConflictExceptionTrustedAdvisorPublicAPI.Client.exceptions.InternalServerExceptionTrustedAdvisorPublicAPI.Client.exceptions.ValidationExceptionTrustedAdvisorPublicAPI.Client.exceptions.ThrottlingExceptionTrustedAdvisorPublicAPI.Client.exceptions.ResourceNotFoundException