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 in Amazon Lightsail.
Synopsis
- data GetRelationalDatabase = GetRelationalDatabase' {}
- newGetRelationalDatabase :: Text -> GetRelationalDatabase
- getRelationalDatabase_relationalDatabaseName :: Lens' GetRelationalDatabase Text
- data GetRelationalDatabaseResponse = GetRelationalDatabaseResponse' {}
- newGetRelationalDatabaseResponse :: Int -> GetRelationalDatabaseResponse
- getRelationalDatabaseResponse_relationalDatabase :: Lens' GetRelationalDatabaseResponse (Maybe RelationalDatabase)
- getRelationalDatabaseResponse_httpStatus :: Lens' GetRelationalDatabaseResponse Int
Creating a Request
data GetRelationalDatabase Source #
See: newGetRelationalDatabase
smart constructor.
GetRelationalDatabase' | |
|
Instances
newGetRelationalDatabase Source #
Create a value of GetRelationalDatabase
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:relationalDatabaseName:GetRelationalDatabase'
, getRelationalDatabase_relationalDatabaseName
- The name of the database that you are looking up.
Request Lenses
getRelationalDatabase_relationalDatabaseName :: Lens' GetRelationalDatabase Text Source #
The name of the database that you are looking up.
Destructuring the Response
data GetRelationalDatabaseResponse Source #
See: newGetRelationalDatabaseResponse
smart constructor.
GetRelationalDatabaseResponse' | |
|
Instances
newGetRelationalDatabaseResponse Source #
Create a value of GetRelationalDatabaseResponse
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:relationalDatabase:GetRelationalDatabaseResponse'
, getRelationalDatabaseResponse_relationalDatabase
- An object describing the specified database.
$sel:httpStatus:GetRelationalDatabaseResponse'
, getRelationalDatabaseResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabaseResponse_relationalDatabase :: Lens' GetRelationalDatabaseResponse (Maybe RelationalDatabase) Source #
An object describing the specified database.
getRelationalDatabaseResponse_httpStatus :: Lens' GetRelationalDatabaseResponse Int Source #
The response's http status code.