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

Description

Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTables Source #

Represents the input of a ListTables operation.

See: newListTables smart constructor.

Constructors

ListTables' 

Fields

  • exclusiveStartTableName :: Maybe Text

    The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

  • limit :: Maybe Natural

    A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Instances

Instances details
Eq ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Read ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Show ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Generic ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Associated Types

type Rep ListTables :: Type -> Type #

NFData ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Methods

rnf :: ListTables -> () #

Hashable ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

ToJSON ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

AWSPager ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

AWSRequest ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Associated Types

type AWSResponse ListTables #

ToHeaders ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Methods

toHeaders :: ListTables -> [Header] #

ToPath ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

ToQuery ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

type Rep ListTables Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

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

Defined in Amazonka.DynamoDB.ListTables

newListTables :: ListTables Source #

Create a value of ListTables 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:exclusiveStartTableName:ListTables', listTables_exclusiveStartTableName - The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

$sel:limit:ListTables', listTables_limit - A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Request Lenses

listTables_exclusiveStartTableName :: Lens' ListTables (Maybe Text) Source #

The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

listTables_limit :: Lens' ListTables (Maybe Natural) Source #

A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Destructuring the Response

data ListTablesResponse Source #

Represents the output of a ListTables operation.

See: newListTablesResponse smart constructor.

Constructors

ListTablesResponse' 

Fields

  • lastEvaluatedTableName :: Maybe Text

    The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.

    If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.

  • tableNames :: Maybe [Text]

    The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.

    If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Read ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Show ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Generic ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Associated Types

type Rep ListTablesResponse :: Type -> Type #

NFData ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

Methods

rnf :: ListTablesResponse -> () #

type Rep ListTablesResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListTables

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

newListTablesResponse Source #

Create a value of ListTablesResponse 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:lastEvaluatedTableName:ListTablesResponse', listTablesResponse_lastEvaluatedTableName - The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.

If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.

$sel:tableNames:ListTablesResponse', listTablesResponse_tableNames - The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.

If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.

$sel:httpStatus:ListTablesResponse', listTablesResponse_httpStatus - The response's http status code.

Response Lenses

listTablesResponse_lastEvaluatedTableName :: Lens' ListTablesResponse (Maybe Text) Source #

The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.

If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.

listTablesResponse_tableNames :: Lens' ListTablesResponse (Maybe [Text]) Source #

The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.

If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.