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

Amazonka.DynamoDBStreams.Types

Description

 
Synopsis

Service Configuration

defaultService :: 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 table or index. The resource might not be specified correctly, or its status might not be ACTIVE.

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

There is no limit to the number of daily on-demand backups that can be taken.

Up to 50 simultaneous table operations are allowed per account. These operations include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, and RestoreTableToPointInTime.

The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.

There is a soft account quota of 256 tables.

KeyType

newtype KeyType Source #

Constructors

KeyType' 

Fields

Bundled Patterns

pattern KeyType_HASH :: KeyType 
pattern KeyType_RANGE :: KeyType 

Instances

Instances details
Eq KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

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

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

Ord KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Read KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Show KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Generic KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Associated Types

type Rep KeyType :: Type -> Type #

Methods

from :: KeyType -> Rep KeyType x #

to :: Rep KeyType x -> KeyType #

NFData KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

rnf :: KeyType -> () #

Hashable KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

hashWithSalt :: Int -> KeyType -> Int #

hash :: KeyType -> Int #

ToJSON KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToJSONKey KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

FromJSON KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

FromJSONKey KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToLog KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToHeader KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

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

ToQuery KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

FromXML KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToXML KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

toXML :: KeyType -> XML #

ToByteString KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

toBS :: KeyType -> ByteString #

FromText KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToText KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

toText :: KeyType -> Text #

type Rep KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

type Rep KeyType = D1 ('MetaData "KeyType" "Amazonka.DynamoDBStreams.Types.KeyType" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'True) (C1 ('MetaCons "KeyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromKeyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OperationType

newtype OperationType Source #

Constructors

OperationType' 

Instances

Instances details
Eq OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Ord OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Read OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Show OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Generic OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Associated Types

type Rep OperationType :: Type -> Type #

NFData OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Methods

rnf :: OperationType -> () #

Hashable OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToJSON OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToJSONKey OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

FromJSON OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

FromJSONKey OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToLog OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToHeader OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToQuery OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

FromXML OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToXML OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Methods

toXML :: OperationType -> XML #

ToByteString OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

FromText OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToText OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Methods

toText :: OperationType -> Text #

type Rep OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

type Rep OperationType = D1 ('MetaData "OperationType" "Amazonka.DynamoDBStreams.Types.OperationType" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'True) (C1 ('MetaCons "OperationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOperationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ShardIteratorType

newtype ShardIteratorType Source #

Instances

Instances details
Eq ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Ord ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Read ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Show ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Generic ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Associated Types

type Rep ShardIteratorType :: Type -> Type #

NFData ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Methods

rnf :: ShardIteratorType -> () #

Hashable ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToJSONKey ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

FromJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

FromJSONKey ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToLog ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToHeader ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToQuery ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

FromXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToByteString ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

FromText ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToText ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

type Rep ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

type Rep ShardIteratorType = D1 ('MetaData "ShardIteratorType" "Amazonka.DynamoDBStreams.Types.ShardIteratorType" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'True) (C1 ('MetaCons "ShardIteratorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardIteratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamStatus

newtype StreamStatus Source #

Constructors

StreamStatus' 

Instances

Instances details
Eq StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Ord StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Read StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Show StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Generic StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Associated Types

type Rep StreamStatus :: Type -> Type #

NFData StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Methods

rnf :: StreamStatus -> () #

Hashable StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToJSON StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToJSONKey StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

FromJSON StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

FromJSONKey StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToLog StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToHeader StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToQuery StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

FromXML StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToXML StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Methods

toXML :: StreamStatus -> XML #

ToByteString StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

FromText StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToText StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Methods

toText :: StreamStatus -> Text #

type Rep StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

type Rep StreamStatus = D1 ('MetaData "StreamStatus" "Amazonka.DynamoDBStreams.Types.StreamStatus" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'True) (C1 ('MetaCons "StreamStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamViewType

newtype StreamViewType Source #

Constructors

StreamViewType' 

Instances

Instances details
Eq StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Ord StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Read StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Show StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Generic StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Associated Types

type Rep StreamViewType :: Type -> Type #

NFData StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Methods

rnf :: StreamViewType -> () #

Hashable StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToJSON StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToJSONKey StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

FromJSON StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

FromJSONKey StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToLog StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToHeader StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToQuery StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

FromXML StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToXML StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Methods

toXML :: StreamViewType -> XML #

ToByteString StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

FromText StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToText StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

type Rep StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

type Rep StreamViewType = D1 ('MetaData "StreamViewType" "Amazonka.DynamoDBStreams.Types.StreamViewType" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'True) (C1 ('MetaCons "StreamViewType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamViewType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AttributeValue

data AttributeValue Source #

Represents the data for an attribute.

Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

For more information, see Data Types in the Amazon DynamoDB Developer Guide.

See: newAttributeValue smart constructor.

Constructors

AttributeValue' 

Fields

  • l :: Maybe [AttributeValue]

    An attribute of type List. For example:

    "L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}]
  • ns :: Maybe [Text]

    An attribute of type Number Set. For example:

    "NS": ["42.2", "-19", "7.5", "3.14"]

    Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

  • m :: Maybe (HashMap Text AttributeValue)

    An attribute of type Map. For example:

    "M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}
  • null :: Maybe Bool

    An attribute of type Null. For example:

    "NULL": true
  • n :: Maybe Text

    An attribute of type Number. For example:

    "N": "123.45"

    Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

  • bs :: Maybe [Base64]

    An attribute of type Binary Set. For example:

    "BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]
  • b :: Maybe Base64

    An attribute of type Binary. For example:

    "B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"
  • ss :: Maybe [Text]

    An attribute of type String Set. For example:

    "SS": ["Giraffe", "Hippo" ,"Zebra"]
  • s :: Maybe Text

    An attribute of type String. For example:

    "S": "Hello"
  • bool :: Maybe Bool

    An attribute of type Boolean. For example:

    "BOOL": true

Instances

Instances details
Eq AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

Read AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

Show AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

Generic AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

Associated Types

type Rep AttributeValue :: Type -> Type #

NFData AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

Methods

rnf :: AttributeValue -> () #

Hashable AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

FromJSON AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

type Rep AttributeValue Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.AttributeValue

newAttributeValue :: AttributeValue Source #

Create a value of AttributeValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:l:AttributeValue', attributeValue_l - An attribute of type List. For example:

"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}]

$sel:ns:AttributeValue', attributeValue_ns - An attribute of type Number Set. For example:

"NS": ["42.2", "-19", "7.5", "3.14"]

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

$sel:m:AttributeValue', attributeValue_m - An attribute of type Map. For example:

"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}

$sel:null:AttributeValue', attributeValue_null - An attribute of type Null. For example:

"NULL": true

$sel:n:AttributeValue', attributeValue_n - An attribute of type Number. For example:

"N": "123.45"

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

$sel:bs:AttributeValue', attributeValue_bs - An attribute of type Binary Set. For example:

"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]

$sel:b:AttributeValue', attributeValue_b - An attribute of type Binary. For example:

"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"-- -- 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.

$sel:ss:AttributeValue', attributeValue_ss - An attribute of type String Set. For example:

"SS": ["Giraffe", "Hippo" ,"Zebra"]

$sel:s:AttributeValue', attributeValue_s - An attribute of type String. For example:

"S": "Hello"

$sel:bool:AttributeValue', attributeValue_bool - An attribute of type Boolean. For example:

"BOOL": true

attributeValue_l :: Lens' AttributeValue (Maybe [AttributeValue]) Source #

An attribute of type List. For example:

"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}]

attributeValue_ns :: Lens' AttributeValue (Maybe [Text]) Source #

An attribute of type Number Set. For example:

"NS": ["42.2", "-19", "7.5", "3.14"]

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

attributeValue_m :: Lens' AttributeValue (Maybe (HashMap Text AttributeValue)) Source #

An attribute of type Map. For example:

"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}

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

An attribute of type Null. For example:

"NULL": true

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

An attribute of type Number. For example:

"N": "123.45"

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

attributeValue_bs :: Lens' AttributeValue (Maybe [ByteString]) Source #

An attribute of type Binary Set. For example:

"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]

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

An attribute of type Binary. For example:

"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"-- -- 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.

attributeValue_ss :: Lens' AttributeValue (Maybe [Text]) Source #

An attribute of type String Set. For example:

"SS": ["Giraffe", "Hippo" ,"Zebra"]

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

An attribute of type String. For example:

"S": "Hello"

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

An attribute of type Boolean. For example:

"BOOL": true

Identity

data Identity Source #

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

See: newIdentity smart constructor.

Constructors

Identity' 

Fields

  • principalId :: Maybe Text

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

  • type' :: Maybe Text

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

Instances

Instances details
Eq Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Read Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Generic Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

NFData Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

rnf :: Identity -> () #

Hashable Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.DynamoDBStreams.Types.Identity" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "Identity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIdentity :: Identity Source #

Create a value of Identity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:principalId:Identity', identity_principalId - A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".

$sel:type':Identity', identity_type - The type of the identity. For Time To Live, the type is "Service".

identity_principalId :: 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".

identity_type :: 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 would be represented by one KeySchemaElement (for the partition key). A composite primary key would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.

A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.

See: newKeySchemaElement smart constructor.

Constructors

KeySchemaElement' 

Fields

  • attributeName :: Text

    The name of a key attribute.

  • keyType :: KeyType

    The role that this key attribute will assume:

    • HASH - partition key
    • RANGE - sort key

    The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.

    The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

Instances

Instances details
Eq KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Read KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Show KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Generic KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Associated Types

type Rep KeySchemaElement :: Type -> Type #

NFData KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Methods

rnf :: KeySchemaElement -> () #

Hashable KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

FromJSON KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

type Rep KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

type Rep KeySchemaElement = D1 ('MetaData "KeySchemaElement" "Amazonka.DynamoDBStreams.Types.KeySchemaElement" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "KeySchemaElement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeyType)))

newKeySchemaElement Source #

Create a value of KeySchemaElement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributeName:KeySchemaElement', keySchemaElement_attributeName - The name of a key attribute.

$sel:keyType:KeySchemaElement', keySchemaElement_keyType - The role that this key attribute will assume:

  • HASH - partition key
  • RANGE - sort key

The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.

The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

keySchemaElement_keyType :: Lens' KeySchemaElement KeyType Source #

The role that this key attribute will assume:

  • HASH - partition key
  • RANGE - sort key

The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.

The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

Record

data Record Source #

A description of a unique event within a stream.

See: newRecord smart constructor.

Constructors

Record' 

Fields

  • userIdentity :: Maybe Identity

    Items that are deleted by the Time to Live process after expiration have the following fields:

    • Records[].userIdentity.type

      "Service"

    • Records[].userIdentity.principalId

      "dynamodb.amazonaws.com"

  • eventVersion :: Maybe Text

    The version number of the stream record format. This number is updated whenever the structure of Record is modified.

    Client applications must not assume that eventVersion will remain at a particular value, as this number is subject to change at any time. In general, eventVersion will only increase as the low-level DynamoDB Streams API evolves.

  • dynamodb :: Maybe StreamRecord

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

  • awsRegion :: Maybe Text

    The region in which the GetRecords request was received.

  • eventName :: Maybe OperationType

    The type of data modification that was performed on the DynamoDB table:

    • INSERT - a new item was added to the table.
    • MODIFY - one or more of an existing item's attributes were modified.
    • REMOVE - the item was deleted from the table
  • eventSource :: Maybe Text

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

  • eventID :: Maybe Text

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

Instances

Instances details
Eq Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

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

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

Read Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Generic Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

NFData Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

rnf :: Record -> () #

Hashable Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

type Rep Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

type Rep Record = D1 ('MetaData "Record" "Amazonka.DynamoDBStreams.Types.Record" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "Record'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "userIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: (S1 ('MetaSel ('Just "eventVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dynamodb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamRecord)))) :*: ((S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OperationType))) :*: (S1 ('MetaSel ('Just "eventSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRecord :: Record Source #

Create a value of Record with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userIdentity:Record', record_userIdentity - 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"

$sel:eventVersion:Record', record_eventVersion - 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.

$sel:dynamodb:Record', record_dynamodb - The main body of the stream record, containing all of the DynamoDB-specific fields.

$sel:awsRegion:Record', record_awsRegion - The region in which the GetRecords request was received.

$sel:eventName:Record', record_eventName - 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

$sel:eventSource:Record', record_eventSource - The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb.

$sel:eventID:Record', record_eventID - A globally unique identifier for the event that was recorded in this stream record.

record_userIdentity :: 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"

record_eventVersion :: 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.

record_dynamodb :: Lens' Record (Maybe StreamRecord) Source #

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

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

The region in which the GetRecords request was received.

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

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

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

record_eventID :: 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: newSequenceNumberRange smart constructor.

Constructors

SequenceNumberRange' 

Fields

Instances

Instances details
Eq SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Read SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Show SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Generic SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Associated Types

type Rep SequenceNumberRange :: Type -> Type #

NFData SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Methods

rnf :: SequenceNumberRange -> () #

Hashable SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

FromJSON SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

type Rep SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

type Rep SequenceNumberRange = D1 ('MetaData "SequenceNumberRange" "Amazonka.DynamoDBStreams.Types.SequenceNumberRange" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "SequenceNumberRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startingSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endingSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSequenceNumberRange :: SequenceNumberRange Source #

Create a value of SequenceNumberRange with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:startingSequenceNumber:SequenceNumberRange', sequenceNumberRange_startingSequenceNumber - The first sequence number for the stream records contained within a shard. String contains numeric characters only.

$sel:endingSequenceNumber:SequenceNumberRange', sequenceNumberRange_endingSequenceNumber - The last sequence number for the stream records contained within a shard. String contains numeric characters only.

sequenceNumberRange_startingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text) Source #

The first sequence number for the stream records contained within a shard. String contains numeric characters only.

sequenceNumberRange_endingSequenceNumber :: Lens' SequenceNumberRange (Maybe Text) Source #

The last sequence number for the stream records contained within a shard. String contains numeric characters only.

Shard

data Shard Source #

A uniquely identified group of stream records within a stream.

See: newShard smart constructor.

Constructors

Shard' 

Fields

Instances

Instances details
Eq Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

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

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

Read Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Show Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Associated Types

type Rep Shard :: Type -> Type #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

NFData Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

rnf :: Shard -> () #

Hashable Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

type Rep Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.DynamoDBStreams.Types.Shard" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "Shard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sequenceNumberRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SequenceNumberRange)) :*: S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newShard :: Shard Source #

Create a value of Shard with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:parentShardId:Shard', shard_parentShardId - The shard ID of the current shard's parent.

$sel:sequenceNumberRange:Shard', shard_sequenceNumberRange - The range of possible sequence numbers for the shard.

$sel:shardId:Shard', shard_shardId - The system-generated identifier for this shard.

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

The shard ID of the current shard's parent.

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

The range of possible sequence numbers for the shard.

shard_shardId :: 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: newStream smart constructor.

Constructors

Stream' 

Fields

  • streamLabel :: Maybe Text

    A timestamp, in ISO 8601 format, for this stream.

    Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

    • the AWS customer ID.
    • the table name
    • the StreamLabel
  • streamArn :: Maybe Text

    The Amazon Resource Name (ARN) for the stream.

  • tableName :: Maybe Text

    The DynamoDB table with which the stream is associated.

Instances

Instances details
Eq Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

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

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

Read Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Show Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Generic Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Associated Types

type Rep Stream :: Type -> Type #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

NFData Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

rnf :: Stream -> () #

Hashable Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

FromJSON Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

type Rep Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

type Rep Stream = D1 ('MetaData "Stream" "Amazonka.DynamoDBStreams.Types.Stream" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "Stream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newStream :: Stream Source #

Create a value of Stream with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:streamLabel:Stream', stream_streamLabel - 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

$sel:streamArn:Stream', stream_streamArn - The Amazon Resource Name (ARN) for the stream.

$sel:tableName:Stream', stream_tableName - The DynamoDB table with which the stream is associated.

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

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

The Amazon Resource Name (ARN) for the stream.

stream_tableName :: 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: newStreamDescription smart constructor.

Constructors

StreamDescription' 

Fields

  • lastEvaluatedShardId :: Maybe Text

    The shard ID of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

    If LastEvaluatedShardId is empty, then the "last page" of results has been processed and there is currently no more data to be retrieved.

    If LastEvaluatedShardId is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedShardId is empty.

  • streamLabel :: Maybe Text

    A timestamp, in ISO 8601 format, for this stream.

    Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

    • the AWS customer ID.
    • the table name
    • the StreamLabel
  • streamStatus :: Maybe StreamStatus

    Indicates the current status of the stream:

    • ENABLING - Streams is currently being enabled on the DynamoDB table.
    • ENABLED - the stream is enabled.
    • DISABLING - Streams is currently being disabled on the DynamoDB table.
    • DISABLED - the stream is disabled.
  • keySchema :: Maybe (NonEmpty KeySchemaElement)

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

  • streamViewType :: Maybe StreamViewType

    Indicates the format of the records within this stream:

    • KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table.
    • NEW_IMAGE - entire items from the table, as they appeared after they were modified.
    • OLD_IMAGE - entire items from the table, as they appeared before they were modified.
    • NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.
  • streamArn :: Maybe Text

    The Amazon Resource Name (ARN) for the stream.

  • shards :: Maybe [Shard]

    The shards that comprise the stream.

  • tableName :: Maybe Text

    The DynamoDB table with which the stream is associated.

  • creationRequestDateTime :: Maybe POSIX

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

Instances

Instances details
Eq StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Read StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Show StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Generic StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Associated Types

type Rep StreamDescription :: Type -> Type #

NFData StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Methods

rnf :: StreamDescription -> () #

Hashable StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

FromJSON StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

type Rep StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

type Rep StreamDescription = D1 ('MetaData "StreamDescription" "Amazonka.DynamoDBStreams.Types.StreamDescription" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "StreamDescription'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastEvaluatedShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "streamStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamStatus)) :*: S1 ('MetaSel ('Just "keySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty KeySchemaElement))))) :*: ((S1 ('MetaSel ('Just "streamViewType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamViewType)) :*: S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "shards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Shard])) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationRequestDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newStreamDescription :: StreamDescription Source #

Create a value of StreamDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastEvaluatedShardId:StreamDescription', streamDescription_lastEvaluatedShardId - 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.

$sel:streamLabel:StreamDescription', streamDescription_streamLabel - 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

$sel:streamStatus:StreamDescription', streamDescription_streamStatus - Indicates the current status of the stream:

  • ENABLING - Streams is currently being enabled on the DynamoDB table.
  • ENABLED - the stream is enabled.
  • DISABLING - Streams is currently being disabled on the DynamoDB table.
  • DISABLED - the stream is disabled.

$sel:keySchema:StreamDescription', streamDescription_keySchema - The key attribute(s) of the stream's DynamoDB table.

$sel:streamViewType:StreamDescription', streamDescription_streamViewType - Indicates the format of the records within this stream:

  • KEYS_ONLY - only the key attributes of items that were modified in the DynamoDB table.
  • NEW_IMAGE - entire items from the table, as they appeared after they were modified.
  • OLD_IMAGE - entire items from the table, as they appeared before they were modified.
  • NEW_AND_OLD_IMAGES - both the new and the old images of the items from the table.

$sel:streamArn:StreamDescription', streamDescription_streamArn - The Amazon Resource Name (ARN) for the stream.

$sel:shards:StreamDescription', streamDescription_shards - The shards that comprise the stream.

$sel:tableName:StreamDescription', streamDescription_tableName - The DynamoDB table with which the stream is associated.

$sel:creationRequestDateTime:StreamDescription', streamDescription_creationRequestDateTime - The date and time when the request to create this stream was issued.

streamDescription_lastEvaluatedShardId :: 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.

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

streamDescription_streamStatus :: 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.

streamDescription_keySchema :: Lens' StreamDescription (Maybe (NonEmpty KeySchemaElement)) Source #

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

streamDescription_streamViewType :: 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.

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

The Amazon Resource Name (ARN) for the stream.

streamDescription_shards :: Lens' StreamDescription (Maybe [Shard]) Source #

The shards that comprise the stream.

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

The DynamoDB table with which the stream is associated.

streamDescription_creationRequestDateTime :: 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: newStreamRecord smart constructor.

Constructors

StreamRecord' 

Fields

Instances

Instances details
Eq StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Read StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Show StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Generic StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Associated Types

type Rep StreamRecord :: Type -> Type #

NFData StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Methods

rnf :: StreamRecord -> () #

Hashable StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

FromJSON StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

type Rep StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

type Rep StreamRecord = D1 ('MetaData "StreamRecord" "Amazonka.DynamoDBStreams.Types.StreamRecord" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "StreamRecord'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "approximateCreationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "streamViewType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamViewType)) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text AttributeValue)))) :*: (S1 ('MetaSel ('Just "oldImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text AttributeValue))) :*: S1 ('MetaSel ('Just "newImage'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text AttributeValue)))))))

newStreamRecord :: StreamRecord Source #

Create a value of StreamRecord with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sizeBytes:StreamRecord', streamRecord_sizeBytes - The size of the stream record, in bytes.

$sel:sequenceNumber:StreamRecord', streamRecord_sequenceNumber - The sequence number of the stream record.

$sel:approximateCreationDateTime:StreamRecord', streamRecord_approximateCreationDateTime - The approximate date and time when the stream record was created, in UNIX epoch time format.

$sel:streamViewType:StreamRecord', streamRecord_streamViewType - The type of data from the modified DynamoDB item that was captured in this stream record:

  • KEYS_ONLY - only the key attributes of the modified item.
  • NEW_IMAGE - the entire item, as it appeared after it was modified.
  • OLD_IMAGE - the entire item, as it appeared before it was modified.
  • NEW_AND_OLD_IMAGES - both the new and the old item images of the item.

$sel:keys:StreamRecord', streamRecord_keys - The primary key attribute(s) for the DynamoDB item that was modified.

$sel:oldImage:StreamRecord', streamRecord_oldImage - The item in the DynamoDB table as it appeared before it was modified.

$sel:newImage':StreamRecord', streamRecord_newImage - The item in the DynamoDB table as it appeared after it was modified.

streamRecord_sizeBytes :: Lens' StreamRecord (Maybe Natural) Source #

The size of the stream record, in bytes.

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

The sequence number of the stream record.

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

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

streamRecord_streamViewType :: 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.

streamRecord_keys :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #

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

streamRecord_oldImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #

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

streamRecord_newImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #

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