5.0.0 • Published 7 years ago

@datafire/amazonaws_streams_dynamodb v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_streams_dynamodb

Client library for Amazon DynamoDB Streams

Installation and Usage

npm install --save @datafire/amazonaws_streams_dynamodb
let amazonaws_streams_dynamodb = require('@datafire/amazonaws_streams_dynamodb').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_streams_dynamodb.DescribeStream({
  "StreamArn": ""
}).then(data => {
  console.log(data);
});

Description

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.

Actions

DescribeStream

amazonaws_streams_dynamodb.DescribeStream({
  "StreamArn": ""
}, context)

Input

Output

GetRecords

amazonaws_streams_dynamodb.GetRecords({
  "ShardIterator": ""
}, context)

Input

Output

GetShardIterator

amazonaws_streams_dynamodb.GetShardIterator({
  "StreamArn": "",
  "ShardId": "",
  "ShardIteratorType": ""
}, context)

Input

Output

ListStreams

amazonaws_streams_dynamodb.ListStreams({}, context)

Input

Output

Definitions

AttributeMap

AttributeName

  • AttributeName string

AttributeValue

BinaryAttributeValue

  • BinaryAttributeValue string

BinarySetAttributeValue

BooleanAttributeValue

  • BooleanAttributeValue boolean

Date

  • Date string

DescribeStreamInput

DescribeStreamOutput

  • DescribeStreamOutput object: Represents the output of a DescribeStream operation.

ErrorMessage

  • ErrorMessage string

ExpiredIteratorException

  • ExpiredIteratorException object: 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.

GetRecordsInput

GetRecordsOutput

  • GetRecordsOutput object: Represents the output of a GetRecords operation.

GetShardIteratorInput

GetShardIteratorOutput

  • GetShardIteratorOutput object: Represents the output of a GetShardIterator operation.

Identity

  • Identity object: Contains details about the type of identity that made the request.

InternalServerError

  • InternalServerError object: An error occurred on the server side.

KeySchema

KeySchemaAttributeName

  • KeySchemaAttributeName string

KeySchemaElement

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

KeyType

  • KeyType string (values: HASH, RANGE)

LimitExceededException

  • LimitExceededException object: Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

ListAttributeValue

ListStreamsInput

ListStreamsOutput

  • ListStreamsOutput object: Represents the output of a ListStreams operation.

MapAttributeValue

NullAttributeValue

  • NullAttributeValue boolean

NumberAttributeValue

  • NumberAttributeValue string

NumberSetAttributeValue

OperationType

  • OperationType string (values: INSERT, MODIFY, REMOVE)

PositiveIntegerObject

  • PositiveIntegerObject integer

PositiveLongObject

  • PositiveLongObject integer

Record

RecordList

ResourceNotFoundException

  • ResourceNotFoundException object: The operation tried to access a nonexistent stream.

SequenceNumber

  • SequenceNumber string

SequenceNumberRange

  • SequenceNumberRange object: The beginning and ending sequence numbers for the stream records contained within a shard.

Shard

ShardDescriptionList

  • ShardDescriptionList array

ShardId

  • ShardId string

ShardIterator

  • ShardIterator string

ShardIteratorType

  • ShardIteratorType string (values: TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER)

Stream

  • Stream object: Represents all of the data describing a particular stream.

StreamArn

  • StreamArn string

StreamDescription

StreamList

StreamRecord

StreamStatus

  • StreamStatus string (values: ENABLING, ENABLED, DISABLING, DISABLED)

StreamViewType

  • StreamViewType string (values: NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY)

String

  • String string

StringAttributeValue

  • StringAttributeValue string

StringSetAttributeValue

TableName

  • TableName string

TrimmedDataAccessException

  • TrimmedDataAccessException object: 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.
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago