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

Description

 
Synopsis

Documentation

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.