amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.DescribeFleetEvents

Description

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

Setting up GameLift fleets

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFleetEvents Source #

See: newDescribeFleetEvents smart constructor.

Constructors

DescribeFleetEvents' 

Fields

  • endTime :: Maybe POSIX

    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").

  • limit :: Maybe Natural

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

  • nextToken :: Maybe Text

    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.

  • startTime :: Maybe POSIX

    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").

  • fleetId :: Text

    A unique identifier for the fleet to get event logs for. You can use either the fleet ID or ARN value.

Instances

Instances details
ToJSON DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

ToHeaders DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

ToPath DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

ToQuery DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

AWSPager DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

AWSRequest DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Associated Types

type AWSResponse DescribeFleetEvents #

Generic DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Associated Types

type Rep DescribeFleetEvents :: Type -> Type #

Read DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Show DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

NFData DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Methods

rnf :: DescribeFleetEvents -> () #

Eq DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Hashable DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

type AWSResponse DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

type Rep DescribeFleetEvents Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

type Rep DescribeFleetEvents = D1 ('MetaData "DescribeFleetEvents" "Amazonka.GameLift.DescribeFleetEvents" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeFleetEvents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

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.

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.

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").

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_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_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_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_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 #

See: newDescribeFleetEventsResponse smart constructor.

Constructors

DescribeFleetEventsResponse' 

Fields

  • events :: Maybe [Event]

    A collection of objects containing event log entries for the specified fleet.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Associated Types

type Rep DescribeFleetEventsResponse :: Type -> Type #

Read DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Show DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

NFData DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

Eq DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

type Rep DescribeFleetEventsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetEvents

type Rep DescribeFleetEventsResponse = D1 ('MetaData "DescribeFleetEventsResponse" "Amazonka.GameLift.DescribeFleetEvents" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeFleetEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Event])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:events:DescribeFleetEventsResponse', describeFleetEventsResponse_events - A collection of objects containing event log entries for the specified fleet.

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:httpStatus:DescribeFleetEventsResponse', describeFleetEventsResponse_httpStatus - The response's http status code.

Response Lenses

describeFleetEventsResponse_events :: Lens' DescribeFleetEventsResponse (Maybe [Event]) Source #

A collection of objects containing event log entries for the specified fleet.

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.