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 |
Returns information about the database, including the database name, time that the database was created, and the total number of tables found within the database. Service quotas apply. See code sample for details.
Synopsis
- data DescribeDatabase = DescribeDatabase' {
- databaseName :: Text
- newDescribeDatabase :: Text -> DescribeDatabase
- describeDatabase_databaseName :: Lens' DescribeDatabase Text
- data DescribeDatabaseResponse = DescribeDatabaseResponse' {
- database :: Maybe Database
- httpStatus :: Int
- newDescribeDatabaseResponse :: Int -> DescribeDatabaseResponse
- describeDatabaseResponse_database :: Lens' DescribeDatabaseResponse (Maybe Database)
- describeDatabaseResponse_httpStatus :: Lens' DescribeDatabaseResponse Int
Creating a Request
data DescribeDatabase Source #
See: newDescribeDatabase
smart constructor.
DescribeDatabase' | |
|
Instances
Create a value of DescribeDatabase
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:
DescribeDatabase
, describeDatabase_databaseName
- The name of the Timestream database.
Request Lenses
describeDatabase_databaseName :: Lens' DescribeDatabase Text Source #
The name of the Timestream database.
Destructuring the Response
data DescribeDatabaseResponse Source #
See: newDescribeDatabaseResponse
smart constructor.
DescribeDatabaseResponse' | |
|
Instances
newDescribeDatabaseResponse Source #
Create a value of DescribeDatabaseResponse
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:database:DescribeDatabaseResponse'
, describeDatabaseResponse_database
- The name of the Timestream table.
$sel:httpStatus:DescribeDatabaseResponse'
, describeDatabaseResponse_httpStatus
- The response's http status code.
Response Lenses
describeDatabaseResponse_database :: Lens' DescribeDatabaseResponse (Maybe Database) Source #
The name of the Timestream table.
describeDatabaseResponse_httpStatus :: Lens' DescribeDatabaseResponse Int Source #
The response's http status code.