libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DynamoDB.ListGlobalTables

Description

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

Creating a Request

data ListGlobalTables Source #

See: newListGlobalTables smart constructor.

Constructors

ListGlobalTables' 

Fields

  • regionName :: Maybe Text

    Lists the global tables in a specific Region.

  • exclusiveStartGlobalTableName :: Maybe Text

    The first global table name that this operation will evaluate.

  • limit :: Maybe Natural

    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.

Instances

Instances details
Eq ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Read ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Show ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Generic ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type Rep ListGlobalTables :: Type -> Type #

NFData ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Methods

rnf :: ListGlobalTables -> () #

Hashable ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

ToJSON ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

AWSRequest ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type AWSResponse ListGlobalTables #

ToHeaders ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

ToPath ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

ToQuery ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

type Rep ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

type Rep ListGlobalTables = D1 ('MetaData "ListGlobalTables" "Amazonka.DynamoDB.ListGlobalTables" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ListGlobalTables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "exclusiveStartGlobalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

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.

Constructors

ListGlobalTablesResponse' 

Fields

Instances

Instances details
Eq ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Read ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Show ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Generic ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type Rep ListGlobalTablesResponse :: Type -> Type #

NFData ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

type Rep ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

type Rep ListGlobalTablesResponse = D1 ('MetaData "ListGlobalTablesResponse" "Amazonka.DynamoDB.ListGlobalTables" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ListGlobalTablesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastEvaluatedGlobalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "globalTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GlobalTable])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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