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.Types

Contents

Description

 

Synopsis

Service Configuration

dynamoDBStreams :: Service Source #

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

Errors

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

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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

An error occurred on the server side.

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

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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation tried to access a nonexistent stream.

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

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 .

KeyType

data KeyType Source #

Constructors

Hash 
Range 

Instances

Bounded KeyType Source # 
Enum KeyType Source # 
Eq KeyType Source # 

Methods

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

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

Data KeyType Source # 

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 Source # 
Read KeyType Source # 
Show KeyType Source # 
Generic KeyType Source # 

Associated Types

type Rep KeyType :: * -> * #

Methods

from :: KeyType -> Rep KeyType x #

to :: Rep KeyType x -> KeyType #

Hashable KeyType Source # 

Methods

hashWithSalt :: Int -> KeyType -> Int #

hash :: KeyType -> Int #

FromJSON KeyType Source # 
NFData KeyType Source # 

Methods

rnf :: KeyType -> () #

ToQuery KeyType Source # 
ToHeader KeyType Source # 

Methods

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

ToByteString KeyType Source # 

Methods

toBS :: KeyType -> ByteString #

FromText KeyType Source # 
ToText KeyType Source # 

Methods

toText :: KeyType -> Text #

type Rep KeyType Source # 
type Rep KeyType = D1 (MetaData "KeyType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" False) ((:+:) (C1 (MetaCons "Hash" PrefixI False) U1) (C1 (MetaCons "Range" PrefixI False) U1))

OperationType

data OperationType Source #

Constructors

Insert 
Modify 
Remove 

Instances

Bounded OperationType Source # 
Enum OperationType Source # 
Eq OperationType Source # 
Data OperationType Source # 

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 Source # 
Read OperationType Source # 
Show OperationType Source # 
Generic OperationType Source # 

Associated Types

type Rep OperationType :: * -> * #

Hashable OperationType Source # 
FromJSON OperationType Source # 
NFData OperationType Source # 

Methods

rnf :: OperationType -> () #

ToQuery OperationType Source # 
ToHeader OperationType Source # 
ToByteString OperationType Source # 
FromText OperationType Source # 
ToText OperationType Source # 

Methods

toText :: OperationType -> Text #

type Rep OperationType Source # 
type Rep OperationType = D1 (MetaData "OperationType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" False) ((:+:) (C1 (MetaCons "Insert" PrefixI False) U1) ((:+:) (C1 (MetaCons "Modify" PrefixI False) U1) (C1 (MetaCons "Remove" PrefixI False) U1)))

ShardIteratorType

data ShardIteratorType Source #

Instances

Bounded ShardIteratorType Source # 
Enum ShardIteratorType Source # 
Eq ShardIteratorType Source # 
Data ShardIteratorType Source # 

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 Source # 
Read ShardIteratorType Source # 
Show ShardIteratorType Source # 
Generic ShardIteratorType Source # 
Hashable ShardIteratorType Source # 
ToJSON ShardIteratorType Source # 
NFData ShardIteratorType Source # 

Methods

rnf :: ShardIteratorType -> () #

ToQuery ShardIteratorType Source # 
ToHeader ShardIteratorType Source # 
ToByteString ShardIteratorType Source # 
FromText ShardIteratorType Source # 
ToText ShardIteratorType Source # 
type Rep ShardIteratorType Source # 
type Rep ShardIteratorType = D1 (MetaData "ShardIteratorType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" 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 Source #

Instances

Bounded StreamStatus Source # 
Enum StreamStatus Source # 
Eq StreamStatus Source # 
Data StreamStatus Source # 

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 Source # 
Read StreamStatus Source # 
Show StreamStatus Source # 
Generic StreamStatus Source # 

Associated Types

type Rep StreamStatus :: * -> * #

Hashable StreamStatus Source # 
FromJSON StreamStatus Source # 
NFData StreamStatus Source # 

Methods

rnf :: StreamStatus -> () #

ToQuery StreamStatus Source # 
ToHeader StreamStatus Source # 
ToByteString StreamStatus Source # 
FromText StreamStatus Source # 
ToText StreamStatus Source # 

Methods

toText :: StreamStatus -> Text #

type Rep StreamStatus Source # 
type Rep StreamStatus = D1 (MetaData "StreamStatus" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" 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 Source #

Instances

Bounded StreamViewType Source # 
Enum StreamViewType Source # 
Eq StreamViewType Source # 
Data StreamViewType Source # 

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 Source # 
Read StreamViewType Source # 
Show StreamViewType Source # 
Generic StreamViewType Source # 

Associated Types

type Rep StreamViewType :: * -> * #

Hashable StreamViewType Source # 
FromJSON StreamViewType Source # 
NFData StreamViewType Source # 

Methods

rnf :: StreamViewType -> () #

ToQuery StreamViewType Source # 
ToHeader StreamViewType Source # 
ToByteString StreamViewType Source # 
FromText StreamViewType Source # 
ToText StreamViewType Source # 
type Rep StreamViewType Source # 
type Rep StreamViewType = D1 (MetaData "StreamViewType" "Network.AWS.DynamoDBStreams.Types.Sum" "amazonka-dynamodb-streams-1.5.0-L5G7uoSsfIlIKZR9kJ9PXf" 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 Source #

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 Source # 
Data AttributeValue Source # 

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 Source # 
Show AttributeValue Source # 
Generic AttributeValue Source # 

Associated Types

type Rep AttributeValue :: * -> * #

Hashable AttributeValue Source # 
FromJSON AttributeValue Source # 
NFData AttributeValue Source # 

Methods

rnf :: AttributeValue -> () #

type Rep AttributeValue Source # 

attributeValue :: AttributeValue Source #

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.

avNS :: Lens' AttributeValue [Text] Source #

A Number Set data type.

avNULL :: Lens' AttributeValue (Maybe Bool) Source #

A Null data type.

avN :: Lens' AttributeValue (Maybe Text) Source #

A Number data type.

avBS :: Lens' AttributeValue [ByteString] Source #

A Binary Set data type.

avB :: Lens' AttributeValue (Maybe ByteString) Source #

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] Source #

A String Set data type.

avS :: Lens' AttributeValue (Maybe Text) Source #

A String data type.

avBOOL :: Lens' AttributeValue (Maybe Bool) Source #

A Boolean data type.

Identity

data Identity Source #

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

See: identity smart constructor.

Instances

Eq Identity Source # 
Data Identity Source # 

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 Source # 
Show Identity Source # 
Generic Identity Source # 

Associated Types

type Rep Identity :: * -> * #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

Hashable Identity Source # 

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
NFData Identity Source # 

Methods

rnf :: Identity -> () #

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

identity :: Identity Source #

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

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

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

KeySchemaElement

data KeySchemaElement Source #

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 Source # 
Data KeySchemaElement Source # 

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 Source # 
Show KeySchemaElement Source # 
Generic KeySchemaElement Source # 
Hashable KeySchemaElement Source # 
FromJSON KeySchemaElement Source # 
NFData KeySchemaElement Source # 

Methods

rnf :: KeySchemaElement -> () #

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

keySchemaElement Source #

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

The name of a key attribute.

kseKeyType :: Lens' KeySchemaElement KeyType Source #

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

Record

data Record Source #

A description of a unique event within a stream.

See: record smart constructor.

Instances

Eq Record Source # 

Methods

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

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

Data Record Source # 

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 Source # 
Show Record Source # 
Generic Record Source # 

Associated Types

type Rep Record :: * -> * #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record Source # 

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
NFData Record Source # 

Methods

rnf :: Record -> () #

type Rep Record Source # 

record :: Record Source #

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

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

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

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

rAwsRegion :: Lens' Record (Maybe Text) Source #

The region in which the GetRecords request was received.

rEventName :: Lens' Record (Maybe OperationType) Source #

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

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

rEventId :: Lens' Record (Maybe Text) Source #

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

SequenceNumberRange

data SequenceNumberRange Source #

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

See: sequenceNumberRange smart constructor.

Instances

Eq SequenceNumberRange Source # 
Data SequenceNumberRange Source # 

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 Source # 
Show SequenceNumberRange Source # 
Generic SequenceNumberRange Source # 
Hashable SequenceNumberRange Source # 
FromJSON SequenceNumberRange Source # 
NFData SequenceNumberRange Source # 

Methods

rnf :: SequenceNumberRange -> () #

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

sequenceNumberRange :: SequenceNumberRange Source #

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

A uniquely identified group of stream records within a stream.

See: shard smart constructor.

Instances

Eq Shard Source # 

Methods

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

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

Data Shard Source # 

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 Source # 
Show Shard Source # 

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 

Associated Types

type Rep Shard :: * -> * #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

Hashable Shard Source # 

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
NFData Shard Source # 

Methods

rnf :: Shard -> () #

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

shard :: Shard Source #

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

The shard ID of the current shard's parent.

sSequenceNumberRange :: Lens' Shard (Maybe SequenceNumberRange) Source #

The range of possible sequence numbers for the shard.

sShardId :: Lens' Shard (Maybe Text) Source #

The system-generated identifier for this shard.

Stream

data Stream Source #

Represents all of the data describing a particular stream.

See: stream smart constructor.

Instances

Eq Stream Source # 

Methods

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

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

Data Stream Source # 

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 Source # 
Show Stream Source # 
Generic Stream Source # 

Associated Types

type Rep Stream :: * -> * #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

Hashable Stream Source # 

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

FromJSON Stream Source # 
NFData Stream Source # 

Methods

rnf :: Stream -> () #

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

stream :: Stream Source #

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

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

The Amazon Resource Name (ARN) for the stream.

sTableName :: Lens' Stream (Maybe Text) Source #

The DynamoDB table with which the stream is associated.

StreamDescription

data StreamDescription Source #

Represents all of the data describing a particular stream.

See: streamDescription smart constructor.

Instances

Eq StreamDescription Source # 
Data StreamDescription Source # 

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 Source # 
Show StreamDescription Source # 
Generic StreamDescription Source # 
Hashable StreamDescription Source # 
FromJSON StreamDescription Source # 
NFData StreamDescription Source # 

Methods

rnf :: StreamDescription -> () #

type Rep StreamDescription Source # 

streamDescription :: StreamDescription Source #

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

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

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

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

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

sdStreamViewType :: Lens' StreamDescription (Maybe StreamViewType) Source #

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

The Amazon Resource Name (ARN) for the stream.

sdShards :: Lens' StreamDescription [Shard] Source #

The shards that comprise the stream.

sdTableName :: Lens' StreamDescription (Maybe Text) Source #

The DynamoDB table with which the stream is associated.

sdCreationRequestDateTime :: Lens' StreamDescription (Maybe UTCTime) Source #

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

StreamRecord

data StreamRecord Source #

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

See: streamRecord smart constructor.

Instances

Eq StreamRecord Source # 
Data StreamRecord Source # 

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 Source # 
Show StreamRecord Source # 
Generic StreamRecord Source # 

Associated Types

type Rep StreamRecord :: * -> * #

Hashable StreamRecord Source # 
FromJSON StreamRecord Source # 
NFData StreamRecord Source # 

Methods

rnf :: StreamRecord -> () #

type Rep StreamRecord Source # 

streamRecord :: StreamRecord Source #

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

The size of the stream record, in bytes.

srSequenceNumber :: Lens' StreamRecord (Maybe Text) Source #

The sequence number of the stream record.

srApproximateCreationDateTime :: Lens' StreamRecord (Maybe UTCTime) Source #

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

srStreamViewType :: Lens' StreamRecord (Maybe StreamViewType) Source #

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

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

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

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

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

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