Copyright | (c) 2013-2021 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 |
Retrieves entries from a fleet's event log. Fleet events are initiated by changes in status, such as during fleet creation and termination, changes in capacity, etc. If a fleet has multiple locations, events are also initiated by changes to status and capacity in remote locations.
You can specify a time range to limit the result set. Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a collection of event log entries matching the request are returned.
Learn more
Related actions
ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings | DescribeFleetUtilization | DescribeRuntimeConfiguration | DescribeScalingPolicies | All APIs by task
This operation returns paginated results.
Synopsis
- data DescribeFleetEvents = DescribeFleetEvents' {}
- newDescribeFleetEvents :: Text -> DescribeFleetEvents
- describeFleetEvents_startTime :: Lens' DescribeFleetEvents (Maybe UTCTime)
- describeFleetEvents_nextToken :: Lens' DescribeFleetEvents (Maybe Text)
- describeFleetEvents_endTime :: Lens' DescribeFleetEvents (Maybe UTCTime)
- describeFleetEvents_limit :: Lens' DescribeFleetEvents (Maybe Natural)
- describeFleetEvents_fleetId :: Lens' DescribeFleetEvents Text
- data DescribeFleetEventsResponse = DescribeFleetEventsResponse' {}
- newDescribeFleetEventsResponse :: Int -> DescribeFleetEventsResponse
- describeFleetEventsResponse_nextToken :: Lens' DescribeFleetEventsResponse (Maybe Text)
- describeFleetEventsResponse_events :: Lens' DescribeFleetEventsResponse (Maybe [Event])
- describeFleetEventsResponse_httpStatus :: Lens' DescribeFleetEventsResponse Int
Creating a Request
data DescribeFleetEvents Source #
Represents the input for a request operation.
See: newDescribeFleetEvents
smart constructor.
DescribeFleetEvents' | |
|
Instances
newDescribeFleetEvents Source #
Create a value of DescribeFleetEvents
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:startTime:DescribeFleetEvents'
, describeFleetEvents_startTime
- The earliest date to retrieve event logs for. If no start time is
specified, this call returns entries starting from when the fleet was
created to the specified end time. Format is a number expressed in Unix
time as milliseconds (ex: "1469498468.057").
$sel:nextToken:DescribeFleetEvents'
, describeFleetEvents_nextToken
- A token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation.
To start at the beginning of the result set, do not specify a value.
$sel:endTime:DescribeFleetEvents'
, describeFleetEvents_endTime
- The most recent date to retrieve event logs for. If no end time is
specified, this call returns entries from the specified start time up to
the present. Format is a number expressed in Unix time as milliseconds
(ex: "1469498468.057").
$sel:limit:DescribeFleetEvents'
, describeFleetEvents_limit
- The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
$sel:fleetId:DescribeFleetEvents'
, describeFleetEvents_fleetId
- A unique identifier for the fleet to get event logs for. You can use
either the fleet ID or ARN value.
Request Lenses
describeFleetEvents_startTime :: Lens' DescribeFleetEvents (Maybe UTCTime) Source #
The earliest date to retrieve event logs for. If no start time is specified, this call returns entries starting from when the fleet was created to the specified end time. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057").
describeFleetEvents_nextToken :: Lens' DescribeFleetEvents (Maybe Text) Source #
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
describeFleetEvents_endTime :: Lens' DescribeFleetEvents (Maybe UTCTime) Source #
The most recent date to retrieve event logs for. If no end time is specified, this call returns entries from the specified start time up to the present. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057").
describeFleetEvents_limit :: Lens' DescribeFleetEvents (Maybe Natural) Source #
The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
describeFleetEvents_fleetId :: Lens' DescribeFleetEvents Text Source #
A unique identifier for the fleet to get event logs for. You can use either the fleet ID or ARN value.
Destructuring the Response
data DescribeFleetEventsResponse Source #
Represents the returned data in response to a request operation.
See: newDescribeFleetEventsResponse
smart constructor.
DescribeFleetEventsResponse' | |
|
Instances
newDescribeFleetEventsResponse Source #
Create a value of DescribeFleetEventsResponse
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:nextToken:DescribeFleetEvents'
, describeFleetEventsResponse_nextToken
- A token that indicates where to resume retrieving results on the next
call to this operation. If no token is returned, these results represent
the end of the list.
$sel:events:DescribeFleetEventsResponse'
, describeFleetEventsResponse_events
- A collection of objects containing event log entries for the specified
fleet.
$sel:httpStatus:DescribeFleetEventsResponse'
, describeFleetEventsResponse_httpStatus
- The response's http status code.
Response Lenses
describeFleetEventsResponse_nextToken :: Lens' DescribeFleetEventsResponse (Maybe Text) Source #
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
describeFleetEventsResponse_events :: Lens' DescribeFleetEventsResponse (Maybe [Event]) Source #
A collection of objects containing event log entries for the specified fleet.
describeFleetEventsResponse_httpStatus :: Lens' DescribeFleetEventsResponse Int Source #
The response's http status code.