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

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

Network.AWS.DynamoDBStreams

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

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

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

An error occurred on the server side.

TrimmedDataAccessException

_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

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

The operation tried to access a nonexistent stream.

LimitExceededException

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

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

Constructors

Hash 
Range 
Instances
Bounded KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

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

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

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep KeyType :: Type -> Type #

Methods

from :: KeyType -> Rep KeyType x #

to :: Rep KeyType x -> KeyType #

Hashable KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

hashWithSalt :: Int -> KeyType -> Int #

hash :: KeyType -> Int #

FromJSON KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

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

ToQuery KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toBS :: KeyType -> ByteString #

FromText KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: KeyType -> Text #

NFData KeyType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: KeyType -> () #

type Rep KeyType Source # 
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.1-2ClpCrcoAn25PSx22S21t0" False) (C1 (MetaCons "Hash" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Range" PrefixI False) (U1 :: Type -> Type))

OperationType

data OperationType Source #

Constructors

Insert 
Modify 
Remove 
Instances
Bounded OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

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

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep OperationType :: Type -> Type #

Hashable OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: OperationType -> Text #

NFData OperationType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: OperationType -> () #

type Rep OperationType Source # 
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.1-2ClpCrcoAn25PSx22S21t0" False) (C1 (MetaCons "Insert" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Modify" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Remove" PrefixI False) (U1 :: Type -> Type)))

ShardIteratorType

data ShardIteratorType Source #

Instances
Bounded ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

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

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep ShardIteratorType :: Type -> Type #

Hashable ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToJSON ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

NFData ShardIteratorType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: ShardIteratorType -> () #

type Rep ShardIteratorType Source # 
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.1-2ClpCrcoAn25PSx22S21t0" False) ((C1 (MetaCons "AfterSequenceNumber" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AtSequenceNumber" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Latest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TrimHorizon" PrefixI False) (U1 :: Type -> Type)))

StreamStatus

data StreamStatus Source #

Instances
Bounded StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

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

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep StreamStatus :: Type -> Type #

Hashable StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

toText :: StreamStatus -> Text #

NFData StreamStatus Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: StreamStatus -> () #

type Rep StreamStatus Source # 
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.1-2ClpCrcoAn25PSx22S21t0" False) ((C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Disabling" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabling" PrefixI False) (U1 :: Type -> Type)))

StreamViewType

data StreamViewType Source #

Instances
Bounded StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Enum StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Eq StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

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

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Read StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Show StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Generic StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Associated Types

type Rep StreamViewType :: Type -> Type #

Hashable StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromJSON StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToHeader StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToQuery StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToByteString StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

FromText StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

ToText StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

NFData StreamViewType Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Sum

Methods

rnf :: StreamViewType -> () #

type Rep StreamViewType Source # 
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.1-2ClpCrcoAn25PSx22S21t0" False) ((C1 (MetaCons "KeysOnly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NewAndOldImages" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NewImage" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OldImage" PrefixI False) (U1 :: Type -> Type)))

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep AttributeValue :: Type -> Type #

Hashable AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: AttributeValue -> () #

type Rep AttributeValue Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Identity Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Identity Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

Hashable Identity Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Identity Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Identity -> () #

type Rep Identity Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show KeySchemaElement Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic KeySchemaElement Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep KeySchemaElement :: Type -> Type #

Hashable KeySchemaElement Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON KeySchemaElement Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData KeySchemaElement Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: KeySchemaElement -> () #

type Rep KeySchemaElement Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Record -> () #

type Rep Record Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep SequenceNumberRange :: Type -> Type #

Hashable SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData SequenceNumberRange Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: SequenceNumberRange -> () #

type Rep SequenceNumberRange Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Shard Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Shard :: Type -> Type #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

Hashable Shard Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Shard Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Shard -> () #

type Rep Shard Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

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

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

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show Stream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic Stream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep Stream :: Type -> Type #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

Hashable Stream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

FromJSON Stream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData Stream Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: Stream -> () #

type Rep Stream Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show StreamDescription Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic StreamDescription Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep StreamDescription :: Type -> Type #

Hashable StreamDescription Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON StreamDescription Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData StreamDescription Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: StreamDescription -> () #

type Rep StreamDescription Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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 # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

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

Defined in Network.AWS.DynamoDBStreams.Types.Product

Show StreamRecord Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Generic StreamRecord Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Associated Types

type Rep StreamRecord :: Type -> Type #

Hashable StreamRecord Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

FromJSON StreamRecord Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

NFData StreamRecord Source # 
Instance details

Defined in Network.AWS.DynamoDBStreams.Types.Product

Methods

rnf :: StreamRecord -> () #

type Rep StreamRecord Source # 
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.1-2ClpCrcoAn25PSx22S21t0" 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 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.