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

Contents

Description

Amazon DynamoDB

Amazon DynamoDB Streams provides API actions for accessing streams and processing stream records. To learn more about application development with Streams, see Capturing Table Activity with DynamoDB Streams in the Amazon DynamoDB Developer Guide.

Synopsis

Service Configuration

dynamoDBStreams :: Service #

API version 2012-08-10 of the Amazon DynamoDB Streams SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by DynamoDBStreams.

ExpiredIteratorException

_ExpiredIteratorException :: AsError a => Getting (First ServiceError) a ServiceError #

The shard iterator has expired and can no longer be used to retrieve stream records. A shard iterator expires 15 minutes after it is retrieved using the GetShardIterator action.

InternalServerError

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError #

An error occurred on the server side.

TrimmedDataAccessException

_TrimmedDataAccessException :: AsError a => Getting (First ServiceError) a ServiceError #

The operation attempted to read past the oldest stream record in a shard.

In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:

  • You request a shard iterator with a sequence number older than the trim point (24 hours).
  • You obtain a shard iterator, but before you use the iterator in a GetRecords request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes the iterator to access a record that no longer exists.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

The operation tried to access a nonexistent stream.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide .

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetShardIterator

GetRecords

ListStreams

DescribeStream

Types

KeyType

data KeyType #

Constructors

Hash 
Range 
Instances
Bounded KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

(==) :: KeyType -> KeyType -> Bool #

(/=) :: KeyType -> KeyType -> Bool #

Data KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

toConstr :: KeyType -> Constr #

dataTypeOf :: KeyType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep KeyType :: * -> * #

Methods

from :: KeyType -> Rep KeyType x #

to :: Rep KeyType x -> KeyType #

Hashable KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

hashWithSalt :: Int -> KeyType -> Int #

hash :: KeyType -> Int #

FromJSON KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toHeader :: HeaderName -> KeyType -> [Header] #

ToQuery KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toBS :: KeyType -> ByteString #

FromText KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: KeyType -> Text #

NFData KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: KeyType -> () #

type Rep KeyType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

type Rep KeyType = D1 (MetaData "KeyType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "Hash" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Range" PrefixI False) (U1 :: * -> *))

OperationType

data OperationType #

Constructors

Insert 
Modify 
Remove 
Instances
Bounded OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Data OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

toConstr :: OperationType -> Constr #

dataTypeOf :: OperationType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep OperationType :: * -> * #

Hashable OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: OperationType -> Text #

NFData OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: OperationType -> () #

type Rep OperationType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

type Rep OperationType = D1 (MetaData "OperationType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "Insert" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Modify" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Remove" PrefixI False) (U1 :: * -> *)))

ShardIteratorType

data ShardIteratorType #

Instances
Bounded ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Data ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

toConstr :: ShardIteratorType -> Constr #

dataTypeOf :: ShardIteratorType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep ShardIteratorType :: * -> * #

Hashable ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToJSON ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

NFData ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: ShardIteratorType -> () #

type Rep ShardIteratorType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

type Rep ShardIteratorType = D1 (MetaData "ShardIteratorType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) ((C1 (MetaCons "AfterSequenceNumber" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AtSequenceNumber" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Latest" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "TrimHorizon" PrefixI False) (U1 :: * -> *)))

StreamStatus

data StreamStatus #

Instances
Bounded StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Data StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

toConstr :: StreamStatus -> Constr #

dataTypeOf :: StreamStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep StreamStatus :: * -> * #

Hashable StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: StreamStatus -> Text #

NFData StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: StreamStatus -> () #

type Rep StreamStatus # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

type Rep StreamStatus = D1 (MetaData "StreamStatus" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) ((C1 (MetaCons "Disabled" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Disabling" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Enabled" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Enabling" PrefixI False) (U1 :: * -> *)))

StreamViewType

data StreamViewType #

Instances
Bounded StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Data StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

toConstr :: StreamViewType -> Constr #

dataTypeOf :: StreamViewType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep StreamViewType :: * -> * #

Hashable StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

NFData StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: StreamViewType -> () #

type Rep StreamViewType # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

type Rep StreamViewType = D1 (MetaData "StreamViewType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) ((C1 (MetaCons "KeysOnly" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "NewAndOldImages" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "NewImage" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OldImage" PrefixI False) (U1 :: * -> *)))

AttributeValue

data AttributeValue #

Represents the data for an attribute. You can set one, and only one, of the elements.

Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.

See: attributeValue smart constructor.

Instances
Eq AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: AttributeValue -> Constr #

dataTypeOf :: AttributeValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep AttributeValue :: * -> * #

Hashable AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: AttributeValue -> () #

type Rep AttributeValue # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

attributeValue :: AttributeValue #

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

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

  • avL - A List data type.
  • avNS - A Number Set data type.
  • avM - A Map data type.
  • avNULL - A Null data type.
  • avN - A Number data type.
  • avBS - A Binary Set data type.
  • avB - A Binary data type.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • avSS - A String Set data type.
  • avS - A String data type.
  • avBOOL - A Boolean data type.

avL :: Lens' AttributeValue [AttributeValue] #

A List data type.

avNS :: Lens' AttributeValue [Text] #

A Number Set data type.

avNULL :: Lens' AttributeValue (Maybe Bool) #

A Null data type.

avN :: Lens' AttributeValue (Maybe Text) #

A Number data type.

avBS :: Lens' AttributeValue [ByteString] #

A Binary Set data type.

avB :: Lens' AttributeValue (Maybe ByteString) #

A Binary data type.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

avSS :: Lens' AttributeValue [Text] #

A String Set data type.

avS :: Lens' AttributeValue (Maybe Text) #

A String data type.

avBOOL :: Lens' AttributeValue (Maybe Bool) #

A Boolean data type.

Identity

data Identity #

Contains details about the type of identity that made the request.

See: identity smart constructor.

Instances
Eq Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: Identity -> Constr #

dataTypeOf :: Identity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Identity :: * -> * #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

Hashable Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Identity -> () #

type Rep Identity # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep Identity = D1 (MetaData "Identity" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "Identity'" PrefixI True) (S1 (MetaSel (Just "_iPrincipalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

identity :: Identity #

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

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

  • iPrincipalId - A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
  • iType - The type of the identity. For Time To Live, the type is Service.

iPrincipalId :: Lens' Identity (Maybe Text) #

A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".

iType :: Lens' Identity (Maybe Text) #

The type of the identity. For Time To Live, the type is Service.

KeySchemaElement

data KeySchemaElement #

Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.

A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key (partition key) would be represented by one KeySchemaElement . A composite primary key (partition key and sort key) would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.

See: keySchemaElement smart constructor.

Instances
Eq KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: KeySchemaElement -> Constr #

dataTypeOf :: KeySchemaElement -> DataType #

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

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

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

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

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

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

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

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

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

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

Read KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep KeySchemaElement :: * -> * #

Hashable KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: KeySchemaElement -> () #

type Rep KeySchemaElement # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep KeySchemaElement = D1 (MetaData "KeySchemaElement" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "KeySchemaElement'" PrefixI True) (S1 (MetaSel (Just "_kseAttributeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_kseKeyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 KeyType)))

keySchemaElement #

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

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

  • kseAttributeName - The name of a key attribute.
  • kseKeyType - The attribute data, consisting of the data type and the attribute value itself.

kseAttributeName :: Lens' KeySchemaElement Text #

The name of a key attribute.

kseKeyType :: Lens' KeySchemaElement KeyType #

The attribute data, consisting of the data type and the attribute value itself.

Record

data Record #

A description of a unique event within a stream.

See: record smart constructor.

Instances
Eq Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

(==) :: Record -> Record -> Bool #

(/=) :: Record -> Record -> Bool #

Data Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: Record -> Constr #

dataTypeOf :: Record -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Record :: * -> * #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Record -> () #

type Rep Record # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

record :: Record #

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

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

  • rUserIdentity - Items that are deleted by the Time to Live process after expiration have the following fields: * Records[].userIdentity.type Service * Records[].userIdentity.principalId "dynamodb.amazonaws.com"
  • rEventVersion - The version number of the stream record format. This number is updated whenever the structure of Record is modified. Client applications must not assume that eventVersion will remain at a particular value, as this number is subject to change at any time. In general, eventVersion will only increase as the low-level DynamoDB Streams API evolves.
  • rDynamodb - The main body of the stream record, containing all of the DynamoDB-specific fields.
  • rAwsRegion - The region in which the GetRecords request was received.
  • rEventName - The type of data modification that was performed on the DynamoDB table: * INSERT - a new item was added to the table. * MODIFY - one or more of an existing item's attributes were modified. * REMOVE - the item was deleted from the table
  • rEventSource - The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb .
  • rEventId - A globally unique identifier for the event that was recorded in this stream record.

rUserIdentity :: Lens' Record (Maybe Identity) #

Items that are deleted by the Time to Live process after expiration have the following fields: * Records[].userIdentity.type Service * Records[].userIdentity.principalId "dynamodb.amazonaws.com"

rEventVersion :: Lens' Record (Maybe Text) #

The version number of the stream record format. This number is updated whenever the structure of Record is modified. Client applications must not assume that eventVersion will remain at a particular value, as this number is subject to change at any time. In general, eventVersion will only increase as the low-level DynamoDB Streams API evolves.

rDynamodb :: Lens' Record (Maybe StreamRecord) #

The main body of the stream record, containing all of the DynamoDB-specific fields.

rAwsRegion :: Lens' Record (Maybe Text) #

The region in which the GetRecords request was received.

rEventName :: Lens' Record (Maybe OperationType) #

The type of data modification that was performed on the DynamoDB table: * INSERT - a new item was added to the table. * MODIFY - one or more of an existing item's attributes were modified. * REMOVE - the item was deleted from the table

rEventSource :: Lens' Record (Maybe Text) #

The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb .

rEventId :: Lens' Record (Maybe Text) #

A globally unique identifier for the event that was recorded in this stream record.

SequenceNumberRange

data SequenceNumberRange #

The beginning and ending sequence numbers for the stream records contained within a shard.

See: sequenceNumberRange smart constructor.

Instances
Eq SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: SequenceNumberRange -> Constr #

dataTypeOf :: SequenceNumberRange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep SequenceNumberRange :: * -> * #

Hashable SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: SequenceNumberRange -> () #

type Rep SequenceNumberRange # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep SequenceNumberRange = D1 (MetaData "SequenceNumberRange" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "SequenceNumberRange'" PrefixI True) (S1 (MetaSel (Just "_snrStartingSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_snrEndingSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

sequenceNumberRange :: SequenceNumberRange #

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

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

Shard

data Shard #

A uniquely identified group of stream records within a stream.

See: shard smart constructor.

Instances
Eq Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

(==) :: Shard -> Shard -> Bool #

(/=) :: Shard -> Shard -> Bool #

Data Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: Shard -> Constr #

dataTypeOf :: Shard -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Shard :: * -> * #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

Hashable Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Shard -> () #

type Rep Shard # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep Shard = D1 (MetaData "Shard" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "Shard'" PrefixI True) (S1 (MetaSel (Just "_sParentShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sSequenceNumberRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SequenceNumberRange)) :*: S1 (MetaSel (Just "_sShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

shard :: Shard #

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

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

sParentShardId :: Lens' Shard (Maybe Text) #

The shard ID of the current shard's parent.

sSequenceNumberRange :: Lens' Shard (Maybe SequenceNumberRange) #

The range of possible sequence numbers for the shard.

sShardId :: Lens' Shard (Maybe Text) #

The system-generated identifier for this shard.

Stream

data Stream #

Represents all of the data describing a particular stream.

See: stream smart constructor.

Instances
Eq Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

(==) :: Stream -> Stream -> Bool #

(/=) :: Stream -> Stream -> Bool #

Data Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: Stream -> Constr #

dataTypeOf :: Stream -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Stream :: * -> * #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

Hashable Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

FromJSON Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Stream -> () #

type Rep Stream # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep Stream = D1 (MetaData "Stream" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "Stream'" PrefixI True) (S1 (MetaSel (Just "_sStreamLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

stream :: Stream #

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

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

  • sStreamLabel - A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: * the AWS customer ID. * the table name * the StreamLabel
  • sStreamARN - The Amazon Resource Name (ARN) for the stream.
  • sTableName - The DynamoDB table with which the stream is associated.

sStreamLabel :: Lens' Stream (Maybe Text) #

A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: * the AWS customer ID. * the table name * the StreamLabel

sStreamARN :: Lens' Stream (Maybe Text) #

The Amazon Resource Name (ARN) for the stream.

sTableName :: Lens' Stream (Maybe Text) #

The DynamoDB table with which the stream is associated.

StreamDescription

data StreamDescription #

Represents all of the data describing a particular stream.

See: streamDescription smart constructor.

Instances
Eq StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: StreamDescription -> Constr #

dataTypeOf :: StreamDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep StreamDescription :: * -> * #

Hashable StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: StreamDescription -> () #

type Rep StreamDescription # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep StreamDescription = D1 (MetaData "StreamDescription" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "StreamDescription'" PrefixI True) (((S1 (MetaSel (Just "_sdLastEvaluatedShardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdStreamLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sdStreamStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamStatus)) :*: S1 (MetaSel (Just "_sdKeySchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 KeySchemaElement))))) :*: ((S1 (MetaSel (Just "_sdStreamViewType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamViewType)) :*: S1 (MetaSel (Just "_sdStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sdShards") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Shard])) :*: (S1 (MetaSel (Just "_sdTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdCreationRequestDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))))

streamDescription :: StreamDescription #

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

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

  • sdLastEvaluatedShardId - The shard ID 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 LastEvaluatedShardId is empty, then the "last page" of results has been processed and there is currently no more data to be retrieved. If LastEvaluatedShardId 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 LastEvaluatedShardId is empty.
  • sdStreamLabel - A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: * the AWS customer ID. * the table name * the StreamLabel
  • sdStreamStatus - Indicates the current status of the stream: * ENABLING - Streams is currently being enabled on the DynamoDB table. * ENABLED - the stream is enabled. * DISABLING - Streams is currently being disabled on the DynamoDB table. * DISABLED - the stream is disabled.
  • sdKeySchema - The key attribute(s) of the stream's DynamoDB table.
  • sdStreamViewType - Indicates the format of the records within this stream: * KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table. * NEW_IMAGE - entire items from the table, as they appeared after they were modified. * OLD_IMAGE - entire items from the table, as they appeared before they were modified. * NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.
  • sdStreamARN - The Amazon Resource Name (ARN) for the stream.
  • sdShards - The shards that comprise the stream.
  • sdTableName - The DynamoDB table with which the stream is associated.
  • sdCreationRequestDateTime - The date and time when the request to create this stream was issued.

sdLastEvaluatedShardId :: Lens' StreamDescription (Maybe Text) #

The shard ID 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 LastEvaluatedShardId is empty, then the "last page" of results has been processed and there is currently no more data to be retrieved. If LastEvaluatedShardId 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 LastEvaluatedShardId is empty.

sdStreamLabel :: Lens' StreamDescription (Maybe Text) #

A timestamp, in ISO 8601 format, for this stream. Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique: * the AWS customer ID. * the table name * the StreamLabel

sdStreamStatus :: Lens' StreamDescription (Maybe StreamStatus) #

Indicates the current status of the stream: * ENABLING - Streams is currently being enabled on the DynamoDB table. * ENABLED - the stream is enabled. * DISABLING - Streams is currently being disabled on the DynamoDB table. * DISABLED - the stream is disabled.

sdKeySchema :: Lens' StreamDescription (Maybe (NonEmpty KeySchemaElement)) #

The key attribute(s) of the stream's DynamoDB table.

sdStreamViewType :: Lens' StreamDescription (Maybe StreamViewType) #

Indicates the format of the records within this stream: * KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table. * NEW_IMAGE - entire items from the table, as they appeared after they were modified. * OLD_IMAGE - entire items from the table, as they appeared before they were modified. * NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.

sdStreamARN :: Lens' StreamDescription (Maybe Text) #

The Amazon Resource Name (ARN) for the stream.

sdShards :: Lens' StreamDescription [Shard] #

The shards that comprise the stream.

sdTableName :: Lens' StreamDescription (Maybe Text) #

The DynamoDB table with which the stream is associated.

sdCreationRequestDateTime :: Lens' StreamDescription (Maybe UTCTime) #

The date and time when the request to create this stream was issued.

StreamRecord

data StreamRecord #

A description of a single data modification that was performed on an item in a DynamoDB table.

See: streamRecord smart constructor.

Instances
Eq StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Data StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

toConstr :: StreamRecord -> Constr #

dataTypeOf :: StreamRecord -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep StreamRecord :: * -> * #

Hashable StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: StreamRecord -> () #

type Rep StreamRecord # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

type Rep StreamRecord = D1 (MetaData "StreamRecord" "Network.AWS.DynamoDBStreams.Types.Product" "amazonka-dynamodb-streams-1.6.0-9d8sLLMw67G4Xb6LtyahpP" False) (C1 (MetaCons "StreamRecord'" PrefixI True) ((S1 (MetaSel (Just "_srSizeBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_srSequenceNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srApproximateCreationDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 (MetaSel (Just "_srStreamViewType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamViewType)) :*: S1 (MetaSel (Just "_srKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text AttributeValue)))) :*: (S1 (MetaSel (Just "_srOldImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text AttributeValue))) :*: S1 (MetaSel (Just "_srNewImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text AttributeValue)))))))

streamRecord :: StreamRecord #

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

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

  • srSizeBytes - The size of the stream record, in bytes.
  • srSequenceNumber - The sequence number of the stream record.
  • srApproximateCreationDateTime - The approximate date and time when the stream record was created, in UNIX epoch time format.
  • srStreamViewType - The type of data from the modified DynamoDB item that was captured in this stream record: * KEYS_ONLY - only the key attributes of the modified item. * NEW_IMAGE - the entire item, as it appeared after it was modified. * OLD_IMAGE - the entire item, as it appeared before it was modified. * NEW_AND_OLD_IMAGES - both the new and the old item images of the item.
  • srKeys - The primary key attribute(s) for the DynamoDB item that was modified.
  • srOldImage - The item in the DynamoDB table as it appeared before it was modified.
  • srNewImage - The item in the DynamoDB table as it appeared after it was modified.

srSizeBytes :: Lens' StreamRecord (Maybe Natural) #

The size of the stream record, in bytes.

srSequenceNumber :: Lens' StreamRecord (Maybe Text) #

The sequence number of the stream record.

srApproximateCreationDateTime :: Lens' StreamRecord (Maybe UTCTime) #

The approximate date and time when the stream record was created, in UNIX epoch time format.

srStreamViewType :: Lens' StreamRecord (Maybe StreamViewType) #

The type of data from the modified DynamoDB item that was captured in this stream record: * KEYS_ONLY - only the key attributes of the modified item. * NEW_IMAGE - the entire item, as it appeared after it was modified. * OLD_IMAGE - the entire item, as it appeared before it was modified. * NEW_AND_OLD_IMAGES - both the new and the old item images of the item.

srKeys :: Lens' StreamRecord (HashMap Text AttributeValue) #

The primary key attribute(s) for the DynamoDB item that was modified.

srOldImage :: Lens' StreamRecord (HashMap Text AttributeValue) #

The item in the DynamoDB table as it appeared before it was modified.

srNewImage :: Lens' StreamRecord (HashMap Text AttributeValue) #

The item in the DynamoDB table as it appeared after it was modified.