Struct aws_sdk_ec2::client::fluent_builders::DescribeSpotFleetRequestHistory [−][src]
pub struct DescribeSpotFleetRequestHistory<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeSpotFleetRequestHistory
.
Describes the events for the specified Spot Fleet request during the specified time.
Spot Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. Spot Fleet events are available for 48 hours.
For more information, see Monitor fleet events using Amazon EventBridge in the Amazon EC2 User Guide for Linux Instances.
Implementations
impl<C, M, R> DescribeSpotFleetRequestHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeSpotFleetRequestHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeSpotFleetRequestHistoryOutput, SdkError<DescribeSpotFleetRequestHistoryError>> where
R::Policy: SmithyRetryPolicy<DescribeSpotFleetRequestHistoryInputOperationOutputAlias, DescribeSpotFleetRequestHistoryOutput, DescribeSpotFleetRequestHistoryError, DescribeSpotFleetRequestHistoryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeSpotFleetRequestHistoryOutput, SdkError<DescribeSpotFleetRequestHistoryError>> where
R::Policy: SmithyRetryPolicy<DescribeSpotFleetRequestHistoryInputOperationOutputAlias, DescribeSpotFleetRequestHistoryOutput, DescribeSpotFleetRequestHistoryError, DescribeSpotFleetRequestHistoryInputOperationRetryAlias>,
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 type of events to describe. By default, all events are described.
The type of events to describe. By default, all events are described.
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.
The ID of the Spot Fleet request.
The ID of the Spot Fleet request.
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeSpotFleetRequestHistory<C, M, R>
impl<C, M, R> Send for DescribeSpotFleetRequestHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeSpotFleetRequestHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeSpotFleetRequestHistory<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeSpotFleetRequestHistory<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