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 |
Retrieves entries from the fleet event log. 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.
- describeFleetEvents :: Text -> DescribeFleetEvents
- data DescribeFleetEvents
- dfeStartTime :: Lens' DescribeFleetEvents (Maybe UTCTime)
- dfeNextToken :: Lens' DescribeFleetEvents (Maybe Text)
- dfeEndTime :: Lens' DescribeFleetEvents (Maybe UTCTime)
- dfeLimit :: Lens' DescribeFleetEvents (Maybe Natural)
- dfeFleetId :: Lens' DescribeFleetEvents Text
- describeFleetEventsResponse :: Int -> DescribeFleetEventsResponse
- data DescribeFleetEventsResponse
- dfersNextToken :: Lens' DescribeFleetEventsResponse (Maybe Text)
- dfersEvents :: Lens' DescribeFleetEventsResponse [Event]
- dfersResponseStatus :: Lens' DescribeFleetEventsResponse Int
Creating a Request
Creates a value of DescribeFleetEvents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFleetEvents Source #
Represents the input for a request action.
See: describeFleetEvents
smart constructor.
Request Lenses
dfeStartTime :: Lens' DescribeFleetEvents (Maybe UTCTime) Source #
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 an integer representing the number of seconds since the Unix epoch (Unix time).
dfeNextToken :: Lens' DescribeFleetEvents (Maybe Text) Source #
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
dfeEndTime :: Lens' DescribeFleetEvents (Maybe UTCTime) Source #
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 an integer representing the number of seconds since the Unix epoch (Unix time).
dfeLimit :: Lens' DescribeFleetEvents (Maybe Natural) Source #
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
dfeFleetId :: Lens' DescribeFleetEvents Text Source #
Unique identifier for the fleet to get event logs for.
Destructuring the Response
describeFleetEventsResponse Source #
Creates a value of DescribeFleetEventsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFleetEventsResponse Source #
Represents the returned data in response to a request action.
See: describeFleetEventsResponse
smart constructor.
Response Lenses
dfersNextToken :: Lens' DescribeFleetEventsResponse (Maybe Text) Source #
Token indicating where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
If a request has a limit that exactly matches the number of remaining results, a token is returned even though there are no more results to retrieve.
dfersEvents :: Lens' DescribeFleetEventsResponse [Event] Source #
Collection of objects containing event log entries for the specified fleet.
dfersResponseStatus :: Lens' DescribeFleetEventsResponse Int Source #
The response status code.