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

Description

Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.

If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.

Synopsis

Creating a Request

data DescribeTable Source #

Represents the input of a DescribeTable operation.

See: newDescribeTable smart constructor.

Constructors

DescribeTable' 

Fields

Instances

Instances details
Eq DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Read DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Show DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Generic DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Associated Types

type Rep DescribeTable :: Type -> Type #

NFData DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Methods

rnf :: DescribeTable -> () #

Hashable DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

ToJSON DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

AWSRequest DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Associated Types

type AWSResponse DescribeTable #

ToHeaders DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

ToPath DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

ToQuery DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

type Rep DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

type Rep DescribeTable = D1 ('MetaData "DescribeTable" "Amazonka.DynamoDB.DescribeTable" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "DescribeTable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeTable Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

newDescribeTable Source #

Create a value of DescribeTable 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:tableName:DescribeTable', describeTable_tableName - The name of the table to describe.

Request Lenses

describeTable_tableName :: Lens' DescribeTable Text Source #

The name of the table to describe.

Destructuring the Response

data DescribeTableResponse Source #

Represents the output of a DescribeTable operation.

See: newDescribeTableResponse smart constructor.

Constructors

DescribeTableResponse' 

Fields

Instances

Instances details
Eq DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Read DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Show DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Generic DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Associated Types

type Rep DescribeTableResponse :: Type -> Type #

NFData DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

Methods

rnf :: DescribeTableResponse -> () #

type Rep DescribeTableResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeTable

type Rep DescribeTableResponse = D1 ('MetaData "DescribeTableResponse" "Amazonka.DynamoDB.DescribeTable" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "DescribeTableResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "table") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeTableResponse Source #

Create a value of DescribeTableResponse 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:table:DescribeTableResponse', describeTableResponse_table - The properties of the table.

$sel:httpStatus:DescribeTableResponse', describeTableResponse_httpStatus - The response's http status code.

Response Lenses