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 |
Lists all global tables that have a replica in the specified Region.
This operation only applies to Version 2017.11.29 of global tables.
Synopsis
- data ListGlobalTables = ListGlobalTables' {}
- newListGlobalTables :: ListGlobalTables
- listGlobalTables_exclusiveStartGlobalTableName :: Lens' ListGlobalTables (Maybe Text)
- listGlobalTables_limit :: Lens' ListGlobalTables (Maybe Natural)
- listGlobalTables_regionName :: Lens' ListGlobalTables (Maybe Text)
- data ListGlobalTablesResponse = ListGlobalTablesResponse' {}
- newListGlobalTablesResponse :: Int -> ListGlobalTablesResponse
- listGlobalTablesResponse_globalTables :: Lens' ListGlobalTablesResponse (Maybe [GlobalTable])
- listGlobalTablesResponse_lastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text)
- listGlobalTablesResponse_httpStatus :: Lens' ListGlobalTablesResponse Int
Creating a Request
data ListGlobalTables Source #
See: newListGlobalTables
smart constructor.
ListGlobalTables' | |
|
Instances
newListGlobalTables :: ListGlobalTables Source #
Create a value of ListGlobalTables
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:exclusiveStartGlobalTableName:ListGlobalTables'
, listGlobalTables_exclusiveStartGlobalTableName
- The first global table name that this operation will evaluate.
$sel:limit:ListGlobalTables'
, listGlobalTables_limit
- The maximum number of table names to return, if the parameter is not
specified DynamoDB defaults to 100.
If the number of global tables DynamoDB finds reaches this limit, it
stops the operation and returns the table names collected up to that
point, with a table name in the LastEvaluatedGlobalTableName
to apply
in a subsequent operation to the ExclusiveStartGlobalTableName
parameter.
ListGlobalTables
, listGlobalTables_regionName
- Lists the global tables in a specific Region.
Request Lenses
listGlobalTables_exclusiveStartGlobalTableName :: Lens' ListGlobalTables (Maybe Text) Source #
The first global table name that this operation will evaluate.
listGlobalTables_limit :: Lens' ListGlobalTables (Maybe Natural) Source #
The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.
If the number of global tables DynamoDB finds reaches this limit, it
stops the operation and returns the table names collected up to that
point, with a table name in the LastEvaluatedGlobalTableName
to apply
in a subsequent operation to the ExclusiveStartGlobalTableName
parameter.
listGlobalTables_regionName :: Lens' ListGlobalTables (Maybe Text) Source #
Lists the global tables in a specific Region.
Destructuring the Response
data ListGlobalTablesResponse Source #
See: newListGlobalTablesResponse
smart constructor.
ListGlobalTablesResponse' | |
|
Instances
newListGlobalTablesResponse Source #
Create a value of ListGlobalTablesResponse
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:globalTables:ListGlobalTablesResponse'
, listGlobalTablesResponse_globalTables
- List of global table names.
$sel:lastEvaluatedGlobalTableName:ListGlobalTablesResponse'
, listGlobalTablesResponse_lastEvaluatedGlobalTableName
- Last evaluated global table name.
$sel:httpStatus:ListGlobalTablesResponse'
, listGlobalTablesResponse_httpStatus
- The response's http status code.
Response Lenses
listGlobalTablesResponse_globalTables :: Lens' ListGlobalTablesResponse (Maybe [GlobalTable]) Source #
List of global table names.
listGlobalTablesResponse_lastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text) Source #
Last evaluated global table name.
listGlobalTablesResponse_httpStatus :: Lens' ListGlobalTablesResponse Int Source #
The response's http status code.