aws_sdk_codedeploy/client/
batch_get_deployment_instances.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 [`BatchGetDeploymentInstances`](crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deployment_id(impl Into<String>)`](crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The unique ID of a deployment.</p><br>
7    ///   - [`instance_ids(impl Into<String>)`](crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder::instance_ids) / [`set_instance_ids(Option<Vec::<String>>)`](crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder::set_instance_ids):<br>required: **true**<br><p>The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.</p><br>
8    /// - On success, responds with [`BatchGetDeploymentInstancesOutput`](crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstancesOutput) with field(s):
9    ///   - [`instances_summary(Option<Vec::<InstanceSummary>>)`](crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstancesOutput::instances_summary): <p>Information about the instance.</p>
10    ///   - [`error_message(Option<String>)`](crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstancesOutput::error_message): <p>Information about errors that might have occurred during the API call.</p>
11    /// - On failure, responds with [`SdkError<BatchGetDeploymentInstancesError>`](crate::operation::batch_get_deployment_instances::BatchGetDeploymentInstancesError)
12    #[deprecated(note = "This operation is deprecated, use BatchGetDeploymentTargets instead.")]
13    pub fn batch_get_deployment_instances(
14        &self,
15    ) -> crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder {
16        crate::operation::batch_get_deployment_instances::builders::BatchGetDeploymentInstancesFluentBuilder::new(self.handle.clone())
17    }
18}