aws_sdk_codedeploy/client/
get_deployment_config.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 [`GetDeploymentConfig`](crate::operation::get_deployment_config::builders::GetDeploymentConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deployment_config_name(impl Into<String>)`](crate::operation::get_deployment_config::builders::GetDeploymentConfigFluentBuilder::deployment_config_name) / [`set_deployment_config_name(Option<String>)`](crate::operation::get_deployment_config::builders::GetDeploymentConfigFluentBuilder::set_deployment_config_name):<br>required: **true**<br><p>The name of a deployment configuration associated with the user or Amazon Web Services account.</p><br>
7    /// - On success, responds with [`GetDeploymentConfigOutput`](crate::operation::get_deployment_config::GetDeploymentConfigOutput) with field(s):
8    ///   - [`deployment_config_info(Option<DeploymentConfigInfo>)`](crate::operation::get_deployment_config::GetDeploymentConfigOutput::deployment_config_info): <p>Information about the deployment configuration.</p>
9    /// - On failure, responds with [`SdkError<GetDeploymentConfigError>`](crate::operation::get_deployment_config::GetDeploymentConfigError)
10    pub fn get_deployment_config(&self) -> crate::operation::get_deployment_config::builders::GetDeploymentConfigFluentBuilder {
11        crate::operation::get_deployment_config::builders::GetDeploymentConfigFluentBuilder::new(self.handle.clone())
12    }
13}