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

Description

Derived from API version 2012-08-10 of the AWS service descriptions, licensed under Apache 2.0.

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

defaultService :: 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 => Fold 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 => Fold a ServiceError Source #

An error occurred on the server side.

LimitExceededException

_LimitExceededException :: AsError a => Fold a ServiceError Source #

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

For most purposes, up to 500 simultaneous table operations are allowed per account. These operations include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, and RestoreTableToPointInTime.

When you are creating a table with one or more secondary indexes, you can have up to 250 such requests running at a time. However, if the table or index specifications are complex, then DynamoDB might temporarily reduce the number of concurrent operations.

When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.

There is a soft account quota of 2,500 tables.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold 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.

TrimmedDataAccessException

_TrimmedDataAccessException :: AsError a => Fold 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.

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.

DescribeStream

data DescribeStream Source #

Represents the input of a DescribeStream operation.

See: newDescribeStream smart constructor.

Instances

Instances details
ToJSON DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

ToHeaders DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

ToPath DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

ToQuery DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

AWSRequest DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Associated Types

type AWSResponse DescribeStream #

Generic DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStream :: Type -> Type #

Read DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Show DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

NFData DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStream -> () #

Eq DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Hashable DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

type AWSResponse DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

type Rep DescribeStream Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

type Rep DescribeStream = D1 ('MetaData "DescribeStream" "Amazonka.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "DescribeStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exclusiveStartShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeStream Source #

Create a value of DescribeStream 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:exclusiveStartShardId:DescribeStream', describeStream_exclusiveStartShardId - The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId in the previous operation.

$sel:limit:DescribeStream', describeStream_limit - The maximum number of shard objects to return. The upper limit is 100.

DescribeStream, describeStream_streamArn - The Amazon Resource Name (ARN) for the stream.

data DescribeStreamResponse Source #

Represents the output of a DescribeStream operation.

See: newDescribeStreamResponse smart constructor.

Instances

Instances details
Generic DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Associated Types

type Rep DescribeStreamResponse :: Type -> Type #

Read DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Show DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

NFData DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

Methods

rnf :: DescribeStreamResponse -> () #

Eq DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

type Rep DescribeStreamResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.DescribeStream

type Rep DescribeStreamResponse = D1 ('MetaData "DescribeStreamResponse" "Amazonka.DynamoDBStreams.DescribeStream" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "DescribeStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeStreamResponse Source #

Create a value of DescribeStreamResponse 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:streamDescription:DescribeStreamResponse', describeStreamResponse_streamDescription - A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.

$sel:httpStatus:DescribeStreamResponse', describeStreamResponse_httpStatus - The response's http status code.

GetRecords

data GetRecords Source #

Represents the input of a GetRecords operation.

See: newGetRecords smart constructor.

Constructors

GetRecords' (Maybe Natural) Text 

Instances

Instances details
ToJSON GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

ToHeaders GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Methods

toHeaders :: GetRecords -> [Header] #

ToPath GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

ToQuery GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

AWSRequest GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Associated Types

type AWSResponse GetRecords #

Generic GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Associated Types

type Rep GetRecords :: Type -> Type #

Read GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Show GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

NFData GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Methods

rnf :: GetRecords -> () #

Eq GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Hashable GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

type AWSResponse GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

type Rep GetRecords Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

type Rep GetRecords = D1 ('MetaData "GetRecords" "Amazonka.DynamoDBStreams.GetRecords" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "GetRecords'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "shardIterator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetRecords Source #

Create a value of GetRecords 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:limit:GetRecords', getRecords_limit - The maximum number of records to return from the shard. The upper limit is 1000.

$sel:shardIterator:GetRecords', getRecords_shardIterator - A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

data GetRecordsResponse Source #

Represents the output of a GetRecords operation.

See: newGetRecordsResponse smart constructor.

Instances

Instances details
Generic GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Associated Types

type Rep GetRecordsResponse :: Type -> Type #

Read GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Show GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

NFData GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

Methods

rnf :: GetRecordsResponse -> () #

Eq GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

type Rep GetRecordsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetRecords

type Rep GetRecordsResponse = D1 ('MetaData "GetRecordsResponse" "Amazonka.DynamoDBStreams.GetRecords" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "GetRecordsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextShardIterator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "records") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Record])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRecordsResponse Source #

Create a value of GetRecordsResponse 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:nextShardIterator:GetRecordsResponse', getRecordsResponse_nextShardIterator - The next position in the shard from which to start sequentially reading stream records. If set to null, the shard has been closed and the requested iterator will not return any more data.

$sel:records:GetRecordsResponse', getRecordsResponse_records - The stream records from the shard, which were retrieved using the shard iterator.

$sel:httpStatus:GetRecordsResponse', getRecordsResponse_httpStatus - The response's http status code.

GetShardIterator

data GetShardIterator Source #

Represents the input of a GetShardIterator operation.

See: newGetShardIterator smart constructor.

Instances

Instances details
ToJSON GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

ToHeaders GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

ToPath GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

ToQuery GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

AWSRequest GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Associated Types

type AWSResponse GetShardIterator #

Generic GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Associated Types

type Rep GetShardIterator :: Type -> Type #

Read GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Show GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

NFData GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Methods

rnf :: GetShardIterator -> () #

Eq GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Hashable GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

type AWSResponse GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

type Rep GetShardIterator Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

type Rep GetShardIterator = D1 ('MetaData "GetShardIterator" "Amazonka.DynamoDBStreams.GetShardIterator" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "GetShardIterator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "shardIteratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ShardIteratorType))))

newGetShardIterator Source #

Create a value of GetShardIterator 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:

GetShardIterator, getShardIterator_sequenceNumber - The sequence number of a stream record in the shard from which to start reading.

GetShardIterator, getShardIterator_streamArn - The Amazon Resource Name (ARN) for the stream.

GetShardIterator, getShardIterator_shardId - The identifier of the shard. The iterator will be returned for this shard ID.

$sel:shardIteratorType:GetShardIterator', getShardIterator_shardIteratorType - Determines how the shard iterator is used to start reading stream records from the shard:

  • AT_SEQUENCE_NUMBER - Start reading exactly from the position denoted by a specific sequence number.
  • AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number.
  • TRIM_HORIZON - Start reading at the last (untrimmed) stream record, which is the oldest record in the 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.
  • LATEST - Start reading just after the most recent stream record in the shard, so that you always read the most recent data in the shard.

data GetShardIteratorResponse Source #

Represents the output of a GetShardIterator operation.

See: newGetShardIteratorResponse smart constructor.

Instances

Instances details
Generic GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Associated Types

type Rep GetShardIteratorResponse :: Type -> Type #

Read GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Show GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

NFData GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

Eq GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

type Rep GetShardIteratorResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.GetShardIterator

type Rep GetShardIteratorResponse = D1 ('MetaData "GetShardIteratorResponse" "Amazonka.DynamoDBStreams.GetShardIterator" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "GetShardIteratorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shardIterator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetShardIteratorResponse Source #

Create a value of GetShardIteratorResponse 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:shardIterator:GetShardIteratorResponse', getShardIteratorResponse_shardIterator - The position in the shard from which to start reading stream records sequentially. A shard iterator specifies this position using the sequence number of a stream record in a shard.

$sel:httpStatus:GetShardIteratorResponse', getShardIteratorResponse_httpStatus - The response's http status code.

ListStreams

data ListStreams Source #

Represents the input of a ListStreams operation.

See: newListStreams smart constructor.

Instances

Instances details
ToJSON ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

ToHeaders ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Methods

toHeaders :: ListStreams -> [Header] #

ToPath ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

ToQuery ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

AWSRequest ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Associated Types

type AWSResponse ListStreams #

Generic ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Associated Types

type Rep ListStreams :: Type -> Type #

Read ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Show ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

NFData ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Methods

rnf :: ListStreams -> () #

Eq ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Hashable ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

type AWSResponse ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

type Rep ListStreams Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

type Rep ListStreams = D1 ('MetaData "ListStreams" "Amazonka.DynamoDBStreams.ListStreams" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "ListStreams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exclusiveStartStreamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListStreams :: ListStreams Source #

Create a value of ListStreams 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:exclusiveStartStreamArn:ListStreams', listStreams_exclusiveStartStreamArn - The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn in the previous operation.

$sel:limit:ListStreams', listStreams_limit - The maximum number of streams to return. The upper limit is 100.

ListStreams, listStreams_tableName - If this parameter is provided, then only the streams associated with this table name are returned.

data ListStreamsResponse Source #

Represents the output of a ListStreams operation.

See: newListStreamsResponse smart constructor.

Instances

Instances details
Generic ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Associated Types

type Rep ListStreamsResponse :: Type -> Type #

Read ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Show ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

NFData ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

Methods

rnf :: ListStreamsResponse -> () #

Eq ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

type Rep ListStreamsResponse Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.ListStreams

type Rep ListStreamsResponse = D1 ('MetaData "ListStreamsResponse" "Amazonka.DynamoDBStreams.ListStreams" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "ListStreamsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastEvaluatedStreamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Stream])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListStreamsResponse Source #

Create a value of ListStreamsResponse 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:lastEvaluatedStreamArn:ListStreamsResponse', listStreamsResponse_lastEvaluatedStreamArn - The stream ARN 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 LastEvaluatedStreamArn is empty, then the "last page" of results has been processed and there is no more data to be retrieved.

If LastEvaluatedStreamArn 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 LastEvaluatedStreamArn is empty.

$sel:streams:ListStreamsResponse', listStreamsResponse_streams - A list of stream descriptors associated with the current account and endpoint.

$sel:httpStatus:ListStreamsResponse', listStreamsResponse_httpStatus - The response's http status code.

Types

Common

KeyType

newtype KeyType Source #

Constructors

KeyType' 

Fields

Bundled Patterns

pattern KeyType_HASH :: KeyType 
pattern KeyType_RANGE :: KeyType 

Instances

Instances details
FromJSON KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

FromJSONKey KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToJSON KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToJSONKey KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToByteString KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

toBS :: KeyType -> ByteString #

ToHeader KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

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

ToLog KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

ToQuery KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

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 #

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 #

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 #

Read KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Show KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

NFData KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

rnf :: KeyType -> () #

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

Hashable KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

Methods

hashWithSalt :: Int -> KeyType -> Int #

hash :: KeyType -> Int #

type Rep KeyType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeyType

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

OperationType

newtype OperationType Source #

Constructors

OperationType' 

Instances

Instances details
FromJSON OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

FromJSONKey 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

ToByteString OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToHeader OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

ToLog OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

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

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 #

Generic OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Associated Types

type Rep OperationType :: Type -> Type #

Read OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Show OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

NFData OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Methods

rnf :: OperationType -> () #

Eq OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Ord OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

Hashable OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

type Rep OperationType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.OperationType

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

ShardIteratorType

newtype ShardIteratorType Source #

Instances

Instances details
FromJSON ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

FromJSONKey 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

ToByteString ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToHeader ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToLog ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

ToQuery 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

FromXML ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

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

Read ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Show ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

NFData ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Methods

rnf :: ShardIteratorType -> () #

Eq ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Ord ShardIteratorType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.ShardIteratorType

Hashable 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" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'True) (C1 ('MetaCons "ShardIteratorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromShardIteratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamStatus

newtype StreamStatus Source #

Constructors

StreamStatus' 

Instances

Instances details
FromJSON StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

FromJSONKey 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

ToByteString StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToHeader StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

ToLog StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

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

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 #

Generic StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Associated Types

type Rep StreamStatus :: Type -> Type #

Read StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Show StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

NFData StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Methods

rnf :: StreamStatus -> () #

Eq StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Ord StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

Hashable StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

type Rep StreamStatus Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamStatus

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

StreamViewType

newtype StreamViewType Source #

Constructors

StreamViewType' 

Instances

Instances details
FromJSON StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

FromJSONKey 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

ToByteString StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToHeader StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToLog StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

ToQuery 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

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 #

Generic StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Associated Types

type Rep StreamViewType :: Type -> Type #

Read StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Show StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

NFData StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Methods

rnf :: StreamViewType -> () #

Eq StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Ord StreamViewType Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamViewType

Hashable 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" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'True) (C1 ('MetaCons "StreamViewType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamViewType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Identity

data Identity Source #

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

See: newIdentity smart constructor.

Constructors

Identity' (Maybe Text) (Maybe Text) 

Instances

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

Read Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

NFData Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

rnf :: Identity -> () #

Eq Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Hashable Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

type Rep Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.DynamoDBStreams.Types.Identity" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" '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".

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.

Instances

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

Read KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Show KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

NFData KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Methods

rnf :: KeySchemaElement -> () #

Eq KeySchemaElement Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.KeySchemaElement

Hashable 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" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" '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.

Record

data Record Source #

A description of a unique event within a stream.

See: newRecord smart constructor.

Instances

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

Read Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

NFData Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

rnf :: Record -> () #

Eq Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

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

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

Hashable Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

type Rep Record Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Record

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:awsRegion:Record', record_awsRegion - The region in which the GetRecords request was received.

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

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

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

SequenceNumberRange

data SequenceNumberRange Source #

The beginning and ending sequence numbers for the stream records contained within a shard.

See: newSequenceNumberRange smart constructor.

Instances

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

Read SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Show SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

NFData SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Methods

rnf :: SequenceNumberRange -> () #

Eq SequenceNumberRange Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.SequenceNumberRange

Hashable 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" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "SequenceNumberRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endingSequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startingSequenceNumber") '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:endingSequenceNumber:SequenceNumberRange', sequenceNumberRange_endingSequenceNumber - The last sequence number for the stream records contained within a shard. String contains numeric characters only.

$sel:startingSequenceNumber:SequenceNumberRange', sequenceNumberRange_startingSequenceNumber - The first 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.

Instances

Instances details
FromJSON Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

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 #

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 #

NFData Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

rnf :: Shard -> () #

Eq Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

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

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

Hashable Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

type Rep Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.DynamoDBStreams.Types.Shard" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" '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.

Stream

data Stream Source #

Represents all of the data describing a particular stream.

See: newStream smart constructor.

Constructors

Stream' (Maybe Text) (Maybe Text) (Maybe Text) 

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.

StreamDescription

data StreamDescription Source #

Represents all of the data describing a particular stream.

See: newStreamDescription smart constructor.

Instances

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

Read StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Show StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

NFData StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Methods

rnf :: StreamDescription -> () #

Eq StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

Hashable StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

type Rep StreamDescription Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamDescription

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:creationRequestDateTime:StreamDescription', streamDescription_creationRequestDateTime - The date and time when the request to create this stream was issued.

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

$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:shards:StreamDescription', streamDescription_shards - The shards that comprise the stream.

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

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

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.

Instances

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

Read StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Show StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

NFData StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Methods

rnf :: StreamRecord -> () #

Eq StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

Hashable StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

type Rep StreamRecord Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.StreamRecord

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:approximateCreationDateTime:StreamRecord', streamRecord_approximateCreationDateTime - The approximate date and time when the stream record was created, in UNIX epoch time format.

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

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

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

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

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

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