amazonka-dynamodb-streams-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Data DescribeStream Source # 
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 Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Show DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Generic DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStream :: Type -> Type #

Hashable DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToJSON DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

AWSRequest DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rs DescribeStream :: Type #

ToHeaders DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToPath DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

ToQuery DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

NFData DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStream -> () #

type Rep DescribeStream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

type Rep DescribeStream = D1 (MetaData "DescribeStream" "Network.AWS.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-1.6.1-2ClpCrcoAn25PSx22S21t0" 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 Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

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

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Data DescribeStreamResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Show DescribeStreamResponse Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Generic DescribeStreamResponse Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStreamResponse :: Type -> Type #

NFData DescribeStreamResponse Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStreamResponse -> () #

type Rep DescribeStreamResponse Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.DescribeStream

type Rep DescribeStreamResponse = D1 (MetaData "DescribeStreamResponse" "Network.AWS.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-1.6.1-2ClpCrcoAn25PSx22S21t0" 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) 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.