aws_sdk_appconfig/client/
get_deployment_strategy.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetDeploymentStrategy`](crate::operation::get_deployment_strategy::builders::GetDeploymentStrategyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deployment_strategy_id(impl Into<String>)`](crate::operation::get_deployment_strategy::builders::GetDeploymentStrategyFluentBuilder::deployment_strategy_id) / [`set_deployment_strategy_id(Option<String>)`](crate::operation::get_deployment_strategy::builders::GetDeploymentStrategyFluentBuilder::set_deployment_strategy_id):<br>required: **true**<br><p>The ID of the deployment strategy to get.</p><br>
7    /// - On success, responds with [`GetDeploymentStrategyOutput`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput) with field(s):
8    ///   - [`id(Option<String>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::id): <p>The deployment strategy ID.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::name): <p>The name of the deployment strategy.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::description): <p>The description of the deployment strategy.</p>
11    ///   - [`deployment_duration_in_minutes(i32)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::deployment_duration_in_minutes): <p>Total amount of time the deployment lasted.</p>
12    ///   - [`growth_type(Option<GrowthType>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::growth_type): <p>The algorithm used to define how percentage grew over time.</p>
13    ///   - [`growth_factor(Option<f32>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::growth_factor): <p>The percentage of targets that received a deployed configuration during each interval.</p>
14    ///   - [`final_bake_time_in_minutes(i32)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::final_bake_time_in_minutes): <p>The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.</p>
15    ///   - [`replicate_to(Option<ReplicateTo>)`](crate::operation::get_deployment_strategy::GetDeploymentStrategyOutput::replicate_to): <p>Save the deployment strategy to a Systems Manager (SSM) document.</p>
16    /// - On failure, responds with [`SdkError<GetDeploymentStrategyError>`](crate::operation::get_deployment_strategy::GetDeploymentStrategyError)
17    pub fn get_deployment_strategy(&self) -> crate::operation::get_deployment_strategy::builders::GetDeploymentStrategyFluentBuilder {
18        crate::operation::get_deployment_strategy::builders::GetDeploymentStrategyFluentBuilder::new(self.handle.clone())
19    }
20}