amazonka-dynamodb-2.0: Amazon DynamoDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • 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.

  • regionName :: Maybe Text

    Lists the global tables in a specific Region.

Instances

Instances details
ToJSON ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.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

AWSRequest ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type AWSResponse ListGlobalTables #

Generic ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type Rep ListGlobalTables :: Type -> Type #

Read ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Show ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

NFData ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Methods

rnf :: ListGlobalTables -> () #

Eq ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Hashable ListGlobalTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

type AWSResponse 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" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ListGlobalTables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exclusiveStartGlobalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.

Constructors

ListGlobalTablesResponse' 

Fields

Instances

Instances details
Generic ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Associated Types

type Rep ListGlobalTablesResponse :: Type -> Type #

Read ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Show ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

NFData ListGlobalTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListGlobalTables

Eq 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" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ListGlobalTablesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GlobalTable])) :*: (S1 ('MetaSel ('Just "lastEvaluatedGlobalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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: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