{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.dynamodbstreams#AttributeMap": { "type": "map", "key": { "target": "com.amazonaws.dynamodbstreams#AttributeName" }, "value": { "target": "com.amazonaws.dynamodbstreams#AttributeValue" } }, "com.amazonaws.dynamodbstreams#AttributeName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 65535 } } }, "com.amazonaws.dynamodbstreams#AttributeValue": { "type": "union", "members": { "S": { "target": "com.amazonaws.dynamodbstreams#StringAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type String. For example:

\n

\n \"S\": \"Hello\"\n

" } }, "N": { "target": "com.amazonaws.dynamodbstreams#NumberAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Number. For example:

\n

\n \"N\": \"123.45\"\n

\n

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

" } }, "B": { "target": "com.amazonaws.dynamodbstreams#BinaryAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Binary. For example:

\n

\n \"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\"\n

" } }, "SS": { "target": "com.amazonaws.dynamodbstreams#StringSetAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type String Set. For example:

\n

\n \"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]\n

" } }, "NS": { "target": "com.amazonaws.dynamodbstreams#NumberSetAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Number Set. For example:

\n

\n \"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]\n

\n

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

" } }, "BS": { "target": "com.amazonaws.dynamodbstreams#BinarySetAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Binary Set. For example:

\n

\n \"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]\n

" } }, "M": { "target": "com.amazonaws.dynamodbstreams#MapAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Map. For example:

\n

\n \"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}\n

" } }, "L": { "target": "com.amazonaws.dynamodbstreams#ListAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type List. For example:

\n

\n \"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]\n

" } }, "NULL": { "target": "com.amazonaws.dynamodbstreams#NullAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Null. For example:

\n

\n \"NULL\": true\n

" } }, "BOOL": { "target": "com.amazonaws.dynamodbstreams#BooleanAttributeValue", "traits": { "smithy.api#documentation": "

An attribute of type Boolean. For example:

\n

\n \"BOOL\": true\n

" } } }, "traits": { "smithy.api#documentation": "

Represents the data for an attribute.

\n

Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

\n

For more information, see Data Types in the\n Amazon DynamoDB Developer Guide.

" } }, "com.amazonaws.dynamodbstreams#BinaryAttributeValue": { "type": "blob" }, "com.amazonaws.dynamodbstreams#BinarySetAttributeValue": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#BinaryAttributeValue" } }, "com.amazonaws.dynamodbstreams#BooleanAttributeValue": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.dynamodbstreams#Date": { "type": "timestamp" }, "com.amazonaws.dynamodbstreams#DescribeStream": { "type": "operation", "input": { "target": "com.amazonaws.dynamodbstreams#DescribeStreamInput" }, "output": { "target": "com.amazonaws.dynamodbstreams#DescribeStreamOutput" }, "errors": [ { "target": "com.amazonaws.dynamodbstreams#InternalServerError" }, { "target": "com.amazonaws.dynamodbstreams#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table.

\n \n

You can call DescribeStream at a maximum rate of 10 times per second.

\n
\n

Each shard in the stream has a SequenceNumberRange associated with it. If the\n SequenceNumberRange has a StartingSequenceNumber but no\n EndingSequenceNumber, then the shard is still open (able to receive more stream\n records). If both StartingSequenceNumber and EndingSequenceNumber\n are present, then that shard is closed and can no longer receive more data.

" } }, "com.amazonaws.dynamodbstreams#DescribeStreamInput": { "type": "structure", "members": { "StreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the stream.

", "smithy.api#required": {} } }, "Limit": { "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject", "traits": { "smithy.api#documentation": "

The maximum number of shard objects to return. The upper limit is 100.

" } }, "ExclusiveStartShardId": { "target": "com.amazonaws.dynamodbstreams#ShardId", "traits": { "smithy.api#documentation": "

The shard ID of the first item that this operation will evaluate. Use the value that was\n returned for LastEvaluatedShardId in the previous operation.

" } } }, "traits": { "smithy.api#documentation": "

Represents the input of a DescribeStream operation.

" } }, "com.amazonaws.dynamodbstreams#DescribeStreamOutput": { "type": "structure", "members": { "StreamDescription": { "target": "com.amazonaws.dynamodbstreams#StreamDescription", "traits": { "smithy.api#documentation": "

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.

" } } }, "traits": { "smithy.api#documentation": "

Represents the output of a DescribeStream operation.

" } }, "com.amazonaws.dynamodbstreams#DynamoDBStreams_20120810": { "type": "service", "version": "2012-08-10", "operations": [ { "target": "com.amazonaws.dynamodbstreams#DescribeStream" }, { "target": "com.amazonaws.dynamodbstreams#GetRecords" }, { "target": "com.amazonaws.dynamodbstreams#GetShardIterator" }, { "target": "com.amazonaws.dynamodbstreams#ListStreams" } ], "traits": { "aws.api#service": { "sdkId": "DynamoDB Streams", "arnNamespace": "dynamodb", "cloudFormationName": "DynamoDBStreams", "cloudTrailEventSource": "dynamodbstreams.amazonaws.com", "endpointPrefix": "streams.dynamodb" }, "aws.auth#sigv4": { "name": "dynamodb" }, "aws.protocols#awsJson1_0": {}, "smithy.api#documentation": "Amazon DynamoDB\n\n

Amazon DynamoDB Streams provides API actions for accessing streams and processing\n stream records. To learn more about application development with Streams, see Capturing\n Table Activity with DynamoDB Streams in the Amazon DynamoDB Developer\n Guide.

", "smithy.api#title": "Amazon DynamoDB Streams", "smithy.api#xmlNamespace": { "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" } } }, "com.amazonaws.dynamodbstreams#ErrorMessage": { "type": "string" }, "com.amazonaws.dynamodbstreams#ExpiredIteratorException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.dynamodbstreams#ErrorMessage", "traits": { "smithy.api#documentation": "

The provided iterator exceeds the maximum age allowed.

" } } }, "traits": { "smithy.api#documentation": "

The shard iterator has expired and can no longer be used to retrieve stream records. A shard\n iterator expires 15 minutes after it is retrieved using the GetShardIterator\n action.

", "smithy.api#error": "client" } }, "com.amazonaws.dynamodbstreams#GetRecords": { "type": "operation", "input": { "target": "com.amazonaws.dynamodbstreams#GetRecordsInput" }, "output": { "target": "com.amazonaws.dynamodbstreams#GetRecordsOutput" }, "errors": [ { "target": "com.amazonaws.dynamodbstreams#ExpiredIteratorException" }, { "target": "com.amazonaws.dynamodbstreams#InternalServerError" }, { "target": "com.amazonaws.dynamodbstreams#LimitExceededException" }, { "target": "com.amazonaws.dynamodbstreams#ResourceNotFoundException" }, { "target": "com.amazonaws.dynamodbstreams#TrimmedDataAccessException" } ], "traits": { "smithy.api#documentation": "

Retrieves the stream records from a given shard.

\n

Specify a shard iterator using the ShardIterator parameter. The shard iterator\n specifies the position in the shard from which you want to start reading stream records\n sequentially. If there are no stream records available in the portion of the shard that the\n iterator points to, GetRecords returns an empty list. Note that it might take\n multiple calls to get to a portion of the shard that contains stream records.

\n \n

\n GetRecords can retrieve a maximum of 1 MB of data or 1000 stream records,\n whichever comes first.

\n
" } }, "com.amazonaws.dynamodbstreams#GetRecordsInput": { "type": "structure", "members": { "ShardIterator": { "target": "com.amazonaws.dynamodbstreams#ShardIterator", "traits": { "smithy.api#documentation": "

A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

", "smithy.api#required": {} } }, "Limit": { "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject", "traits": { "smithy.api#documentation": "

The maximum number of records to return from the shard. The upper limit is 1000.

" } } }, "traits": { "smithy.api#documentation": "

Represents the input of a GetRecords operation.

" } }, "com.amazonaws.dynamodbstreams#GetRecordsOutput": { "type": "structure", "members": { "Records": { "target": "com.amazonaws.dynamodbstreams#RecordList", "traits": { "smithy.api#documentation": "

The stream records from the shard, which were retrieved using the shard iterator.

" } }, "NextShardIterator": { "target": "com.amazonaws.dynamodbstreams#ShardIterator", "traits": { "smithy.api#documentation": "

The next position in the shard from which to start sequentially reading stream records. If\n set to null, the shard has been closed and the requested iterator will not return\n any more data.

" } } }, "traits": { "smithy.api#documentation": "

Represents the output of a GetRecords operation.

" } }, "com.amazonaws.dynamodbstreams#GetShardIterator": { "type": "operation", "input": { "target": "com.amazonaws.dynamodbstreams#GetShardIteratorInput" }, "output": { "target": "com.amazonaws.dynamodbstreams#GetShardIteratorOutput" }, "errors": [ { "target": "com.amazonaws.dynamodbstreams#InternalServerError" }, { "target": "com.amazonaws.dynamodbstreams#ResourceNotFoundException" }, { "target": "com.amazonaws.dynamodbstreams#TrimmedDataAccessException" } ], "traits": { "smithy.api#documentation": "

Returns a shard iterator. A shard iterator provides information\n about how to retrieve the stream records from within a shard. Use\n the shard iterator in a subsequent \n GetRecords request to read the stream records\n from the shard.

\n \n

A shard iterator expires 15 minutes after it is returned to the requester.

\n
" } }, "com.amazonaws.dynamodbstreams#GetShardIteratorInput": { "type": "structure", "members": { "StreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the stream.

", "smithy.api#required": {} } }, "ShardId": { "target": "com.amazonaws.dynamodbstreams#ShardId", "traits": { "smithy.api#documentation": "

The identifier of the shard. The iterator will be returned for this shard ID.

", "smithy.api#required": {} } }, "ShardIteratorType": { "target": "com.amazonaws.dynamodbstreams#ShardIteratorType", "traits": { "smithy.api#documentation": "

Determines how the shard iterator is used to start reading stream records from the shard:

\n ", "smithy.api#required": {} } }, "SequenceNumber": { "target": "com.amazonaws.dynamodbstreams#SequenceNumber", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Represents the input of a GetShardIterator operation.

" } }, "com.amazonaws.dynamodbstreams#GetShardIteratorOutput": { "type": "structure", "members": { "ShardIterator": { "target": "com.amazonaws.dynamodbstreams#ShardIterator", "traits": { "smithy.api#documentation": "

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.

" } } }, "traits": { "smithy.api#documentation": "

Represents the output of a GetShardIterator operation.

" } }, "com.amazonaws.dynamodbstreams#Identity": { "type": "structure", "members": { "PrincipalId": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

A unique identifier for the entity that made the call. For Time To Live, the\n principalId is \"dynamodb.amazonaws.com\".

" } }, "Type": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

The type of the identity. For Time To Live, the type is \"Service\".

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.dynamodbstreams#InternalServerError": { "type": "structure", "members": { "message": { "target": "com.amazonaws.dynamodbstreams#ErrorMessage", "traits": { "smithy.api#documentation": "

The server encountered an internal error trying to fulfill the request.

" } } }, "traits": { "smithy.api#documentation": "

An error occurred on the server side.

", "smithy.api#error": "server" } }, "com.amazonaws.dynamodbstreams#KeySchema": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#KeySchemaElement" }, "traits": { "smithy.api#length": { "min": 1, "max": 2 } } }, "com.amazonaws.dynamodbstreams#KeySchemaAttributeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.dynamodbstreams#KeySchemaElement": { "type": "structure", "members": { "AttributeName": { "target": "com.amazonaws.dynamodbstreams#KeySchemaAttributeName", "traits": { "smithy.api#documentation": "

The name of a key attribute.

", "smithy.api#required": {} } }, "KeyType": { "target": "com.amazonaws.dynamodbstreams#KeyType", "traits": { "smithy.api#documentation": "

The role that this key attribute will assume:

\n \n \n

The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

\n

The sort key of an item is also known as its range\n attribute. The term \"range attribute\" derives from the way DynamoDB\n stores items with the same partition key physically close together, in sorted order\n by the sort key value.

\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents a single element of a key schema. A key schema specifies\n the attributes that make up the primary key of a table, or the key attributes of an\n index.

\n

A KeySchemaElement represents exactly one attribute of the primary key. For\n example, a simple primary key would be represented by one KeySchemaElement\n (for the partition key). A composite primary key would require one\n KeySchemaElement for the partition key, and another\n KeySchemaElement for the sort key.

\n

A KeySchemaElement must be a scalar, top-level attribute (not a nested\n attribute). The data type must be one of String, Number, or Binary. The attribute cannot\n be nested within a List or a Map.

" } }, "com.amazonaws.dynamodbstreams#KeyType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "HASH", "name": "HASH" }, { "value": "RANGE", "name": "RANGE" } ] } }, "com.amazonaws.dynamodbstreams#LimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.dynamodbstreams#ErrorMessage", "traits": { "smithy.api#documentation": "

Too many operations for a given subscriber.

" } } }, "traits": { "smithy.api#documentation": "

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

\n

Up to 50 simultaneous table operations are allowed per account. These operations\n include CreateTable, UpdateTable,\n DeleteTable,UpdateTimeToLive,\n RestoreTableFromBackup, and\n RestoreTableToPointInTime.

\n

The only exception is when you are creating a table with one or more secondary\n indexes. You can have up to 25 such requests running at a time; however, if the table or\n index specifications are complex, DynamoDB might temporarily reduce the number of\n concurrent operations.

\n

There is a soft account quota of 256 tables.

", "smithy.api#error": "client" } }, "com.amazonaws.dynamodbstreams#ListAttributeValue": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#AttributeValue" } }, "com.amazonaws.dynamodbstreams#ListStreams": { "type": "operation", "input": { "target": "com.amazonaws.dynamodbstreams#ListStreamsInput" }, "output": { "target": "com.amazonaws.dynamodbstreams#ListStreamsOutput" }, "errors": [ { "target": "com.amazonaws.dynamodbstreams#InternalServerError" }, { "target": "com.amazonaws.dynamodbstreams#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns an array of stream ARNs associated with the current account and endpoint. If the\n TableName parameter is present, then ListStreams will return only the\n streams ARNs for that table.

\n \n

You can call ListStreams at a maximum rate of 5 times per second.

\n
" } }, "com.amazonaws.dynamodbstreams#ListStreamsInput": { "type": "structure", "members": { "TableName": { "target": "com.amazonaws.dynamodbstreams#TableName", "traits": { "smithy.api#documentation": "

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

" } }, "Limit": { "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject", "traits": { "smithy.api#documentation": "

The maximum number of streams to return. The upper limit is 100.

" } }, "ExclusiveStartStreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the\n value that was returned for LastEvaluatedStreamArn in the previous operation.\n

" } } }, "traits": { "smithy.api#documentation": "

Represents the input of a ListStreams operation.

" } }, "com.amazonaws.dynamodbstreams#ListStreamsOutput": { "type": "structure", "members": { "Streams": { "target": "com.amazonaws.dynamodbstreams#StreamList", "traits": { "smithy.api#documentation": "

A list of stream descriptors associated with the current account and endpoint.

" } }, "LastEvaluatedStreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

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.

\n

If LastEvaluatedStreamArn is empty, then the \"last page\" of results has been\n processed and there is no more data to be retrieved.

\n

If LastEvaluatedStreamArn is not empty, it does not necessarily mean that there\n is more data in the result set. The only way to know when you have reached the end of the\n result set is when LastEvaluatedStreamArn is empty.

" } } }, "traits": { "smithy.api#documentation": "

Represents the output of a ListStreams operation.

" } }, "com.amazonaws.dynamodbstreams#MapAttributeValue": { "type": "map", "key": { "target": "com.amazonaws.dynamodbstreams#AttributeName" }, "value": { "target": "com.amazonaws.dynamodbstreams#AttributeValue" } }, "com.amazonaws.dynamodbstreams#NullAttributeValue": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.dynamodbstreams#NumberAttributeValue": { "type": "string" }, "com.amazonaws.dynamodbstreams#NumberSetAttributeValue": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#NumberAttributeValue" } }, "com.amazonaws.dynamodbstreams#OperationType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "INSERT", "name": "INSERT" }, { "value": "MODIFY", "name": "MODIFY" }, { "value": "REMOVE", "name": "REMOVE" } ] } }, "com.amazonaws.dynamodbstreams#PositiveIntegerObject": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.dynamodbstreams#PositiveLongObject": { "type": "long", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.dynamodbstreams#Record": { "type": "structure", "members": { "eventID": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

A globally unique identifier for the event that was recorded in this stream record.

" } }, "eventName": { "target": "com.amazonaws.dynamodbstreams#OperationType", "traits": { "smithy.api#documentation": "

The type of data modification that was performed on the DynamoDB table:

\n " } }, "eventVersion": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

The version number of the stream record format. This number is updated whenever the structure of Record is modified.

\n

Client applications must not assume that eventVersion will remain at a particular\n value, as this number is subject to change at any time. In general, eventVersion will\n only increase as the low-level DynamoDB Streams API evolves.

" } }, "eventSource": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb.

" } }, "awsRegion": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

The region in which the GetRecords request was received.

" } }, "dynamodb": { "target": "com.amazonaws.dynamodbstreams#StreamRecord", "traits": { "smithy.api#documentation": "

The main body of the stream record, containing all of the DynamoDB-specific fields.

" } }, "userIdentity": { "target": "com.amazonaws.dynamodbstreams#Identity", "traits": { "smithy.api#documentation": "

Items that are deleted by the Time to Live process after expiration have the following fields:

\n " } } }, "traits": { "smithy.api#documentation": "

A description of a unique event within a stream.

" } }, "com.amazonaws.dynamodbstreams#RecordList": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#Record" } }, "com.amazonaws.dynamodbstreams#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.dynamodbstreams#ErrorMessage", "traits": { "smithy.api#documentation": "

The resource which is being requested does not exist.

" } } }, "traits": { "smithy.api#documentation": "

The operation tried to access a nonexistent table or index. The resource\n might not be specified correctly, or its status might not be\n ACTIVE.

", "smithy.api#error": "client" } }, "com.amazonaws.dynamodbstreams#SequenceNumber": { "type": "string", "traits": { "smithy.api#length": { "min": 21, "max": 40 } } }, "com.amazonaws.dynamodbstreams#SequenceNumberRange": { "type": "structure", "members": { "StartingSequenceNumber": { "target": "com.amazonaws.dynamodbstreams#SequenceNumber", "traits": { "smithy.api#documentation": "

The first sequence number for the stream records contained within a shard. String contains numeric characters only.

" } }, "EndingSequenceNumber": { "target": "com.amazonaws.dynamodbstreams#SequenceNumber", "traits": { "smithy.api#documentation": "

The last sequence number for the stream records contained within a shard. String contains numeric characters only.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.dynamodbstreams#Shard": { "type": "structure", "members": { "ShardId": { "target": "com.amazonaws.dynamodbstreams#ShardId", "traits": { "smithy.api#documentation": "

The system-generated identifier for this shard.

" } }, "SequenceNumberRange": { "target": "com.amazonaws.dynamodbstreams#SequenceNumberRange", "traits": { "smithy.api#documentation": "

The range of possible sequence numbers for the shard.

" } }, "ParentShardId": { "target": "com.amazonaws.dynamodbstreams#ShardId", "traits": { "smithy.api#documentation": "

The shard ID of the current shard's parent.

" } } }, "traits": { "smithy.api#documentation": "

A uniquely identified group of stream records within a stream.

" } }, "com.amazonaws.dynamodbstreams#ShardDescriptionList": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#Shard" } }, "com.amazonaws.dynamodbstreams#ShardId": { "type": "string", "traits": { "smithy.api#length": { "min": 28, "max": 65 } } }, "com.amazonaws.dynamodbstreams#ShardIterator": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.dynamodbstreams#ShardIteratorType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "TRIM_HORIZON", "name": "TRIM_HORIZON" }, { "value": "LATEST", "name": "LATEST" }, { "value": "AT_SEQUENCE_NUMBER", "name": "AT_SEQUENCE_NUMBER" }, { "value": "AFTER_SEQUENCE_NUMBER", "name": "AFTER_SEQUENCE_NUMBER" } ] } }, "com.amazonaws.dynamodbstreams#Stream": { "type": "structure", "members": { "StreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the stream.

" } }, "TableName": { "target": "com.amazonaws.dynamodbstreams#TableName", "traits": { "smithy.api#documentation": "

The DynamoDB table with which the stream is associated.

" } }, "StreamLabel": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

A timestamp, in ISO 8601 format, for this stream.

\n

Note that LatestStreamLabel is not a unique identifier for the stream, because it is\n possible that a stream from another table might have the same timestamp. However, the\n combination of the following three elements is guaranteed to be unique:

\n " } } }, "traits": { "smithy.api#documentation": "

Represents all of the data describing a particular stream.

" } }, "com.amazonaws.dynamodbstreams#StreamArn": { "type": "string", "traits": { "smithy.api#length": { "min": 37, "max": 1024 } } }, "com.amazonaws.dynamodbstreams#StreamDescription": { "type": "structure", "members": { "StreamArn": { "target": "com.amazonaws.dynamodbstreams#StreamArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the stream.

" } }, "StreamLabel": { "target": "com.amazonaws.dynamodbstreams#String", "traits": { "smithy.api#documentation": "

A timestamp, in ISO 8601 format, for this stream.

\n

Note that LatestStreamLabel is not a unique identifier for the stream, because it is\n possible that a stream from another table might have the same timestamp. However, the\n combination of the following three elements is guaranteed to be unique:

\n " } }, "StreamStatus": { "target": "com.amazonaws.dynamodbstreams#StreamStatus", "traits": { "smithy.api#documentation": "

Indicates the current status of the stream:

\n " } }, "StreamViewType": { "target": "com.amazonaws.dynamodbstreams#StreamViewType", "traits": { "smithy.api#documentation": "

Indicates the format of the records within this stream:

\n " } }, "CreationRequestDateTime": { "target": "com.amazonaws.dynamodbstreams#Date", "traits": { "smithy.api#documentation": "

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

" } }, "TableName": { "target": "com.amazonaws.dynamodbstreams#TableName", "traits": { "smithy.api#documentation": "

The DynamoDB table with which the stream is associated.

" } }, "KeySchema": { "target": "com.amazonaws.dynamodbstreams#KeySchema", "traits": { "smithy.api#documentation": "

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

" } }, "Shards": { "target": "com.amazonaws.dynamodbstreams#ShardDescriptionList", "traits": { "smithy.api#documentation": "

The shards that comprise the stream.

" } }, "LastEvaluatedShardId": { "target": "com.amazonaws.dynamodbstreams#ShardId", "traits": { "smithy.api#documentation": "

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.

\n

If LastEvaluatedShardId is empty, then the \"last page\" of results has been\n processed and there is currently no more data to be retrieved.

\n

If LastEvaluatedShardId is not empty, it does not necessarily mean that there is\n more data in the result set. The only way to know when you have reached the end of the result\n set is when LastEvaluatedShardId is empty.

" } } }, "traits": { "smithy.api#documentation": "

Represents all of the data describing a particular stream.

" } }, "com.amazonaws.dynamodbstreams#StreamList": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#Stream" } }, "com.amazonaws.dynamodbstreams#StreamRecord": { "type": "structure", "members": { "ApproximateCreationDateTime": { "target": "com.amazonaws.dynamodbstreams#Date", "traits": { "smithy.api#documentation": "

The approximate date and time when the stream record was created, in UNIX epoch time format.

" } }, "Keys": { "target": "com.amazonaws.dynamodbstreams#AttributeMap", "traits": { "smithy.api#documentation": "

The primary key attribute(s) for the DynamoDB item that was modified.

" } }, "NewImage": { "target": "com.amazonaws.dynamodbstreams#AttributeMap", "traits": { "smithy.api#documentation": "

The item in the DynamoDB table as it appeared after it was modified.

" } }, "OldImage": { "target": "com.amazonaws.dynamodbstreams#AttributeMap", "traits": { "smithy.api#documentation": "

The item in the DynamoDB table as it appeared before it was modified.

" } }, "SequenceNumber": { "target": "com.amazonaws.dynamodbstreams#SequenceNumber", "traits": { "smithy.api#documentation": "

The sequence number of the stream record.

" } }, "SizeBytes": { "target": "com.amazonaws.dynamodbstreams#PositiveLongObject", "traits": { "smithy.api#documentation": "

The size of the stream record, in bytes.

" } }, "StreamViewType": { "target": "com.amazonaws.dynamodbstreams#StreamViewType", "traits": { "smithy.api#documentation": "

The type of data from the modified DynamoDB item that was captured in this stream record:

\n " } } }, "traits": { "smithy.api#documentation": "

A description of a single data modification that was performed on an item in a DynamoDB table.

" } }, "com.amazonaws.dynamodbstreams#StreamStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLING", "name": "ENABLING" }, { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLING", "name": "DISABLING" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.dynamodbstreams#StreamViewType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "NEW_IMAGE", "name": "NEW_IMAGE" }, { "value": "OLD_IMAGE", "name": "OLD_IMAGE" }, { "value": "NEW_AND_OLD_IMAGES", "name": "NEW_AND_OLD_IMAGES" }, { "value": "KEYS_ONLY", "name": "KEYS_ONLY" } ] } }, "com.amazonaws.dynamodbstreams#String": { "type": "string" }, "com.amazonaws.dynamodbstreams#StringAttributeValue": { "type": "string" }, "com.amazonaws.dynamodbstreams#StringSetAttributeValue": { "type": "list", "member": { "target": "com.amazonaws.dynamodbstreams#StringAttributeValue" } }, "com.amazonaws.dynamodbstreams#TableName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 255 }, "smithy.api#pattern": "[a-zA-Z0-9_.-]+" } }, "com.amazonaws.dynamodbstreams#TrimmedDataAccessException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.dynamodbstreams#ErrorMessage", "traits": { "smithy.api#documentation": "

\"The data you are trying to access has been trimmed.

" } } }, "traits": { "smithy.api#documentation": "

The operation attempted to read past the oldest stream record in a shard.

\n

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:

\n ", "smithy.api#error": "client" } } } }