1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDeploymentInstances`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`deployment_id(impl Into<String>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::set_deployment_id):<br>required: **true**<br><p> The unique ID of a deployment. </p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.</p><br>
    ///   - [`instance_status_filter(InstanceStatus)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::instance_status_filter) / [`set_instance_status_filter(Option<Vec::<InstanceStatus>>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::set_instance_status_filter):<br>required: **false**<br><p>A subset of instances to list by status:</p>  <ul>   <li> <p> <code>Pending</code>: Include those instances with pending deployments.</p> </li>   <li> <p> <code>InProgress</code>: Include those instances where deployments are still in progress.</p> </li>   <li> <p> <code>Succeeded</code>: Include those instances with successful deployments.</p> </li>   <li> <p> <code>Failed</code>: Include those instances with failed deployments.</p> </li>   <li> <p> <code>Skipped</code>: Include those instances with skipped deployments.</p> </li>   <li> <p> <code>Unknown</code>: Include those instances with deployments in an unknown state.</p> </li>  </ul><br>
    ///   - [`instance_type_filter(InstanceType)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::instance_type_filter) / [`set_instance_type_filter(Option<Vec::<InstanceType>>)`](crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::set_instance_type_filter):<br>required: **false**<br><p>The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.</p><br>
    /// - On success, responds with [`ListDeploymentInstancesOutput`](crate::operation::list_deployment_instances::ListDeploymentInstancesOutput) with field(s):
    ///   - [`instances_list(Option<Vec::<String>>)`](crate::operation::list_deployment_instances::ListDeploymentInstancesOutput::instances_list): <p>A list of instance IDs.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_deployment_instances::ListDeploymentInstancesOutput::next_token): <p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.</p>
    /// - On failure, responds with [`SdkError<ListDeploymentInstancesError>`](crate::operation::list_deployment_instances::ListDeploymentInstancesError)
    #[deprecated(note = "This operation is deprecated, use ListDeploymentTargets instead.")]
    pub fn list_deployment_instances(&self) -> crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder {
        crate::operation::list_deployment_instances::builders::ListDeploymentInstancesFluentBuilder::new(self.handle.clone())
    }
}