amazonka-gamelift-1.4.0: Amazon GameLift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GameLift.DescribeFleetEvents

Contents

Description

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.

Synopsis

Creating a Request

describeFleetEvents Source

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:

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:

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.