amazonka-keyspaces-2.0: Amazon Keyspaces 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.KeySpaces.ListTables

Description

Returns a list of tables for a specified keyspace.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTables Source #

See: newListTables smart constructor.

Constructors

ListTables' 

Fields

  • maxResults :: Maybe Natural

    The total number of tables to return in the output. If the total number of tables available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

  • nextToken :: Maybe Text

    The pagination token. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

  • keyspaceName :: Text

    The name of the keyspace.

Instances

Instances details
ToJSON ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

ToHeaders ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Methods

toHeaders :: ListTables -> [Header] #

ToPath ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

ToQuery ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

AWSPager ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

AWSRequest ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Associated Types

type AWSResponse ListTables #

Generic ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Associated Types

type Rep ListTables :: Type -> Type #

Read ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Show ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

NFData ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Methods

rnf :: ListTables -> () #

Eq ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Hashable ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

type AWSResponse ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

type Rep ListTables Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

type Rep ListTables = D1 ('MetaData "ListTables" "Amazonka.KeySpaces.ListTables" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "ListTables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyspaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListTables Source #

Arguments

:: Text

ListTables

-> ListTables 

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:maxResults:ListTables', listTables_maxResults - The total number of tables to return in the output. If the total number of tables available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

ListTables, listTables_nextToken - The pagination token. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

ListTables, listTables_keyspaceName - The name of the keyspace.

Request Lenses

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

The total number of tables to return in the output. If the total number of tables available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

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

The pagination token. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

listTables_keyspaceName :: Lens' ListTables Text Source #

The name of the keyspace.

Destructuring the Response

data ListTablesResponse Source #

See: newListTablesResponse smart constructor.

Constructors

ListTablesResponse' 

Fields

Instances

Instances details
Generic ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Associated Types

type Rep ListTablesResponse :: Type -> Type #

Read ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Show ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

NFData ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

Methods

rnf :: ListTablesResponse -> () #

Eq ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

type Rep ListTablesResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.ListTables

type Rep ListTablesResponse = D1 ('MetaData "ListTablesResponse" "Amazonka.KeySpaces.ListTables" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "ListTablesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableSummary])) :*: 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:

ListTables, listTablesResponse_nextToken - A token to specify where to start paginating. This is the NextToken from a previously truncated response.

$sel:tables:ListTablesResponse', listTablesResponse_tables - A list of tables.

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

Response Lenses

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

A token to specify where to start paginating. This is the NextToken from a previously truncated response.