import { _KeySchemaElement, _UnmarshalledKeySchemaElement } from "./_KeySchemaElement"; import { _Shard, _UnmarshalledShard } from "./_Shard"; /** *

Represents all of the data describing a particular stream.

*/ export interface _StreamDescription { /** *

The Amazon Resource Name (ARN) for the stream.

*/ StreamArn?: string; /** *

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:

*/ StreamLabel?: string; /** *

Indicates the current status of the stream:

*/ StreamStatus?: "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | string; /** *

Indicates the format of the records within this stream:

*/ StreamViewType?: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY" | string; /** *

The date and time when the request to create this stream was issued.

*/ CreationRequestDateTime?: Date | string | number; /** *

The DynamoDB table with which the stream is associated.

*/ TableName?: string; /** *

The key attribute(s) of the stream's DynamoDB table.

*/ KeySchema?: Array<_KeySchemaElement> | Iterable<_KeySchemaElement>; /** *

The shards that comprise the stream.

*/ Shards?: Array<_Shard> | Iterable<_Shard>; /** *

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.

*/ LastEvaluatedShardId?: string; } export interface _UnmarshalledStreamDescription extends _StreamDescription { /** *

The date and time when the request to create this stream was issued.

*/ CreationRequestDateTime?: Date; /** *

The key attribute(s) of the stream's DynamoDB table.

*/ KeySchema?: Array<_UnmarshalledKeySchemaElement>; /** *

The shards that comprise the stream.

*/ Shards?: Array<_UnmarshalledShard>; }