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 |
A list of tables, along with the name, status and retention properties of each table. See code sample for details.
Synopsis
- data ListTables = ListTables' {}
- newListTables :: ListTables
- listTables_databaseName :: Lens' ListTables (Maybe Text)
- listTables_maxResults :: Lens' ListTables (Maybe Natural)
- listTables_nextToken :: Lens' ListTables (Maybe Text)
- data ListTablesResponse = ListTablesResponse' {}
- newListTablesResponse :: Int -> ListTablesResponse
- listTablesResponse_nextToken :: Lens' ListTablesResponse (Maybe Text)
- listTablesResponse_tables :: Lens' ListTablesResponse (Maybe [Table])
- listTablesResponse_httpStatus :: Lens' ListTablesResponse Int
Creating a Request
data ListTables Source #
See: newListTables
smart constructor.
ListTables' | |
|
Instances
newListTables :: ListTables Source #
Create a value of ListTables
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:
ListTables
, listTables_databaseName
- The name of the Timestream database.
$sel:maxResults:ListTables'
, listTables_maxResults
- The total number of items to return in the output. If the total number
of items available is more than the value specified, a NextToken is
provided in the output. To resume pagination, provide the NextToken
value as argument of a subsequent API invocation.
ListTables
, listTables_nextToken
- The pagination token. To resume pagination, provide the NextToken value
as argument of a subsequent API invocation.
Request Lenses
listTables_databaseName :: Lens' ListTables (Maybe Text) Source #
The name of the Timestream database.
listTables_maxResults :: Lens' ListTables (Maybe Natural) Source #
The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.
listTables_nextToken :: Lens' ListTables (Maybe Text) Source #
The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.
Destructuring the Response
data ListTablesResponse Source #
See: newListTablesResponse
smart constructor.
Instances
newListTablesResponse Source #
Create a value of ListTablesResponse
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:
ListTables
, listTablesResponse_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:tables:ListTablesResponse'
, listTablesResponse_tables
- A list of tables.
$sel:httpStatus:ListTablesResponse'
, listTablesResponse_httpStatus
- The response's http status code.
Response Lenses
listTablesResponse_nextToken :: Lens' ListTablesResponse (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listTablesResponse_tables :: Lens' ListTablesResponse (Maybe [Table]) Source #
A list of tables.
listTablesResponse_httpStatus :: Lens' ListTablesResponse Int Source #
The response's http status code.