pub struct DescribeInstanceHealth { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeInstanceHealth
.
Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.
Implementations§
source§impl DescribeInstanceHealth
impl DescribeInstanceHealth
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeInstanceHealth, AwsResponseRetryClassifier>, SdkError<DescribeInstanceHealthError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeInstanceHealth, AwsResponseRetryClassifier>, SdkError<DescribeInstanceHealthError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeInstanceHealthOutput, SdkError<DescribeInstanceHealthError>>
pub async fn send(
self
) -> Result<DescribeInstanceHealthOutput, SdkError<DescribeInstanceHealthError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn instances(self, input: Instance) -> Self
pub fn instances(self, input: Instance) -> Self
Appends an item to Instances
.
To override the contents of this collection use set_instances
.
The IDs of the instances.
sourcepub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
pub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
The IDs of the instances.
Trait Implementations§
source§impl Clone for DescribeInstanceHealth
impl Clone for DescribeInstanceHealth
source§fn clone(&self) -> DescribeInstanceHealth
fn clone(&self) -> DescribeInstanceHealth
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more