aws_sdk_codedeploy/client/
get_deployment_instance.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 [`GetDeploymentInstance`](crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deployment_id(impl Into<String>)`](crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The unique ID of a deployment.</p><br>
7    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique ID of an instance in the deployment group.</p><br>
8    /// - On success, responds with [`GetDeploymentInstanceOutput`](crate::operation::get_deployment_instance::GetDeploymentInstanceOutput) with field(s):
9    ///   - [`instance_summary(Option<InstanceSummary>)`](crate::operation::get_deployment_instance::GetDeploymentInstanceOutput::instance_summary): <p>Information about the instance.</p>
10    /// - On failure, responds with [`SdkError<GetDeploymentInstanceError>`](crate::operation::get_deployment_instance::GetDeploymentInstanceError)
11    #[deprecated(note = "This operation is deprecated, use GetDeploymentTarget instead.")]
12    pub fn get_deployment_instance(&self) -> crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder {
13        crate::operation::get_deployment_instance::builders::GetDeploymentInstanceFluentBuilder::new(self.handle.clone())
14    }
15}