amazonka-dynamodb-streams-1.5.0: Amazon DynamoDB Streams SDK.

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

Network.AWS.DynamoDBStreams.DescribeStream

Contents

Description

Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table.

Each shard in the stream has a SequenceNumberRange associated with it. If the SequenceNumberRange has a StartingSequenceNumber but no EndingSequenceNumber , then the shard is still open (able to receive more stream records). If both StartingSequenceNumber and EndingSequenceNumber are present, then that shard is closed and can no longer receive more data.

Synopsis

Creating a Request

describeStream Source #

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

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

  • dsExclusiveStartShardId - The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId in the previous operation.
  • dsLimit - The maximum number of shard objects to return. The upper limit is 100.
  • dsStreamARN - The Amazon Resource Name (ARN) for the stream.

data DescribeStream Source #

Represents the input of a DescribeStream operation.

See: describeStream smart constructor.

Instances

Eq DescribeStream Source # 
Data DescribeStream Source # 

Methods

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

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

toConstr :: DescribeStream -> Constr #

dataTypeOf :: DescribeStream -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStream Source # 
Show DescribeStream Source # 
Generic DescribeStream Source # 

Associated Types

type Rep DescribeStream :: * -> * #

Hashable DescribeStream Source # 
ToJSON DescribeStream Source # 
NFData DescribeStream Source # 

Methods

rnf :: DescribeStream -> () #

AWSRequest DescribeStream Source # 
ToQuery DescribeStream Source # 
ToPath DescribeStream Source # 
ToHeaders DescribeStream Source # 
type Rep DescribeStream Source # 
type Rep DescribeStream = D1 (MetaData "DescribeStream" "Network.AWS.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" False) (C1 (MetaCons "DescribeStream'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsExclusiveStartShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dsStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeStream Source # 

Request Lenses

dsExclusiveStartShardId :: Lens' DescribeStream (Maybe Text) Source #

The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId in the previous operation.

dsLimit :: Lens' DescribeStream (Maybe Natural) Source #

The maximum number of shard objects to return. The upper limit is 100.

dsStreamARN :: Lens' DescribeStream Text Source #

The Amazon Resource Name (ARN) for the stream.

Destructuring the Response

describeStreamResponse Source #

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

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

  • dsrsStreamDescription - A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.
  • dsrsResponseStatus - -- | The response status code.

data DescribeStreamResponse Source #

Represents the output of a DescribeStream operation.

See: describeStreamResponse smart constructor.

Instances

Eq DescribeStreamResponse Source # 
Data DescribeStreamResponse Source # 

Methods

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

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

toConstr :: DescribeStreamResponse -> Constr #

dataTypeOf :: DescribeStreamResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStreamResponse Source # 
Show DescribeStreamResponse Source # 
Generic DescribeStreamResponse Source # 
NFData DescribeStreamResponse Source # 

Methods

rnf :: DescribeStreamResponse -> () #

type Rep DescribeStreamResponse Source # 
type Rep DescribeStreamResponse = D1 (MetaData "DescribeStreamResponse" "Network.AWS.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" False) (C1 (MetaCons "DescribeStreamResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsStreamDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamDescription))) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dsrsStreamDescription :: Lens' DescribeStreamResponse (Maybe StreamDescription) Source #

A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.

dsrsResponseStatus :: Lens' DescribeStreamResponse Int Source #

  • - | The response status code.