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

Description

 
Synopsis

Documentation

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.