amazonka-dynamodb-1.4.5: 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.ListTables

Contents

Description

Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

This operation returns paginated results.

Synopsis

Creating a Request

listTables :: ListTables #

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

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

  • ltExclusiveStartTableName - The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.
  • ltLimit - A maximum number of table names to return. If this parameter is not specified, the limit is 100.

data ListTables #

Represents the input of a ListTables operation.

See: listTables smart constructor.

Instances

Eq ListTables # 
Data ListTables # 

Methods

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

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

toConstr :: ListTables -> Constr #

dataTypeOf :: ListTables -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTables # 
Show ListTables # 
Generic ListTables # 

Associated Types

type Rep ListTables :: * -> * #

Hashable ListTables # 
ToJSON ListTables # 
NFData ListTables # 

Methods

rnf :: ListTables -> () #

AWSPager ListTables # 
AWSRequest ListTables # 
ToQuery ListTables # 
ToPath ListTables # 
ToHeaders ListTables # 

Methods

toHeaders :: ListTables -> [Header] #

type Rep ListTables # 
type Rep ListTables = D1 (MetaData "ListTables" "Network.AWS.DynamoDB.ListTables" "amazonka-dynamodb-1.4.5-EyODm0wLuRNGy43qDOZJHX" False) (C1 (MetaCons "ListTables'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltExclusiveStartTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListTables # 

Request Lenses

ltExclusiveStartTableName :: Lens' ListTables (Maybe Text) #

The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

ltLimit :: Lens' ListTables (Maybe Natural) #

A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Destructuring the Response

listTablesResponse #

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

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

  • ltrsLastEvaluatedTableName - The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned. If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
  • ltrsTableNames - The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100. If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
  • ltrsResponseStatus - -- | The response status code.

data ListTablesResponse #

Represents the output of a ListTables operation.

See: listTablesResponse smart constructor.

Instances

Eq ListTablesResponse # 
Data ListTablesResponse # 

Methods

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

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

toConstr :: ListTablesResponse -> Constr #

dataTypeOf :: ListTablesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTablesResponse # 
Show ListTablesResponse # 
Generic ListTablesResponse # 
NFData ListTablesResponse # 

Methods

rnf :: ListTablesResponse -> () #

type Rep ListTablesResponse # 
type Rep ListTablesResponse = D1 (MetaData "ListTablesResponse" "Network.AWS.DynamoDB.ListTables" "amazonka-dynamodb-1.4.5-EyODm0wLuRNGy43qDOZJHX" False) (C1 (MetaCons "ListTablesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsLastEvaluatedTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsTableNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ltrsLastEvaluatedTableName :: Lens' ListTablesResponse (Maybe Text) #

The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned. If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.

ltrsTableNames :: Lens' ListTablesResponse [Text] #

The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100. If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.

ltrsResponseStatus :: Lens' ListTablesResponse Int #

  • - | The response status code.