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 |
Lists all global tables that have a replica in the specified region.
Synopsis
- listGlobalTables :: ListGlobalTables
- data ListGlobalTables
- lgtRegionName :: Lens' ListGlobalTables (Maybe Text)
- lgtExclusiveStartGlobalTableName :: Lens' ListGlobalTables (Maybe Text)
- lgtLimit :: Lens' ListGlobalTables (Maybe Natural)
- listGlobalTablesResponse :: Int -> ListGlobalTablesResponse
- data ListGlobalTablesResponse
- lgtrsLastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text)
- lgtrsGlobalTables :: Lens' ListGlobalTablesResponse [GlobalTable]
- lgtrsResponseStatus :: Lens' ListGlobalTablesResponse Int
Creating a Request
listGlobalTables :: ListGlobalTables Source #
Creates a value of ListGlobalTables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgtRegionName
- Lists the global tables in a specific region.lgtExclusiveStartGlobalTableName
- The first global table name that this operation will evaluate.lgtLimit
- The maximum number of table names to return.
data ListGlobalTables Source #
See: listGlobalTables
smart constructor.
Instances
Request Lenses
lgtRegionName :: Lens' ListGlobalTables (Maybe Text) Source #
Lists the global tables in a specific region.
lgtExclusiveStartGlobalTableName :: Lens' ListGlobalTables (Maybe Text) Source #
The first global table name that this operation will evaluate.
lgtLimit :: Lens' ListGlobalTables (Maybe Natural) Source #
The maximum number of table names to return.
Destructuring the Response
listGlobalTablesResponse Source #
Creates a value of ListGlobalTablesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgtrsLastEvaluatedGlobalTableName
- Last evaluated global table name.lgtrsGlobalTables
- List of global table names.lgtrsResponseStatus
- -- | The response status code.
data ListGlobalTablesResponse Source #
See: listGlobalTablesResponse
smart constructor.
Instances
Response Lenses
lgtrsLastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text) Source #
Last evaluated global table name.
lgtrsGlobalTables :: Lens' ListGlobalTablesResponse [GlobalTable] Source #
List of global table names.
lgtrsResponseStatus :: Lens' ListGlobalTablesResponse Int Source #
- - | The response status code.