CmdID / aws / aws trustedadvisor
aws trustedadvisor update-recommendation-lifecycle
Update the lifecyle of a Recommendation. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To update a recommendation lifecycle
The following update-recommendation-lifecycle example updates the lifecycle of a recommendation by its identifier.
aws trustedadvisor update-recommendation-lifecycle --recommendation-identifier arn:aws:trustedadvisor::123456789012:recommendation/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --lifecycle-stage resolved --update-reason-code valid_business_caseIdentify--recommendation-identifierThe Recommendation identifier for AWS Trusted Advisor Priority recommendations--lifecycle-stageThe new lifecycle stage--update-reason-codeReason code for the lifecycle state changeThis command produces no output.
For more information, see Get started with the Trusted Advisor API in the AWS Trusted Advisor User Guide.
Options
--lifecycle-stageThe new lifecycle stage--recommendation-identifierThe Recommendation identifier for AWS Trusted Advisor Priority recommendations--update-reason-codeReason code for the lifecycle state change--update-reasonReason for the lifecycle stage change