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

Description

Exports a game configuration snapshot.

Synopsis

Creating a Request

data ExportSnapshot Source #

See: newExportSnapshot smart constructor.

Constructors

ExportSnapshot' 

Fields

Instances

Instances details
ToHeaders ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

ToPath ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

ToQuery ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

AWSRequest ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Associated Types

type AWSResponse ExportSnapshot #

Generic ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Associated Types

type Rep ExportSnapshot :: Type -> Type #

Read ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Show ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

NFData ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Methods

rnf :: ExportSnapshot -> () #

Eq ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Hashable ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

type AWSResponse ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

type Rep ExportSnapshot Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

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

newExportSnapshot Source #

Create a value of ExportSnapshot 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:gameName:ExportSnapshot', exportSnapshot_gameName - The name of the game.

ExportSnapshot, exportSnapshot_snapshotId - The identifier of the snapshot to export.

Request Lenses

exportSnapshot_snapshotId :: Lens' ExportSnapshot Text Source #

The identifier of the snapshot to export.

Destructuring the Response

data ExportSnapshotResponse Source #

See: newExportSnapshotResponse smart constructor.

Constructors

ExportSnapshotResponse' 

Fields

  • s3Url :: Maybe Text

    The presigned URL for the snapshot data.

    This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Associated Types

type Rep ExportSnapshotResponse :: Type -> Type #

Read ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Show ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

NFData ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

Methods

rnf :: ExportSnapshotResponse -> () #

Eq ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

type Rep ExportSnapshotResponse Source # 
Instance details

Defined in Amazonka.GamesParks.ExportSnapshot

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

newExportSnapshotResponse Source #

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

ExportSnapshotResponse, exportSnapshotResponse_s3Url - The presigned URL for the snapshot data.

This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation.

$sel:httpStatus:ExportSnapshotResponse', exportSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

exportSnapshotResponse_s3Url :: Lens' ExportSnapshotResponse (Maybe Text) Source #

The presigned URL for the snapshot data.

This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation.