aws_sdk_trustedadvisor/client/
update_recommendation_lifecycle.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateRecommendationLifecycle`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`lifecycle_stage(UpdateRecommendationLifecycleStage)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::lifecycle_stage) / [`set_lifecycle_stage(Option<UpdateRecommendationLifecycleStage>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::set_lifecycle_stage):<br>required: **true**<br><p>The new lifecycle stage</p><br>
    ///   - [`update_reason(impl Into<String>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::update_reason) / [`set_update_reason(Option<String>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::set_update_reason):<br>required: **false**<br><p>Reason for the lifecycle stage change</p><br>
    ///   - [`update_reason_code(UpdateRecommendationLifecycleStageReasonCode)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::update_reason_code) / [`set_update_reason_code(Option<UpdateRecommendationLifecycleStageReasonCode>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::set_update_reason_code):<br>required: **false**<br><p>Reason code for the lifecycle state change</p><br>
    ///   - [`recommendation_identifier(impl Into<String>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::recommendation_identifier) / [`set_recommendation_identifier(Option<String>)`](crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::set_recommendation_identifier):<br>required: **true**<br><p>The Recommendation identifier for AWS Trusted Advisor Priority recommendations</p><br>
    /// - On success, responds with [`UpdateRecommendationLifecycleOutput`](crate::operation::update_recommendation_lifecycle::UpdateRecommendationLifecycleOutput)
    /// - On failure, responds with [`SdkError<UpdateRecommendationLifecycleError>`](crate::operation::update_recommendation_lifecycle::UpdateRecommendationLifecycleError)
    pub fn update_recommendation_lifecycle(
        &self,
    ) -> crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder {
        crate::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleFluentBuilder::new(self.handle.clone())
    }
}