TrustedAdvisorPublicAPI / Client / update_recommendation_lifecycle
update_recommendation_lifecycle#
- TrustedAdvisorPublicAPI.Client.update_recommendation_lifecycle(**kwargs)#
Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
See also: AWS API Documentation
Request Syntax
response = client.update_recommendation_lifecycle( lifecycleStage='pending_response'|'in_progress'|'dismissed'|'resolved', recommendationIdentifier='string', updateReason='string', updateReasonCode='non_critical_account'|'temporary_account'|'valid_business_case'|'other_methods_available'|'low_priority'|'not_applicable'|'other' )
- Parameters:
lifecycleStage (string) –
[REQUIRED]
The new lifecycle stage
recommendationIdentifier (string) –
[REQUIRED]
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
updateReason (string) – Reason for the lifecycle stage change
updateReasonCode (string) – Reason code for the lifecycle state change
- Returns:
None
Exceptions
TrustedAdvisorPublicAPI.Client.exceptions.AccessDeniedException
TrustedAdvisorPublicAPI.Client.exceptions.InternalServerException
TrustedAdvisorPublicAPI.Client.exceptions.ValidationException
TrustedAdvisorPublicAPI.Client.exceptions.ResourceNotFoundException
TrustedAdvisorPublicAPI.Client.exceptions.ThrottlingException