{ "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
An attribute of type Number. For example:
\n\n \"N\": \"123.45\"
\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
An attribute of type String Set. For example:
\n\n \"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]
\n
An attribute of type Number Set. For example:
\n\n \"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]
\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
An attribute of type Map. For example:
\n\n \"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}
\n
An attribute of type List. For example:
\n\n \"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]
\n
An attribute of type Null. For example:
\n\n \"NULL\": true
\n
An attribute of type Boolean. For example:
\n\n \"BOOL\": true
\n
Represents the data for an attribute.
\nEach attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.
\nFor 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.
\nYou can call DescribeStream
at a maximum rate of 10 times per second.
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.
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.
Represents the input of a DescribeStream
operation.
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.
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.
Retrieves the stream records from a given shard.
\nSpecify 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 GetRecords
can retrieve a maximum of 1 MB of data or 1000 stream records,\n whichever comes first.
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.
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.
Represents the output of a GetRecords
operation.
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.
A shard iterator expires 15 minutes after it is returned to the requester.
\nThe 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\n AT_SEQUENCE_NUMBER
- Start reading exactly from the position denoted by a\n specific sequence number.
\n AFTER_SEQUENCE_NUMBER
- Start reading right after the position denoted by a\n specific sequence number.
\n TRIM_HORIZON
- Start reading at the last (untrimmed) stream record, which is\n the oldest record in the shard. In DynamoDB Streams, there is a 24 hour limit on data retention.\n Stream records whose age exceeds this limit are subject to removal (trimming) from the\n stream.
\n LATEST
- Start reading just after the most recent stream record in the\n shard, so that you always read the most recent data in the shard.
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.
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.
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 HASH
- partition key
\n RANGE
- sort key
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.
\nThe 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.
\nRepresents 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.
\nA 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.
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.
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.
\nUp to 50 simultaneous table operations are allowed per account. These operations\n include CreateTable
, UpdateTable
,\n DeleteTable
,UpdateTimeToLive
,\n RestoreTableFromBackup
, and\n RestoreTableToPointInTime
.
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.
\nThere 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.
You can call ListStreams
at a maximum rate of 5 times per second.
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
Represents the input of a ListStreams
operation.
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.
\nIf LastEvaluatedStreamArn
is empty, then the \"last page\" of results has been\n processed and there is no more data to be retrieved.
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.
Represents the output of a ListStreams
operation.
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\n INSERT
- a new item was added to the table.
\n MODIFY
- one or more of an existing item's attributes were modified.
\n REMOVE
- the item was deleted from the table
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\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.
The AWS service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb
.
The region in which the GetRecords
request was received.
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:
\nRecords[].userIdentity.type
\n\"Service\"
\nRecords[].userIdentity.principalId
\n\"dynamodb.amazonaws.com\"
\nA 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
.
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.
\nNote 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:
the AWS customer ID.
\nthe table name
\nthe StreamLabel
\n
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.
\nNote 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:
the AWS customer ID.
\nthe table name
\nthe StreamLabel
\n
Indicates the current status of the stream:
\n\n ENABLING
- Streams is currently being enabled on the DynamoDB table.
\n ENABLED
- the stream is enabled.
\n DISABLING
- Streams is currently being disabled on the DynamoDB table.
\n DISABLED
- the stream is disabled.
Indicates the format of the records within this stream:
\n\n KEYS_ONLY
- only the key attributes of items that were modified in the DynamoDB table.
\n NEW_IMAGE
- entire items from the table, as they appeared after they were modified.
\n OLD_IMAGE
- entire items from the table, as they appeared before they were modified.
\n NEW_AND_OLD_IMAGES
- both the new and the old images of the items from the table.
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.
\nIf LastEvaluatedShardId
is empty, then the \"last page\" of results has been\n processed and there is currently no more data to be retrieved.
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.
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\n KEYS_ONLY
- only the key attributes of the modified item.
\n NEW_IMAGE
- the entire item, as it appeared after it was modified.
\n OLD_IMAGE
- the entire item, as it appeared before it was modified.
\n NEW_AND_OLD_IMAGES
- both the new and the old item images of the item.
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.
\nIn 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:
\nYou request a shard iterator with a sequence number older than the trim point (24 hours).
\nYou obtain a shard iterator, but before you use the iterator in a GetRecords
\n request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes\n the iterator to access a record that no longer exists.