Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeSpotFleetRequestHistory :: Text -> UTCTime -> DescribeSpotFleetRequestHistory
- data DescribeSpotFleetRequestHistory
- dsfrhNextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text)
- dsfrhEventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType)
- dsfrhDryRun :: Lens' DescribeSpotFleetRequestHistory (Maybe Bool)
- dsfrhMaxResults :: Lens' DescribeSpotFleetRequestHistory (Maybe Int)
- dsfrhSpotFleetRequestId :: Lens' DescribeSpotFleetRequestHistory Text
- dsfrhStartTime :: Lens' DescribeSpotFleetRequestHistory UTCTime
- describeSpotFleetRequestHistoryResponse :: Int -> Text -> UTCTime -> UTCTime -> DescribeSpotFleetRequestHistoryResponse
- data DescribeSpotFleetRequestHistoryResponse
- dsfrhrsNextToken :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text)
- dsfrhrsResponseStatus :: Lens' DescribeSpotFleetRequestHistoryResponse Int
- dsfrhrsSpotFleetRequestId :: Lens' DescribeSpotFleetRequestHistoryResponse Text
- dsfrhrsStartTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime
- dsfrhrsLastEvaluatedTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime
- dsfrhrsHistoryRecords :: Lens' DescribeSpotFleetRequestHistoryResponse [HistoryRecord]
Creating a Request
describeSpotFleetRequestHistory Source #
Creates a value of DescribeSpotFleetRequestHistory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeSpotFleetRequestHistory Source #
Contains the parameters for DescribeSpotFleetRequestHistory.
See: describeSpotFleetRequestHistory
smart constructor.
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.
dsfrhSpotFleetRequestId :: Lens' DescribeSpotFleetRequestHistory Text Source #
The ID of the Spot fleet request.
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
describeSpotFleetRequestHistoryResponse Source #
:: Int | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> DescribeSpotFleetRequestHistoryResponse |
Creates a value of DescribeSpotFleetRequestHistoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeSpotFleetRequestHistoryResponse Source #
Contains the output of DescribeSpotFleetRequestHistory.
See: describeSpotFleetRequestHistoryResponse
smart constructor.
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.
dsfrhrsResponseStatus :: Lens' DescribeSpotFleetRequestHistoryResponse Int Source #
The response status code.
dsfrhrsSpotFleetRequestId :: Lens' DescribeSpotFleetRequestHistoryResponse Text Source #
The ID of the Spot fleet request.
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.