pub struct ListInstances { /* private fields */ }
Expand description

Fluent builder constructing a request to ListInstances.

Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.

Implementations

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.

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.

Create a paginator for this request

Paginators are used by calling send().await which returns a Stream.

The identifier of the cluster for which to list the instances.

The identifier of the cluster for which to list the instances.

The identifier of the instance group for which to list the instances.

The identifier of the instance group for which to list the instances.

Appends an item to InstanceGroupTypes.

To override the contents of this collection use set_instance_group_types.

The type of instance group for which to list the instances.

The type of instance group for which to list the instances.

The unique identifier of the instance fleet.

The unique identifier of the instance fleet.

The node type of the instance fleet. For example MASTER, CORE, or TASK.

The node type of the instance fleet. For example MASTER, CORE, or TASK.

Appends an item to InstanceStates.

To override the contents of this collection use set_instance_states.

A list of instance states that will filter the instances returned with this request.

A list of instance states that will filter the instances returned with this request.

The pagination token that indicates the next set of results to retrieve.

The pagination token that indicates the next set of results to retrieve.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more