Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a specific database snapshot in Amazon Lightsail.
Synopsis
- data GetRelationalDatabaseSnapshot = GetRelationalDatabaseSnapshot' {}
- newGetRelationalDatabaseSnapshot :: Text -> GetRelationalDatabaseSnapshot
- getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: Lens' GetRelationalDatabaseSnapshot Text
- data GetRelationalDatabaseSnapshotResponse = GetRelationalDatabaseSnapshotResponse' {}
- newGetRelationalDatabaseSnapshotResponse :: Int -> GetRelationalDatabaseSnapshotResponse
- getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot :: Lens' GetRelationalDatabaseSnapshotResponse (Maybe RelationalDatabaseSnapshot)
- getRelationalDatabaseSnapshotResponse_httpStatus :: Lens' GetRelationalDatabaseSnapshotResponse Int
Creating a Request
data GetRelationalDatabaseSnapshot Source #
See: newGetRelationalDatabaseSnapshot
smart constructor.
GetRelationalDatabaseSnapshot' | |
|
Instances
newGetRelationalDatabaseSnapshot Source #
:: Text |
|
-> GetRelationalDatabaseSnapshot |
Create a value of GetRelationalDatabaseSnapshot
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:relationalDatabaseSnapshotName:GetRelationalDatabaseSnapshot'
, getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName
- The name of the database snapshot for which to get information.
Request Lenses
getRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: Lens' GetRelationalDatabaseSnapshot Text Source #
The name of the database snapshot for which to get information.
Destructuring the Response
data GetRelationalDatabaseSnapshotResponse Source #
See: newGetRelationalDatabaseSnapshotResponse
smart constructor.
GetRelationalDatabaseSnapshotResponse' | |
|
Instances
newGetRelationalDatabaseSnapshotResponse Source #
Create a value of GetRelationalDatabaseSnapshotResponse
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:relationalDatabaseSnapshot:GetRelationalDatabaseSnapshotResponse'
, getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot
- An object describing the specified database snapshot.
$sel:httpStatus:GetRelationalDatabaseSnapshotResponse'
, getRelationalDatabaseSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabaseSnapshotResponse_relationalDatabaseSnapshot :: Lens' GetRelationalDatabaseSnapshotResponse (Maybe RelationalDatabaseSnapshot) Source #
An object describing the specified database snapshot.
getRelationalDatabaseSnapshotResponse_httpStatus :: Lens' GetRelationalDatabaseSnapshotResponse Int Source #
The response's http status code.