aws_sdk_codedeploy/client/
get_deployment_group.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 [`GetDeploymentGroup`](crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_name(impl Into<String>)`](crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder::application_name) / [`set_application_name(Option<String>)`](crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder::set_application_name):<br>required: **true**<br><p>The name of an CodeDeploy application associated with the user or Amazon Web Services account.</p><br>
7    ///   - [`deployment_group_name(impl Into<String>)`](crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder::deployment_group_name) / [`set_deployment_group_name(Option<String>)`](crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder::set_deployment_group_name):<br>required: **true**<br><p>The name of a deployment group for the specified application.</p><br>
8    /// - On success, responds with [`GetDeploymentGroupOutput`](crate::operation::get_deployment_group::GetDeploymentGroupOutput) with field(s):
9    ///   - [`deployment_group_info(Option<DeploymentGroupInfo>)`](crate::operation::get_deployment_group::GetDeploymentGroupOutput::deployment_group_info): <p>Information about the deployment group.</p>
10    /// - On failure, responds with [`SdkError<GetDeploymentGroupError>`](crate::operation::get_deployment_group::GetDeploymentGroupError)
11    pub fn get_deployment_group(&self) -> crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder {
12        crate::operation::get_deployment_group::builders::GetDeploymentGroupFluentBuilder::new(self.handle.clone())
13    }
14}