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

Copyright(c) 2013-2018 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 #

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 #

Represents the input of a DescribeStream operation.

See: describeStream smart constructor.

Instances
Eq DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Data DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Show DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Generic DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStream :: * -> * #

Hashable DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToJSON DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

AWSRequest DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rs DescribeStream :: * #

ToHeaders DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToPath DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToQuery DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

NFData DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStream -> () #

type Rep DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

type Rep DescribeStream = D1 (MetaData "DescribeStream" "Network.AWS.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "DescribeStream'" PrefixI True) (S1 (MetaSel (Just "_dsExclusiveStartShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_dsStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeStream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Request Lenses

dsExclusiveStartShardId :: Lens' DescribeStream (Maybe Text) #

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) #

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

dsStreamARN :: Lens' DescribeStream Text #

The Amazon Resource Name (ARN) for the stream.

Destructuring the Response

describeStreamResponse #

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 #

Represents the output of a DescribeStream operation.

See: describeStreamResponse smart constructor.

Instances
Eq DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Data DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Show DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Generic DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStreamResponse :: * -> * #

NFData DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStreamResponse -> () #

type Rep DescribeStreamResponse # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

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

Response Lenses

dsrsStreamDescription :: Lens' DescribeStreamResponse (Maybe StreamDescription) #

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 #

  • - | The response status code.