Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the events for the specified EC2 Fleet during the specified time.
Synopsis
- describeFleetHistory :: Text -> UTCTime -> DescribeFleetHistory
- data DescribeFleetHistory
- dfhNextToken :: Lens' DescribeFleetHistory (Maybe Text)
- dfhEventType :: Lens' DescribeFleetHistory (Maybe FleetEventType)
- dfhDryRun :: Lens' DescribeFleetHistory (Maybe Bool)
- dfhMaxResults :: Lens' DescribeFleetHistory (Maybe Int)
- dfhFleetId :: Lens' DescribeFleetHistory Text
- dfhStartTime :: Lens' DescribeFleetHistory UTCTime
- describeFleetHistoryResponse :: Int -> DescribeFleetHistoryResponse
- data DescribeFleetHistoryResponse
- dfhrsStartTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime)
- dfhrsLastEvaluatedTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime)
- dfhrsNextToken :: Lens' DescribeFleetHistoryResponse (Maybe Text)
- dfhrsHistoryRecords :: Lens' DescribeFleetHistoryResponse [HistoryRecordEntry]
- dfhrsFleetId :: Lens' DescribeFleetHistoryResponse (Maybe Text)
- dfhrsResponseStatus :: Lens' DescribeFleetHistoryResponse Int
Creating a Request
Creates a value of DescribeFleetHistory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfhNextToken
- The token for the next set of results.dfhEventType
- The type of events to describe. By default, all events are described.dfhDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dfhMaxResults
- 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 returnedNextToken
value.dfhFleetId
- The ID of the EC2 Fleet.dfhStartTime
- The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).
data DescribeFleetHistory Source #
See: describeFleetHistory
smart constructor.
Instances
Request Lenses
dfhNextToken :: Lens' DescribeFleetHistory (Maybe Text) Source #
The token for the next set of results.
dfhEventType :: Lens' DescribeFleetHistory (Maybe FleetEventType) Source #
The type of events to describe. By default, all events are described.
dfhDryRun :: Lens' DescribeFleetHistory (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
.
dfhMaxResults :: Lens' DescribeFleetHistory (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.
dfhFleetId :: Lens' DescribeFleetHistory Text Source #
The ID of the EC2 Fleet.
dfhStartTime :: Lens' DescribeFleetHistory UTCTime Source #
The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).
Destructuring the Response
describeFleetHistoryResponse Source #
Creates a value of DescribeFleetHistoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfhrsStartTime
- The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).dfhrsLastEvaluatedTime
- The last date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z). All records up to this time were retrieved. IfnextToken
indicates that there are more results, this value is not present.dfhrsNextToken
- The token for the next set of results.dfhrsHistoryRecords
- Information about the events in the history of the EC2 Fleet.dfhrsFleetId
- The ID of the EC Fleet.dfhrsResponseStatus
- -- | The response status code.
data DescribeFleetHistoryResponse Source #
See: describeFleetHistoryResponse
smart constructor.
Instances
Response Lenses
dfhrsStartTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime) Source #
The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).
dfhrsLastEvaluatedTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime) Source #
The last date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z). All records up to this time were retrieved. If nextToken
indicates that there are more results, this value is not present.
dfhrsNextToken :: Lens' DescribeFleetHistoryResponse (Maybe Text) Source #
The token for the next set of results.
dfhrsHistoryRecords :: Lens' DescribeFleetHistoryResponse [HistoryRecordEntry] Source #
Information about the events in the history of the EC2 Fleet.
dfhrsFleetId :: Lens' DescribeFleetHistoryResponse (Maybe Text) Source #
The ID of the EC Fleet.
dfhrsResponseStatus :: Lens' DescribeFleetHistoryResponse Int Source #
- - | The response status code.