amazonka-dynamodb-1.4.1: Amazon DynamoDB SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DynamoDB.DescribeTable

Contents

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

describeTable Source #

Creates a value of DescribeTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeTable Source #

Represents the input of a DescribeTable operation.

See: describeTable smart constructor.

Instances

Eq DescribeTable Source # 
Data DescribeTable Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeTable -> c DescribeTable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeTable #

toConstr :: DescribeTable -> Constr #

dataTypeOf :: DescribeTable -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeTable) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeTable) #

gmapT :: (forall b. Data b => b -> b) -> DescribeTable -> DescribeTable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTable -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeTable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeTable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeTable -> m DescribeTable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTable -> m DescribeTable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTable -> m DescribeTable #

Read DescribeTable Source # 
Show DescribeTable Source # 
Generic DescribeTable Source # 

Associated Types

type Rep DescribeTable :: * -> * #

Hashable DescribeTable Source # 
ToJSON DescribeTable Source # 
NFData DescribeTable Source # 

Methods

rnf :: DescribeTable -> () #

AWSRequest DescribeTable Source # 
ToQuery DescribeTable Source # 
ToPath DescribeTable Source # 
ToHeaders DescribeTable Source # 
type Rep DescribeTable Source # 
type Rep DescribeTable = D1 (MetaData "DescribeTable" "Network.AWS.DynamoDB.DescribeTable" "amazonka-dynamodb-1.4.1-EDJMnsbTy8jB9EiV7kUT3s" True) (C1 (MetaCons "DescribeTable'" PrefixI True) (S1 (MetaSel (Just Symbol "_dTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeTable Source # 

Request Lenses

dTableName :: Lens' DescribeTable Text Source #

The name of the table to describe.

Destructuring the Response

describeTableResponse Source #

Creates a value of DescribeTableResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeTableResponse Source #

Represents the output of a DescribeTable operation.

See: describeTableResponse smart constructor.

Instances

Eq DescribeTableResponse Source # 
Data DescribeTableResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeTableResponse -> c DescribeTableResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeTableResponse #

toConstr :: DescribeTableResponse -> Constr #

dataTypeOf :: DescribeTableResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeTableResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeTableResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeTableResponse -> DescribeTableResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeTableResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeTableResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeTableResponse -> m DescribeTableResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableResponse -> m DescribeTableResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableResponse -> m DescribeTableResponse #

Read DescribeTableResponse Source # 
Show DescribeTableResponse Source # 
Generic DescribeTableResponse Source # 
NFData DescribeTableResponse Source # 

Methods

rnf :: DescribeTableResponse -> () #

type Rep DescribeTableResponse Source # 
type Rep DescribeTableResponse = D1 (MetaData "DescribeTableResponse" "Network.AWS.DynamoDB.DescribeTable" "amazonka-dynamodb-1.4.1-EDJMnsbTy8jB9EiV7kUT3s" False) (C1 (MetaCons "DescribeTableResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drsTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableDescription))) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses