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

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.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSpotFleetRequestHistory.html

Synopsis

Request

Request constructor

Request lenses

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.

dsfrhEventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType) Source

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

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.

dsfrhNextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text) Source

The token for the next set of results.

dsfrhStartTime :: Lens' DescribeSpotFleetRequestHistory UTCTime Source

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

Response

Response constructor

Response lenses

dsfrhrHistoryRecords :: Lens' DescribeSpotFleetRequestHistoryResponse [HistoryRecord] Source

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

dsfrhrLastEvaluatedTime :: 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.

dsfrhrNextToken :: 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.

dsfrhrStartTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime Source

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