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

Description

Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata.

To read table metadata using GetTable, Select action permissions for the table and system tables are required to complete the operation.

Synopsis

Creating a Request

data GetTable Source #

See: newGetTable smart constructor.

Constructors

GetTable' 

Fields

Instances

Instances details
ToJSON GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

ToHeaders GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Methods

toHeaders :: GetTable -> [Header] #

ToPath GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

ToQuery GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

AWSRequest GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Associated Types

type AWSResponse GetTable #

Generic GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Associated Types

type Rep GetTable :: Type -> Type #

Methods

from :: GetTable -> Rep GetTable x #

to :: Rep GetTable x -> GetTable #

Read GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Show GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

NFData GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Methods

rnf :: GetTable -> () #

Eq GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Hashable GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Methods

hashWithSalt :: Int -> GetTable -> Int #

hash :: GetTable -> Int #

type AWSResponse GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

type Rep GetTable Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

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

newGetTable Source #

Create a value of GetTable 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:

GetTable, getTable_keyspaceName - The name of the keyspace that the table is stored in.

GetTable, getTable_tableName - The name of the table.

Request Lenses

getTable_keyspaceName :: Lens' GetTable Text Source #

The name of the keyspace that the table is stored in.

getTable_tableName :: Lens' GetTable Text Source #

The name of the table.

Destructuring the Response

data GetTableResponse Source #

See: newGetTableResponse smart constructor.

Constructors

GetTableResponse' 

Fields

Instances

Instances details
Generic GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Associated Types

type Rep GetTableResponse :: Type -> Type #

Read GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Show GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

NFData GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

Methods

rnf :: GetTableResponse -> () #

Eq GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

type Rep GetTableResponse Source # 
Instance details

Defined in Amazonka.KeySpaces.GetTable

type Rep GetTableResponse = D1 ('MetaData "GetTableResponse" "Amazonka.KeySpaces.GetTable" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "GetTableResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "capacitySpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacitySpecificationSummary)) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "defaultTimeToLive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "encryptionSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionSpecification)) :*: S1 ('MetaSel ('Just "pointInTimeRecovery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PointInTimeRecoverySummary))))) :*: ((S1 ('MetaSel ('Just "schemaDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SchemaDefinition)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableStatus)) :*: S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeToLive)))) :*: ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "keyspaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newGetTableResponse Source #

Create a value of GetTableResponse 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:capacitySpecification:GetTableResponse', getTableResponse_capacitySpecification - The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST

throughputMode:PROVISIONED

$sel:comment:GetTableResponse', getTableResponse_comment - The the description of the specified table.

$sel:creationTimestamp:GetTableResponse', getTableResponse_creationTimestamp - The creation timestamp of the specified table.

$sel:defaultTimeToLive:GetTableResponse', getTableResponse_defaultTimeToLive - The default Time to Live settings of the specified table.

$sel:encryptionSpecification:GetTableResponse', getTableResponse_encryptionSpecification - The encryption settings of the specified table.

$sel:pointInTimeRecovery:GetTableResponse', getTableResponse_pointInTimeRecovery - The point-in-time recovery status of the specified table.

$sel:schemaDefinition:GetTableResponse', getTableResponse_schemaDefinition - The schema definition of the specified table.

GetTableResponse, getTableResponse_status - The current status of the specified table.

$sel:ttl:GetTableResponse', getTableResponse_ttl - The custom Time to Live settings of the specified table.

$sel:httpStatus:GetTableResponse', getTableResponse_httpStatus - The response's http status code.

GetTable, getTableResponse_keyspaceName - The name of the keyspace that the specified table is stored in.

GetTable, getTableResponse_tableName - The name of the specified table.

GetTableResponse, getTableResponse_resourceArn - The Amazon Resource Name (ARN) of the specified table.

Response Lenses

getTableResponse_capacitySpecification :: Lens' GetTableResponse (Maybe CapacitySpecificationSummary) Source #

The read/write throughput capacity mode for a table. The options are:

throughputMode:PAY_PER_REQUEST

throughputMode:PROVISIONED

getTableResponse_comment :: Lens' GetTableResponse (Maybe Comment) Source #

The the description of the specified table.

getTableResponse_creationTimestamp :: Lens' GetTableResponse (Maybe UTCTime) Source #

The creation timestamp of the specified table.

getTableResponse_defaultTimeToLive :: Lens' GetTableResponse (Maybe Natural) Source #

The default Time to Live settings of the specified table.

getTableResponse_pointInTimeRecovery :: Lens' GetTableResponse (Maybe PointInTimeRecoverySummary) Source #

The point-in-time recovery status of the specified table.

getTableResponse_schemaDefinition :: Lens' GetTableResponse (Maybe SchemaDefinition) Source #

The schema definition of the specified table.

getTableResponse_status :: Lens' GetTableResponse (Maybe TableStatus) Source #

The current status of the specified table.

getTableResponse_ttl :: Lens' GetTableResponse (Maybe TimeToLive) Source #

The custom Time to Live settings of the specified table.

getTableResponse_httpStatus :: Lens' GetTableResponse Int Source #

The response's http status code.

getTableResponse_keyspaceName :: Lens' GetTableResponse Text Source #

The name of the keyspace that the specified table is stored in.

getTableResponse_tableName :: Lens' GetTableResponse Text Source #

The name of the specified table.

getTableResponse_resourceArn :: Lens' GetTableResponse Text Source #

The Amazon Resource Name (ARN) of the specified table.