Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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. Spot Fleet events are available for 48 hours.
For more information, see Monitor fleet events using Amazon EventBridge in the Amazon EC2 User Guide.
Synopsis
- data DescribeSpotFleetRequestHistory = DescribeSpotFleetRequestHistory' {}
- newDescribeSpotFleetRequestHistory :: Text -> UTCTime -> DescribeSpotFleetRequestHistory
- describeSpotFleetRequestHistory_dryRun :: Lens' DescribeSpotFleetRequestHistory (Maybe Bool)
- describeSpotFleetRequestHistory_eventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType)
- describeSpotFleetRequestHistory_maxResults :: Lens' DescribeSpotFleetRequestHistory (Maybe Natural)
- describeSpotFleetRequestHistory_nextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text)
- describeSpotFleetRequestHistory_spotFleetRequestId :: Lens' DescribeSpotFleetRequestHistory Text
- describeSpotFleetRequestHistory_startTime :: Lens' DescribeSpotFleetRequestHistory UTCTime
- data DescribeSpotFleetRequestHistoryResponse = DescribeSpotFleetRequestHistoryResponse' {}
- newDescribeSpotFleetRequestHistoryResponse :: Int -> DescribeSpotFleetRequestHistoryResponse
- describeSpotFleetRequestHistoryResponse_historyRecords :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe [HistoryRecord])
- describeSpotFleetRequestHistoryResponse_lastEvaluatedTime :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe UTCTime)
- describeSpotFleetRequestHistoryResponse_nextToken :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text)
- describeSpotFleetRequestHistoryResponse_spotFleetRequestId :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text)
- describeSpotFleetRequestHistoryResponse_startTime :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe UTCTime)
- describeSpotFleetRequestHistoryResponse_httpStatus :: Lens' DescribeSpotFleetRequestHistoryResponse Int
Creating a Request
data DescribeSpotFleetRequestHistory Source #
Contains the parameters for DescribeSpotFleetRequestHistory.
See: newDescribeSpotFleetRequestHistory
smart constructor.
DescribeSpotFleetRequestHistory' | |
|
Instances
newDescribeSpotFleetRequestHistory Source #
Create a value of DescribeSpotFleetRequestHistory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeSpotFleetRequestHistory'
, describeSpotFleetRequestHistory_dryRun
- 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
.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistory_eventType
- The type of events to describe. By default, all events are described.
$sel:maxResults:DescribeSpotFleetRequestHistory'
, describeSpotFleetRequestHistory_maxResults
- 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.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistory_nextToken
- The token for the next set of results.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistory_spotFleetRequestId
- The ID of the Spot Fleet request.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistory_startTime
- The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
Request Lenses
describeSpotFleetRequestHistory_dryRun :: 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
.
describeSpotFleetRequestHistory_eventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType) Source #
The type of events to describe. By default, all events are described.
describeSpotFleetRequestHistory_maxResults :: Lens' DescribeSpotFleetRequestHistory (Maybe Natural) 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.
describeSpotFleetRequestHistory_nextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text) Source #
The token for the next set of results.
describeSpotFleetRequestHistory_spotFleetRequestId :: Lens' DescribeSpotFleetRequestHistory Text Source #
The ID of the Spot Fleet request.
describeSpotFleetRequestHistory_startTime :: 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
data DescribeSpotFleetRequestHistoryResponse Source #
Contains the output of DescribeSpotFleetRequestHistory.
See: newDescribeSpotFleetRequestHistoryResponse
smart constructor.
DescribeSpotFleetRequestHistoryResponse' | |
|
Instances
newDescribeSpotFleetRequestHistoryResponse Source #
Create a value of DescribeSpotFleetRequestHistoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:historyRecords:DescribeSpotFleetRequestHistoryResponse'
, describeSpotFleetRequestHistoryResponse_historyRecords
- Information about the events in the history of the Spot Fleet request.
$sel:lastEvaluatedTime:DescribeSpotFleetRequestHistoryResponse'
, describeSpotFleetRequestHistoryResponse_lastEvaluatedTime
- 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.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistoryResponse_nextToken
- The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistoryResponse_spotFleetRequestId
- The ID of the Spot Fleet request.
DescribeSpotFleetRequestHistory
, describeSpotFleetRequestHistoryResponse_startTime
- The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
$sel:httpStatus:DescribeSpotFleetRequestHistoryResponse'
, describeSpotFleetRequestHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
describeSpotFleetRequestHistoryResponse_historyRecords :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe [HistoryRecord]) Source #
Information about the events in the history of the Spot Fleet request.
describeSpotFleetRequestHistoryResponse_lastEvaluatedTime :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe 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.
describeSpotFleetRequestHistoryResponse_nextToken :: 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.
describeSpotFleetRequestHistoryResponse_spotFleetRequestId :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text) Source #
The ID of the Spot Fleet request.
describeSpotFleetRequestHistoryResponse_startTime :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe UTCTime) Source #
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
describeSpotFleetRequestHistoryResponse_httpStatus :: Lens' DescribeSpotFleetRequestHistoryResponse Int Source #
The response's http status code.