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 table, including the table name, database name, retention duration of the memory store and the magnetic store. Service quotas apply. See code sample for details.
Synopsis
- data DescribeTable = DescribeTable' {
- databaseName :: Text
- tableName :: Text
- newDescribeTable :: Text -> Text -> DescribeTable
- describeTable_databaseName :: Lens' DescribeTable Text
- describeTable_tableName :: Lens' DescribeTable Text
- data DescribeTableResponse = DescribeTableResponse' {
- table :: Maybe Table
- httpStatus :: Int
- newDescribeTableResponse :: Int -> DescribeTableResponse
- describeTableResponse_table :: Lens' DescribeTableResponse (Maybe Table)
- describeTableResponse_httpStatus :: Lens' DescribeTableResponse Int
Creating a Request
data DescribeTable Source #
See: newDescribeTable
smart constructor.
DescribeTable' | |
|
Instances
Create a value of DescribeTable
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:
DescribeTable
, describeTable_databaseName
- The name of the Timestream database.
DescribeTable
, describeTable_tableName
- The name of the Timestream table.
Request Lenses
describeTable_databaseName :: Lens' DescribeTable Text Source #
The name of the Timestream database.
describeTable_tableName :: Lens' DescribeTable Text Source #
The name of the Timestream table.
Destructuring the Response
data DescribeTableResponse Source #
See: newDescribeTableResponse
smart constructor.
DescribeTableResponse' | |
|
Instances
newDescribeTableResponse Source #
Create a value of DescribeTableResponse
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:table:DescribeTableResponse'
, describeTableResponse_table
- The Timestream table.
$sel:httpStatus:DescribeTableResponse'
, describeTableResponse_httpStatus
- The response's http status code.
Response Lenses
describeTableResponse_table :: Lens' DescribeTableResponse (Maybe Table) Source #
The Timestream table.
describeTableResponse_httpStatus :: Lens' DescribeTableResponse Int Source #
The response's http status code.