Copyright | (c) 2013-2021 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 |
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_regionName :: Lens' ListGlobalTables (Maybe Text)
- listGlobalTables_exclusiveStartGlobalTableName :: Lens' ListGlobalTables (Maybe Text)
- listGlobalTables_limit :: Lens' ListGlobalTables (Maybe Natural)
- data ListGlobalTablesResponse = ListGlobalTablesResponse' {}
- newListGlobalTablesResponse :: Int -> ListGlobalTablesResponse
- listGlobalTablesResponse_lastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text)
- listGlobalTablesResponse_globalTables :: Lens' ListGlobalTablesResponse (Maybe [GlobalTable])
- 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:regionName:ListGlobalTables'
, listGlobalTables_regionName
- Lists the global tables in a specific Region.
$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.
Request Lenses
listGlobalTables_regionName :: Lens' ListGlobalTables (Maybe Text) Source #
Lists the global tables in a specific Region.
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.
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:lastEvaluatedGlobalTableName:ListGlobalTablesResponse'
, listGlobalTablesResponse_lastEvaluatedGlobalTableName
- Last evaluated global table name.
$sel:globalTables:ListGlobalTablesResponse'
, listGlobalTablesResponse_globalTables
- List of global table names.
$sel:httpStatus:ListGlobalTablesResponse'
, listGlobalTablesResponse_httpStatus
- The response's http status code.
Response Lenses
listGlobalTablesResponse_lastEvaluatedGlobalTableName :: Lens' ListGlobalTablesResponse (Maybe Text) Source #
Last evaluated global table name.
listGlobalTablesResponse_globalTables :: Lens' ListGlobalTablesResponse (Maybe [GlobalTable]) Source #
List of global table names.
listGlobalTablesResponse_httpStatus :: Lens' ListGlobalTablesResponse Int Source #
The response's http status code.