amazonka-gamesparks-2.0: Amazon GameSparks 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.GamesParks.ListSnapshots

Description

Gets a paginated list of snapshot summaries from the game.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSnapshots Source #

See: newListSnapshots smart constructor.

Constructors

ListSnapshots' 

Fields

  • maxResults :: 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

    The 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.

  • gameName :: Text

    The name of the game.

Instances

Instances details
ToHeaders ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

ToPath ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

ToQuery ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

AWSPager ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

AWSRequest ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Associated Types

type AWSResponse ListSnapshots #

Generic ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Associated Types

type Rep ListSnapshots :: Type -> Type #

Read ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Show ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

NFData ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Methods

rnf :: ListSnapshots -> () #

Eq ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Hashable ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

type AWSResponse ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

type Rep ListSnapshots Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

type Rep ListSnapshots = D1 ('MetaData "ListSnapshots" "Amazonka.GamesParks.ListSnapshots" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "ListSnapshots'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gameName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListSnapshots Source #

Create a value of ListSnapshots 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:maxResults:ListSnapshots', listSnapshots_maxResults - The maximum number of results to return.

Use this parameter with NextToken to get results as a set of sequential pages.

ListSnapshots, listSnapshots_nextToken - The 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:gameName:ListSnapshots', listSnapshots_gameName - The name of the game.

Request Lenses

listSnapshots_maxResults :: Lens' ListSnapshots (Maybe Natural) Source #

The maximum number of results to return.

Use this parameter with NextToken to get results as a set of sequential pages.

listSnapshots_nextToken :: Lens' ListSnapshots (Maybe Text) Source #

The 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.

Destructuring the Response

data ListSnapshotsResponse Source #

See: newListSnapshotsResponse smart constructor.

Constructors

ListSnapshotsResponse' 

Fields

  • nextToken :: Maybe Text

    The token that indicates the start of the next sequential page of results.

    Use this value when making the next call to this operation to continue where the last one finished.

  • snapshots :: Maybe [SnapshotSummary]

    A list of snapshot summaries. You can use the returned snapshot IDs in the UpdateSnapshot and GetSnapshot operations.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Associated Types

type Rep ListSnapshotsResponse :: Type -> Type #

Read ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Show ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

NFData ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

Methods

rnf :: ListSnapshotsResponse -> () #

Eq ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

type Rep ListSnapshotsResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ListSnapshots

type Rep ListSnapshotsResponse = D1 ('MetaData "ListSnapshotsResponse" "Amazonka.GamesParks.ListSnapshots" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "ListSnapshotsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snapshots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SnapshotSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSnapshotsResponse Source #

Create a value of ListSnapshotsResponse 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:

ListSnapshots, listSnapshotsResponse_nextToken - The token that indicates the start of the next sequential page of results.

Use this value when making the next call to this operation to continue where the last one finished.

$sel:snapshots:ListSnapshotsResponse', listSnapshotsResponse_snapshots - A list of snapshot summaries. You can use the returned snapshot IDs in the UpdateSnapshot and GetSnapshot operations.

$sel:httpStatus:ListSnapshotsResponse', listSnapshotsResponse_httpStatus - The response's http status code.

Response Lenses

listSnapshotsResponse_nextToken :: Lens' ListSnapshotsResponse (Maybe Text) Source #

The token that indicates the start of the next sequential page of results.

Use this value when making the next call to this operation to continue where the last one finished.

listSnapshotsResponse_snapshots :: Lens' ListSnapshotsResponse (Maybe [SnapshotSummary]) Source #

A list of snapshot summaries. You can use the returned snapshot IDs in the UpdateSnapshot and GetSnapshot operations.