amazonka-timestream-write-2.0: Amazon Timestream Write 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.TimeStreamWrite.ListTables

Description

A list of tables, along with the name, status and retention properties of each table. See code sample for details.

Synopsis

Creating a Request

data ListTables Source #

See: newListTables smart constructor.

Constructors

ListTables' 

Fields

  • databaseName :: Maybe Text

    The name of the Timestream database.

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

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

Instances

Instances details
ToJSON ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

ToHeaders ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Methods

toHeaders :: ListTables -> [Header] #

ToPath ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

ToQuery ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

AWSRequest ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Associated Types

type AWSResponse ListTables #

Generic ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Associated Types

type Rep ListTables :: Type -> Type #

Read ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Show ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

NFData ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Methods

rnf :: ListTables -> () #

Eq ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Hashable ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

type AWSResponse ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

type Rep ListTables Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

type Rep ListTables = D1 ('MetaData "ListTables" "Amazonka.TimeStreamWrite.ListTables" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "ListTables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:

ListTables, listTables_databaseName - The name of the Timestream database.

$sel:maxResults:ListTables', listTables_maxResults - The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.

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

Request Lenses

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

The name of the Timestream database.

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

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

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

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

Destructuring the Response

data ListTablesResponse Source #

See: newListTablesResponse smart constructor.

Constructors

ListTablesResponse' 

Fields

Instances

Instances details
Generic ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Associated Types

type Rep ListTablesResponse :: Type -> Type #

Read ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Show ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

NFData ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

Methods

rnf :: ListTablesResponse -> () #

Eq ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

type Rep ListTablesResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.ListTables

type Rep ListTablesResponse = D1 ('MetaData "ListTablesResponse" "Amazonka.TimeStreamWrite.ListTables" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" '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 [Table])) :*: 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.