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 |
Retrieves entries from the specified fleet's 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.
Fleet-related operations include:
CreateFleet
ListFleets
DeleteFleet
- Describe fleets:
DescribeFleetAttributes
DescribeFleetCapacity
DescribeFleetPortSettings
DescribeFleetUtilization
DescribeRuntimeConfiguration
DescribeEC2InstanceLimits
DescribeFleetEvents
- Update fleets:
UpdateFleetAttributes
UpdateFleetCapacity
UpdateFleetPortSettings
UpdateRuntimeConfiguration
- Manage fleet actions:
StartFleetActions
StopFleetActions
Synopsis
- 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:
dfeStartTime
- 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").dfeNextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.dfeEndTime
- 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").dfeLimit
- Maximum number of results to return. Use this parameter withNextToken
to get results as a set of sequential pages.dfeFleetId
- Unique identifier for a fleet to get event logs for.
data DescribeFleetEvents Source #
Represents the input for a request action.
See: describeFleetEvents
smart constructor.
Instances
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 a number expressed in Unix time as milliseconds (ex: "1469498468.057").
dfeNextToken :: Lens' DescribeFleetEvents (Maybe Text) Source #
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning 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 a number expressed in Unix time as milliseconds (ex: "1469498468.057").
dfeLimit :: Lens' DescribeFleetEvents (Maybe Natural) Source #
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of sequential pages.
dfeFleetId :: Lens' DescribeFleetEvents Text Source #
Unique identifier for a 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:
dfersNextToken
- Token that indicates 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.dfersEvents
- Collection of objects containing event log entries for the specified fleet.dfersResponseStatus
- -- | The response status code.
data DescribeFleetEventsResponse Source #
Represents the returned data in response to a request action.
See: describeFleetEventsResponse
smart constructor.
Instances
Response Lenses
dfersNextToken :: Lens' DescribeFleetEventsResponse (Maybe Text) Source #
Token that indicates 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.
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.