| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GamesParks.GetSnapshot
Description
Gets a copy of the game configuration in a snapshot.
Synopsis
- data GetSnapshot = GetSnapshot' {}
- newGetSnapshot :: Text -> Text -> GetSnapshot
- getSnapshot_sections :: Lens' GetSnapshot (Maybe (NonEmpty Text))
- getSnapshot_gameName :: Lens' GetSnapshot Text
- getSnapshot_snapshotId :: Lens' GetSnapshot Text
- data GetSnapshotResponse = GetSnapshotResponse' {}
- newGetSnapshotResponse :: Int -> GetSnapshotResponse
- getSnapshotResponse_snapshot :: Lens' GetSnapshotResponse (Maybe SnapshotDetails)
- getSnapshotResponse_httpStatus :: Lens' GetSnapshotResponse Int
Creating a Request
data GetSnapshot Source #
See: newGetSnapshot smart constructor.
Constructors
| GetSnapshot' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetSnapshot |
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_gameName :: Lens' GetSnapshot Text Source #
The name of the game.
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
newGetSnapshotResponse Source #
Arguments
| :: Int | |
| -> GetSnapshotResponse |
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.
getSnapshotResponse_httpStatus :: Lens' GetSnapshotResponse Int Source #
The response's http status code.