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

Description

Gets a copy of the game configuration in a snapshot.

Synopsis

Creating a Request

data GetSnapshot Source #

See: newGetSnapshot smart constructor.

Constructors

GetSnapshot' 

Fields

Instances

Instances details
ToHeaders GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Methods

toHeaders :: GetSnapshot -> [Header] #

ToPath GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

ToQuery GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

AWSRequest GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Associated Types

type AWSResponse GetSnapshot #

Generic GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Associated Types

type Rep GetSnapshot :: Type -> Type #

Read GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Show GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

NFData GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Methods

rnf :: GetSnapshot -> () #

Eq GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Hashable GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

type AWSResponse GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

type Rep GetSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

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

newGetSnapshot Source #

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

GetSnapshot, getSnapshot_sections - The list of game configuration sections to be described.

$sel:gameName:GetSnapshot', getSnapshot_gameName - The name of the game.

GetSnapshot, getSnapshot_snapshotId - The identifier of the snapshot.

Request Lenses

getSnapshot_sections :: Lens' GetSnapshot (Maybe (NonEmpty Text)) Source #

The list of game configuration sections to be described.

getSnapshot_snapshotId :: Lens' GetSnapshot Text Source #

The identifier of the snapshot.

Destructuring the Response

data GetSnapshotResponse Source #

See: newGetSnapshotResponse smart constructor.

Constructors

GetSnapshotResponse' 

Fields

Instances

Instances details
Generic GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Associated Types

type Rep GetSnapshotResponse :: Type -> Type #

Read GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Show GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

NFData GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

Methods

rnf :: GetSnapshotResponse -> () #

Eq GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

type Rep GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetSnapshot

type Rep GetSnapshotResponse = D1 ('MetaData "GetSnapshotResponse" "Amazonka.GamesParks.GetSnapshot" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "GetSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapshotDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSnapshotResponse Source #

Create a value of GetSnapshotResponse 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:snapshot:GetSnapshotResponse', getSnapshotResponse_snapshot - Properties that provide details of the snapshot.

$sel:httpStatus:GetSnapshotResponse', getSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

getSnapshotResponse_snapshot :: Lens' GetSnapshotResponse (Maybe SnapshotDetails) Source #

Properties that provide details of the snapshot.