Struct aws_sdk_ec2::client::fluent_builders::DescribeFleets [−][src]
pub struct DescribeFleets<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeFleets
.
Describes the specified EC2 Fleets or all of your EC2 Fleets.
For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.
Implementations
impl<C, M, R> DescribeFleets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeFleets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeFleetsOutput, SdkError<DescribeFleetsError>> where
R::Policy: SmithyRetryPolicy<DescribeFleetsInputOperationOutputAlias, DescribeFleetsOutput, DescribeFleetsError, DescribeFleetsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeFleetsOutput, SdkError<DescribeFleetsError>> where
R::Policy: SmithyRetryPolicy<DescribeFleetsInputOperationOutputAlias, DescribeFleetsOutput, DescribeFleetsError, DescribeFleetsInputOperationRetryAlias>,
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.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
The maximum number of results to return in a single call. Specify a value between 1 and
1000. The default value is 1000. To retrieve the remaining results, make another call with
the returned NextToken
value.
The maximum number of results to return in a single call. Specify a value between 1 and
1000. The default value is 1000. To retrieve the remaining results, make another call with
the returned NextToken
value.
The token for the next set of results.
The token for the next set of results.
Appends an item to FleetIds
.
To override the contents of this collection use set_fleet_ids
.
The ID of the EC2 Fleets.
The ID of the EC2 Fleets.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters.
-
activity-status
- The progress of the EC2 Fleet (error
|pending-fulfillment
|pending-termination
|fulfilled
). -
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target capacity is decreased below the current EC2 Fleet size (true
|false
). -
fleet-state
- The state of the EC2 Fleet (submitted
|active
|deleted
|failed
|deleted-running
|deleted-terminating
|modifying
). -
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (true
|false
). -
type
- The type of request (instant
|request
|maintain
).
The filters.
-
activity-status
- The progress of the EC2 Fleet (error
|pending-fulfillment
|pending-termination
|fulfilled
). -
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target capacity is decreased below the current EC2 Fleet size (true
|false
). -
fleet-state
- The state of the EC2 Fleet (submitted
|active
|deleted
|failed
|deleted-running
|deleted-terminating
|modifying
). -
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (true
|false
). -
type
- The type of request (instant
|request
|maintain
).
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeFleets<C, M, R>
impl<C, M, R> Send for DescribeFleets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeFleets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeFleets<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeFleets<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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