amazonka-dynamodb-streams-1.4.4: Amazon DynamoDB Streams 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.DynamoDBStreams.ListStreams

Contents

Description

Returns an array of stream ARNs associated with the current account and endpoint. If the TableName parameter is present, then ListStreams will return only the streams ARNs for that table.

You can call ListStreams at a maximum rate of 5 times per second.

Synopsis

Creating a Request

listStreams :: ListStreams Source #

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

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

data ListStreams Source #

Represents the input of a ListStreams operation.

See: listStreams smart constructor.

Instances

Eq ListStreams Source # 
Data ListStreams Source # 

Methods

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

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

toConstr :: ListStreams -> Constr #

dataTypeOf :: ListStreams -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStreams Source # 
Show ListStreams Source # 
Generic ListStreams Source # 

Associated Types

type Rep ListStreams :: * -> * #

Hashable ListStreams Source # 
NFData ListStreams Source # 

Methods

rnf :: ListStreams -> () #

AWSRequest ListStreams Source # 
ToPath ListStreams Source # 
ToHeaders ListStreams Source # 

Methods

toHeaders :: ListStreams -> [Header] #

ToQuery ListStreams Source # 
ToJSON ListStreams Source # 

Methods

toJSON :: ListStreams -> Value #

toEncoding :: ListStreams -> Encoding #

type Rep ListStreams Source # 
type Rep ListStreams = D1 (MetaData "ListStreams" "Network.AWS.DynamoDBStreams.ListStreams" "amazonka-dynamodb-streams-1.4.4-1rTW06t44jtKhT6USzdDPR" False) (C1 (MetaCons "ListStreams'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsExclusiveStartStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lsTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs ListStreams Source # 

Request Lenses

lsExclusiveStartStreamARN :: Lens' ListStreams (Maybe Text) Source #

The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn in the previous operation.

lsLimit :: Lens' ListStreams (Maybe Natural) Source #

The maximum number of streams to return. The upper limit is 100.

lsTableName :: Lens' ListStreams (Maybe Text) Source #

If this parameter is provided, then only the streams associated with this table name are returned.

Destructuring the Response

listStreamsResponse Source #

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

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

data ListStreamsResponse Source #

Represents the output of a ListStreams operation.

See: listStreamsResponse smart constructor.

Instances

Eq ListStreamsResponse Source # 
Data ListStreamsResponse Source # 

Methods

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

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

toConstr :: ListStreamsResponse -> Constr #

dataTypeOf :: ListStreamsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStreamsResponse Source # 
Show ListStreamsResponse Source # 
Generic ListStreamsResponse Source # 
NFData ListStreamsResponse Source # 

Methods

rnf :: ListStreamsResponse -> () #

type Rep ListStreamsResponse Source # 
type Rep ListStreamsResponse = D1 (MetaData "ListStreamsResponse" "Network.AWS.DynamoDBStreams.ListStreams" "amazonka-dynamodb-streams-1.4.4-1rTW06t44jtKhT6USzdDPR" False) (C1 (MetaCons "ListStreamsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsLastEvaluatedStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Stream]))) (S1 (MetaSel (Just Symbol "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lsrsLastEvaluatedStreamARN :: Lens' ListStreamsResponse (Maybe Text) Source #

The stream ARN of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

If LastEvaluatedStreamArn is empty, then the "last page" of results has been processed and there is no more data to be retrieved.

If LastEvaluatedStreamArn is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedStreamArn is empty.

lsrsStreams :: Lens' ListStreamsResponse [Stream] Source #

A list of stream descriptors associated with the current account and endpoint.