// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetInstancesHealthStatus`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`service_id(impl Into<String>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::set_service_id):<br>required: **true**<br><p>The ID of the service that the instance is associated with.</p><br>
/// - [`instances(impl Into<String>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::instances) / [`set_instances(Option<Vec::<String>>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::set_instances):<br>required: **false**<br><p>An array that contains the IDs of all the instances that you want to get the health status for.</p> <p>If you omit <code>Instances</code>, Cloud Map returns the health status for all the instances that are associated with the specified service.</p><note> <p>To get the IDs for the instances that you've registered by using a specified service, submit a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListInstances.html">ListInstances</a> request.</p> </note><br>
/// - [`max_results(i32)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of instances that you want Cloud Map to return in the response to a <code>GetInstancesHealthStatus</code> request. If you don't specify a value for <code>MaxResults</code>, Cloud Map returns up to 100 instances.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::set_next_token):<br>required: **false**<br><p>For the first <code>GetInstancesHealthStatus</code> request, omit this value.</p> <p>If more than <code>MaxResults</code> instances match the specified criteria, you can submit another <code>GetInstancesHealthStatus</code> request to get the next group of results. Specify the value of <code>NextToken</code> from the previous response in the next request.</p><br>
/// - On success, responds with [`GetInstancesHealthStatusOutput`](crate::operation::get_instances_health_status::GetInstancesHealthStatusOutput) with field(s):
/// - [`status(Option<HashMap::<String, HealthStatus>>)`](crate::operation::get_instances_health_status::GetInstancesHealthStatusOutput::status): <p>A complex type that contains the IDs and the health status of the instances that you specified in the <code>GetInstancesHealthStatus</code> request.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_instances_health_status::GetInstancesHealthStatusOutput::next_token): <p>If more than <code>MaxResults</code> instances match the specified criteria, you can submit another <code>GetInstancesHealthStatus</code> request to get the next group of results. Specify the value of <code>NextToken</code> from the previous response in the next request.</p>
/// - On failure, responds with [`SdkError<GetInstancesHealthStatusError>`](crate::operation::get_instances_health_status::GetInstancesHealthStatusError)
pub fn get_instances_health_status(&self) -> crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder {
crate::operation::get_instances_health_status::builders::GetInstancesHealthStatusFluentBuilder::new(self.handle.clone())
}
}