Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns an array of table names associated with the current account and endpoint. The output from ListTables
is paginated, with each page returning a maximum of 100 table names.
This operation returns paginated results.
Synopsis
- listTables :: ListTables
- data ListTables
- ltExclusiveStartTableName :: Lens' ListTables (Maybe Text)
- ltLimit :: Lens' ListTables (Maybe Natural)
- listTablesResponse :: Int -> ListTablesResponse
- data ListTablesResponse
- ltrsLastEvaluatedTableName :: Lens' ListTablesResponse (Maybe Text)
- ltrsTableNames :: Lens' ListTablesResponse [Text]
- ltrsResponseStatus :: Lens' ListTablesResponse Int
Creating a Request
listTables :: ListTables Source #
Creates a value of ListTables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltExclusiveStartTableName
- The first table name that this operation will evaluate. Use the value that was returned forLastEvaluatedTableName
in a previous operation, so that you can obtain the next page of results.ltLimit
- A maximum number of table names to return. If this parameter is not specified, the limit is 100.
data ListTables Source #
Represents the input of a ListTables
operation.
See: listTables
smart constructor.
Instances
Request Lenses
ltExclusiveStartTableName :: Lens' ListTables (Maybe Text) Source #
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName
in a previous operation, so that you can obtain the next page of results.
ltLimit :: Lens' ListTables (Maybe Natural) Source #
A maximum number of table names to return. If this parameter is not specified, the limit is 100.
Destructuring the Response
Creates a value of ListTablesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsLastEvaluatedTableName
- The name of the last table in the current page of results. Use this value as theExclusiveStartTableName
in a new request to obtain the next page of results, until all the table names are returned. If you do not receive aLastEvaluatedTableName
value in the response, this means that there are no more table names to be retrieved.ltrsTableNames
- The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100. IfLastEvaluatedTableName
also appears in the output, you can use this value as theExclusiveStartTableName
parameter in a subsequentListTables
request and obtain the next page of results.ltrsResponseStatus
- -- | The response status code.
data ListTablesResponse Source #
Represents the output of a ListTables
operation.
See: listTablesResponse
smart constructor.
Instances
Response Lenses
ltrsLastEvaluatedTableName :: Lens' ListTablesResponse (Maybe Text) Source #
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName
in a new request to obtain the next page of results, until all the table names are returned. If you do not receive a LastEvaluatedTableName
value in the response, this means that there are no more table names to be retrieved.
ltrsTableNames :: Lens' ListTablesResponse [Text] Source #
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100. If LastEvaluatedTableName
also appears in the output, you can use this value as the ExclusiveStartTableName
parameter in a subsequent ListTables
request and obtain the next page of results.
ltrsResponseStatus :: Lens' ListTablesResponse Int Source #
- - | The response status code.