aws_sdk_trustedadvisor/client/
update_organization_recommendation_lifecycle.rs

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