pub struct DescribeCapacityReservationFleets<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeCapacityReservationFleets
.
Describes one or more Capacity Reservation Fleets.
Implementations
impl<C, M, R> DescribeCapacityReservationFleets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeCapacityReservationFleets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeCapacityReservationFleetsOutput, SdkError<DescribeCapacityReservationFleetsError>> where
R::Policy: SmithyRetryPolicy<DescribeCapacityReservationFleetsInputOperationOutputAlias, DescribeCapacityReservationFleetsOutput, DescribeCapacityReservationFleetsError, DescribeCapacityReservationFleetsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeCapacityReservationFleetsOutput, SdkError<DescribeCapacityReservationFleetsError>> where
R::Policy: SmithyRetryPolicy<DescribeCapacityReservationFleetsInputOperationOutputAlias, DescribeCapacityReservationFleetsOutput, DescribeCapacityReservationFleetsError, DescribeCapacityReservationFleetsInputOperationRetryAlias>,
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
.
Appends an item to CapacityReservationFleetIds
.
To override the contents of this collection use set_capacity_reservation_fleet_ids
.
The IDs of the Capacity Reservation Fleets to describe.
The IDs of the Capacity Reservation Fleets to describe.
The token to use to retrieve the next page of results.
The token to use to retrieve the next page of results.
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
state
- The state of the Fleet (submitted
|modifying
|active
|partially_fulfilled
|expiring
|expired
|cancelling
|cancelled
|failed
). -
instance-match-criteria
- The instance matching criteria for the Fleet. Onlyopen
is supported. -
tenancy
- The tenancy of the Fleet (default
|dedicated
). -
allocation-strategy
- The allocation strategy used by the Fleet. Onlyprioritized
is supported.
One or more filters.
-
state
- The state of the Fleet (submitted
|modifying
|active
|partially_fulfilled
|expiring
|expired
|cancelling
|cancelled
|failed
). -
instance-match-criteria
- The instance matching criteria for the Fleet. Onlyopen
is supported. -
tenancy
- The tenancy of the Fleet (default
|dedicated
). -
allocation-strategy
- The allocation strategy used by the Fleet. Onlyprioritized
is supported.
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
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeCapacityReservationFleets<C, M, R>
impl<C, M, R> Send for DescribeCapacityReservationFleets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeCapacityReservationFleets<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeCapacityReservationFleets<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeCapacityReservationFleets<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