amazonka-ec2-1.2.0.2: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeSpotFleetRequestHistory

Contents

Description

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.

See: AWS API Reference for DescribeSpotFleetRequestHistory.

Synopsis

Creating a Request

Request Lenses

dsfrhNextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text) Source

The token for the next set of results.

dsfrhEventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType) Source

The type of events to describe. By default, all events are described.

dsfrhDryRun :: Lens' DescribeSpotFleetRequestHistory (Maybe Bool) Source

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.

dsfrhMaxResults :: Lens' DescribeSpotFleetRequestHistory (Maybe Int) Source

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.

dsfrhStartTime :: Lens' DescribeSpotFleetRequestHistory UTCTime Source

The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Destructuring the Response

Response Lenses

dsfrhrsNextToken :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text) Source

The token required to retrieve the next set of results. This value is null when there are no more results to return.

dsfrhrsStartTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime Source

The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

dsfrhrsLastEvaluatedTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime Source

The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.

If nextToken indicates that there are more results, this value is not present.

dsfrhrsHistoryRecords :: Lens' DescribeSpotFleetRequestHistoryResponse [HistoryRecord] Source

Information about the events in the history of the Spot fleet request.