amazonka-dynamodb-streams-2.0: Amazon DynamoDB Streams SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DynamoDBStreams.Types.Stream

Description

 
Synopsis

Documentation

data Stream Source #

Represents all of the data describing a particular stream.

See: newStream smart constructor.

Constructors

Stream' 

Fields

  • streamArn :: Maybe Text

    The Amazon Resource Name (ARN) for the stream.

  • 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
  • tableName :: Maybe Text

    The DynamoDB table with which the stream is associated.

Instances

Instances details
FromJSON 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 #

Read Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Show Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

NFData Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

rnf :: Stream -> () #

Eq Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

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

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

Hashable Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

type Rep Stream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Stream

type Rep Stream = D1 ('MetaData "Stream" "Amazonka.DynamoDBStreams.Types.Stream" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "Stream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamLabel") '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:streamArn:Stream', stream_streamArn - The Amazon Resource Name (ARN) for the stream.

$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:tableName:Stream', stream_tableName - The DynamoDB table with which the stream is associated.

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

The Amazon Resource Name (ARN) for the stream.

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_tableName :: Lens' Stream (Maybe Text) Source #

The DynamoDB table with which the stream is associated.