{
    "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": "<p>An attribute of type  String. For example:</p>\n         <p>\n            <code>\"S\": \"Hello\"</code>\n         </p>"
                    }
                },
                "N": {
                    "target": "com.amazonaws.dynamodbstreams#NumberAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Number. For example:</p>\n         <p>\n            <code>\"N\": \"123.45\"</code>\n         </p>\n         <p>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.</p>"
                    }
                },
                "B": {
                    "target": "com.amazonaws.dynamodbstreams#BinaryAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Binary.  For example:</p>\n         <p>\n            <code>\"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\"</code>\n         </p>"
                    }
                },
                "SS": {
                    "target": "com.amazonaws.dynamodbstreams#StringSetAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type String Set.  For example:</p>\n         <p>\n            <code>\"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]</code>\n         </p>"
                    }
                },
                "NS": {
                    "target": "com.amazonaws.dynamodbstreams#NumberSetAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Number Set.  For example:</p>\n         <p>\n            <code>\"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]</code>\n         </p>\n         <p>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.</p>"
                    }
                },
                "BS": {
                    "target": "com.amazonaws.dynamodbstreams#BinarySetAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Binary Set.  For example:</p>\n         <p>\n            <code>\"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]</code>\n         </p>"
                    }
                },
                "M": {
                    "target": "com.amazonaws.dynamodbstreams#MapAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Map.  For example:</p>\n         <p>\n            <code>\"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}</code>\n         </p>"
                    }
                },
                "L": {
                    "target": "com.amazonaws.dynamodbstreams#ListAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type List.  For example:</p>\n         <p>\n            <code>\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]</code>\n         </p>"
                    }
                },
                "NULL": {
                    "target": "com.amazonaws.dynamodbstreams#NullAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Null.  For example:</p>\n         <p>\n            <code>\"NULL\": true</code>\n         </p>"
                    }
                },
                "BOOL": {
                    "target": "com.amazonaws.dynamodbstreams#BooleanAttributeValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An attribute of type Boolean.  For example:</p>\n         <p>\n            <code>\"BOOL\": true</code>\n         </p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the data for an attribute.</p>\n         <p>Each attribute value is described as a name-value pair.  The name is the data type, and the value is the data itself.</p>\n         <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the\n                             <i>Amazon DynamoDB Developer Guide</i>.</p>"
            }
        },
        "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": "<p>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.</p>\n         <note>\n            <p>You can call <code>DescribeStream</code> at a maximum rate of 10 times per second.</p>\n         </note>\n         <p>Each shard in the stream has a <code>SequenceNumberRange</code> associated with it. If the\n        <code>SequenceNumberRange</code> has a <code>StartingSequenceNumber</code> but no\n        <code>EndingSequenceNumber</code>, then the shard is still open (able to receive more stream\n      records). If both <code>StartingSequenceNumber</code> and <code>EndingSequenceNumber</code>\n      are present, then that shard is closed and can no longer receive more data.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#DescribeStreamInput": {
            "type": "structure",
            "members": {
                "StreamArn": {
                    "target": "com.amazonaws.dynamodbstreams#StreamArn",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the stream.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of shard objects to return. The upper limit is 100.</p>"
                    }
                },
                "ExclusiveStartShardId": {
                    "target": "com.amazonaws.dynamodbstreams#ShardId",
                    "traits": {
                        "smithy.api#documentation": "<p>The shard ID of the first item that this operation will evaluate. Use the value that was\n      returned for <code>LastEvaluatedShardId</code> in the previous operation. </p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the input of a <code>DescribeStream</code> operation.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#DescribeStreamOutput": {
            "type": "structure",
            "members": {
                "StreamDescription": {
                    "target": "com.amazonaws.dynamodbstreams#StreamDescription",
                    "traits": {
                        "smithy.api#documentation": "<p>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.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
            }
        },
        "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": "<fullname>Amazon DynamoDB</fullname>\n\n         <p>Amazon DynamoDB Streams provides API actions for accessing streams and processing\n         stream records. To learn more about application development with Streams, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html\">Capturing\n            Table Activity with DynamoDB Streams</a> in the Amazon DynamoDB Developer\n         Guide.</p>",
                "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": "<p>The provided iterator exceeds the maximum age allowed.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>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 <code>GetShardIterator</code>\n      action.</p>",
                "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": "<p>Retrieves the stream records from a given shard.</p>\n         <p>Specify a shard iterator using the <code>ShardIterator</code> 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, <code>GetRecords</code> returns an empty list. Note that it might take\n      multiple calls to get to a portion of the shard that contains stream records.</p>\n         <note>\n            <p>\n               <code>GetRecords</code> can retrieve a maximum of 1 MB of data or 1000 stream records,\n        whichever comes first.</p>\n         </note>"
            }
        },
        "com.amazonaws.dynamodbstreams#GetRecordsInput": {
            "type": "structure",
            "members": {
                "ShardIterator": {
                    "target": "com.amazonaws.dynamodbstreams#ShardIterator",
                    "traits": {
                        "smithy.api#documentation": "<p>A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of records to return from the shard. The upper limit is 1000.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the input of a <code>GetRecords</code> operation.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#GetRecordsOutput": {
            "type": "structure",
            "members": {
                "Records": {
                    "target": "com.amazonaws.dynamodbstreams#RecordList",
                    "traits": {
                        "smithy.api#documentation": "<p>The stream records from the shard, which were retrieved using the shard iterator.</p>"
                    }
                },
                "NextShardIterator": {
                    "target": "com.amazonaws.dynamodbstreams#ShardIterator",
                    "traits": {
                        "smithy.api#documentation": "<p>The next position in the shard from which to start sequentially reading stream records. If\n      set to <code>null</code>, the shard has been closed and the requested iterator will not return\n      any more data.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the output of a <code>GetRecords</code> operation.</p>"
            }
        },
        "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": "<p>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      <code>GetRecords</code> request to read the stream records\n      from the shard.</p>\n         <note>\n            <p>A shard iterator expires 15 minutes after it is returned to the requester.</p>\n         </note>"
            }
        },
        "com.amazonaws.dynamodbstreams#GetShardIteratorInput": {
            "type": "structure",
            "members": {
                "StreamArn": {
                    "target": "com.amazonaws.dynamodbstreams#StreamArn",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the stream.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ShardId": {
                    "target": "com.amazonaws.dynamodbstreams#ShardId",
                    "traits": {
                        "smithy.api#documentation": "<p>The identifier of the shard. The iterator will be returned for this shard ID.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ShardIteratorType": {
                    "target": "com.amazonaws.dynamodbstreams#ShardIteratorType",
                    "traits": {
                        "smithy.api#documentation": "<p>Determines how the shard iterator is used to start reading stream records from the shard:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>AT_SEQUENCE_NUMBER</code> - Start reading exactly from the position denoted by a\n          specific sequence number.</p>\n            </li>\n            <li>\n               <p>\n                  <code>AFTER_SEQUENCE_NUMBER</code> - Start reading right after the position denoted by a\n          specific sequence number.</p>\n            </li>\n            <li>\n               <p>\n                  <code>TRIM_HORIZON</code> - 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.</p>\n            </li>\n            <li>\n               <p>\n                  <code>LATEST</code> - 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.</p>\n            </li>\n         </ul>",
                        "smithy.api#required": {}
                    }
                },
                "SequenceNumber": {
                    "target": "com.amazonaws.dynamodbstreams#SequenceNumber",
                    "traits": {
                        "smithy.api#documentation": "<p>The sequence number of a stream record in the shard from which to start reading.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the input of a <code>GetShardIterator</code> operation.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#GetShardIteratorOutput": {
            "type": "structure",
            "members": {
                "ShardIterator": {
                    "target": "com.amazonaws.dynamodbstreams#ShardIterator",
                    "traits": {
                        "smithy.api#documentation": "<p>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.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the output of a <code>GetShardIterator</code> operation.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#Identity": {
            "type": "structure",
            "members": {
                "PrincipalId": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>A unique identifier for the entity that made the call. For Time To Live, the\n      principalId is \"dynamodb.amazonaws.com\".</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of the identity. For Time To Live, the type is \"Service\".</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Contains details about the type of identity that made the request.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#InternalServerError": {
            "type": "structure",
            "members": {
                "message": {
                    "target": "com.amazonaws.dynamodbstreams#ErrorMessage",
                    "traits": {
                        "smithy.api#documentation": "<p>The server encountered an internal error trying to fulfill the request.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>An error occurred on the server side.</p>",
                "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": "<p>The name of a key attribute.</p>",
                        "smithy.api#required": {}
                    }
                },
                "KeyType": {
                    "target": "com.amazonaws.dynamodbstreams#KeyType",
                    "traits": {
                        "smithy.api#documentation": "<p>The role that this key attribute will assume:</p>\n         <ul>\n            <li>\n              <p>\n                  <code>HASH</code> - partition key</p>\n            </li>\n            <li>\n              <p>\n                  <code>RANGE</code> - sort key</p>\n            </li>\n         </ul>\n         <note>\n            <p>The partition key of an item is also known as its <i>hash\n                    attribute</i>. 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.</p>\n            <p>The sort key of an item is also known as its <i>range\n                attribute</i>. 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.</p>\n         </note>",
                        "smithy.api#required": {}
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents <i>a single element</i> 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.</p>\n         <p>A <code>KeySchemaElement</code> represents exactly one attribute of the primary key. For\n            example, a simple primary key would be represented by one <code>KeySchemaElement</code>\n            (for the partition key). A composite primary key would require one\n                <code>KeySchemaElement</code> for the partition key, and another\n                <code>KeySchemaElement</code> for the sort key.</p>\n         <p>A <code>KeySchemaElement</code> 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.</p>"
            }
        },
        "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": "<p>Too many operations for a given subscriber.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>There is no limit to the number of daily on-demand backups that can be\n            taken.</p>\n         <p>Up to 50 simultaneous table operations are allowed per account. These operations\n            include <code>CreateTable</code>, <code>UpdateTable</code>,\n                <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,\n                <code>RestoreTableFromBackup</code>, and\n            <code>RestoreTableToPointInTime</code>.</p>\n         <p>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.</p>\n         <p>There is a soft account quota of 256 tables.</p>",
                "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": "<p>Returns an array of stream ARNs associated with the current account and endpoint. If the\n        <code>TableName</code> parameter is present, then <code>ListStreams</code> will return only the\n      streams ARNs for that table.</p>\n         <note>\n            <p>You can call <code>ListStreams</code> at a maximum rate of 5 times per second.</p>\n         </note>"
            }
        },
        "com.amazonaws.dynamodbstreams#ListStreamsInput": {
            "type": "structure",
            "members": {
                "TableName": {
                    "target": "com.amazonaws.dynamodbstreams#TableName",
                    "traits": {
                        "smithy.api#documentation": "<p>If this parameter is provided, then only the streams associated with this table name are returned.</p>"
                    }
                },
                "Limit": {
                    "target": "com.amazonaws.dynamodbstreams#PositiveIntegerObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of streams to return. The upper limit is 100.</p>"
                    }
                },
                "ExclusiveStartStreamArn": {
                    "target": "com.amazonaws.dynamodbstreams#StreamArn",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the\n      value that was returned for <code>LastEvaluatedStreamArn</code> in the previous operation.\n    </p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the input of a <code>ListStreams</code> operation.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#ListStreamsOutput": {
            "type": "structure",
            "members": {
                "Streams": {
                    "target": "com.amazonaws.dynamodbstreams#StreamList",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of stream descriptors associated with the current account and endpoint.</p>"
                    }
                },
                "LastEvaluatedStreamArn": {
                    "target": "com.amazonaws.dynamodbstreams#StreamArn",
                    "traits": {
                        "smithy.api#documentation": "<p>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.</p>\n         <p>If <code>LastEvaluatedStreamArn</code> is empty, then the \"last page\" of results has been\n      processed and there is no more data to be retrieved.</p>\n         <p>If <code>LastEvaluatedStreamArn</code> 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 <code>LastEvaluatedStreamArn</code> is empty.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents the output of a <code>ListStreams</code> operation.</p>"
            }
        },
        "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": "<p>A globally unique identifier for the event that was recorded in this stream record.</p>"
                    }
                },
                "eventName": {
                    "target": "com.amazonaws.dynamodbstreams#OperationType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of data modification that was performed on the DynamoDB table:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>INSERT</code> - a new item was added to the table.</p>\n            </li>\n            <li>\n               <p>\n                  <code>MODIFY</code> - one or more of an existing item's attributes were modified.</p>\n            </li>\n            <li>\n               <p>\n                  <code>REMOVE</code> - the item was deleted from the table</p>\n            </li>\n         </ul>"
                    }
                },
                "eventVersion": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The version number of the stream record format.  This number is updated whenever the structure of <code>Record</code> is modified.</p>\n         <p>Client applications must not assume that <code>eventVersion</code> will remain at a particular\n      value, as this number is subject to change at any time. In general, <code>eventVersion</code> will\n      only increase as the low-level DynamoDB Streams API evolves.</p>"
                    }
                },
                "eventSource": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The AWS service from which the stream record originated.  For DynamoDB Streams, this is <code>aws:dynamodb</code>.</p>"
                    }
                },
                "awsRegion": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The region in which the <code>GetRecords</code> request was received.</p>"
                    }
                },
                "dynamodb": {
                    "target": "com.amazonaws.dynamodbstreams#StreamRecord",
                    "traits": {
                        "smithy.api#documentation": "<p>The main body of the stream record, containing all of the DynamoDB-specific fields.</p>"
                    }
                },
                "userIdentity": {
                    "target": "com.amazonaws.dynamodbstreams#Identity",
                    "traits": {
                        "smithy.api#documentation": "<p>Items that are deleted by the Time to Live process after expiration have the following fields: </p>\n         <ul>\n            <li>\n               <p>Records[].userIdentity.type</p>\n               <p>\"Service\"</p>\n            </li>\n            <li>\n               <p>Records[].userIdentity.principalId</p>\n               <p>\"dynamodb.amazonaws.com\"</p>\n            </li>\n         </ul>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A description of a unique event within a stream.</p>"
            }
        },
        "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": "<p>The resource which is being requested does not exist.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>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            <code>ACTIVE</code>.</p>",
                "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": "<p>The first sequence number for the stream records contained within a shard. String contains numeric characters only.</p>"
                    }
                },
                "EndingSequenceNumber": {
                    "target": "com.amazonaws.dynamodbstreams#SequenceNumber",
                    "traits": {
                        "smithy.api#documentation": "<p>The last sequence number for the stream records contained within a shard. String contains numeric characters only.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The beginning and ending sequence numbers for the stream records contained within a shard.</p>"
            }
        },
        "com.amazonaws.dynamodbstreams#Shard": {
            "type": "structure",
            "members": {
                "ShardId": {
                    "target": "com.amazonaws.dynamodbstreams#ShardId",
                    "traits": {
                        "smithy.api#documentation": "<p>The system-generated identifier for this shard.</p>"
                    }
                },
                "SequenceNumberRange": {
                    "target": "com.amazonaws.dynamodbstreams#SequenceNumberRange",
                    "traits": {
                        "smithy.api#documentation": "<p>The range of possible sequence numbers for the shard.</p>"
                    }
                },
                "ParentShardId": {
                    "target": "com.amazonaws.dynamodbstreams#ShardId",
                    "traits": {
                        "smithy.api#documentation": "<p>The shard ID of the current shard's parent.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A uniquely identified group of stream records within a stream.</p>"
            }
        },
        "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": "<p>The Amazon Resource Name (ARN) for the stream.</p>"
                    }
                },
                "TableName": {
                    "target": "com.amazonaws.dynamodbstreams#TableName",
                    "traits": {
                        "smithy.api#documentation": "<p>The DynamoDB table with which the stream is associated.</p>"
                    }
                },
                "StreamLabel": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>A timestamp, in ISO 8601 format, for this stream.</p>\n         <p>Note that <code>LatestStreamLabel</code> 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:</p>\n         <ul>\n            <li>\n               <p>the AWS customer ID.</p>\n            </li>\n            <li>\n               <p>the table name</p>\n            </li>\n            <li>\n               <p>the <code>StreamLabel</code>\n               </p>\n            </li>\n         </ul>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents all of the data describing a particular stream.</p>"
            }
        },
        "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": "<p>The Amazon Resource Name (ARN) for the stream.</p>"
                    }
                },
                "StreamLabel": {
                    "target": "com.amazonaws.dynamodbstreams#String",
                    "traits": {
                        "smithy.api#documentation": "<p>A timestamp, in ISO 8601 format, for this stream.</p>\n         <p>Note that <code>LatestStreamLabel</code> 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:</p>\n         <ul>\n            <li>\n               <p>the AWS customer ID.</p>\n            </li>\n            <li>\n               <p>the table name</p>\n            </li>\n            <li>\n               <p>the <code>StreamLabel</code>\n               </p>\n            </li>\n         </ul>"
                    }
                },
                "StreamStatus": {
                    "target": "com.amazonaws.dynamodbstreams#StreamStatus",
                    "traits": {
                        "smithy.api#documentation": "<p>Indicates the current status of the stream:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>ENABLING</code> - Streams is currently being enabled on the DynamoDB table.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ENABLED</code> - the stream is enabled.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DISABLING</code> - Streams is currently being disabled on the DynamoDB table.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DISABLED</code> - the stream is disabled.</p>\n            </li>\n         </ul>"
                    }
                },
                "StreamViewType": {
                    "target": "com.amazonaws.dynamodbstreams#StreamViewType",
                    "traits": {
                        "smithy.api#documentation": "<p>Indicates the format of the records within this stream:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>KEYS_ONLY</code> - only the key attributes of items that were modified in the DynamoDB table.</p>\n            </li>\n            <li>\n               <p>\n                  <code>NEW_IMAGE</code> - entire items from the table, as they appeared after they were modified.</p>\n            </li>\n            <li>\n               <p>\n                  <code>OLD_IMAGE</code> - entire items from the table, as they appeared before they were modified.</p>\n            </li>\n            <li>\n               <p>\n                  <code>NEW_AND_OLD_IMAGES</code> - both the new and the old images of the items from the table.</p>\n            </li>\n         </ul>"
                    }
                },
                "CreationRequestDateTime": {
                    "target": "com.amazonaws.dynamodbstreams#Date",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time when the request to create this stream was issued.</p>"
                    }
                },
                "TableName": {
                    "target": "com.amazonaws.dynamodbstreams#TableName",
                    "traits": {
                        "smithy.api#documentation": "<p>The DynamoDB table with which the stream is associated.</p>"
                    }
                },
                "KeySchema": {
                    "target": "com.amazonaws.dynamodbstreams#KeySchema",
                    "traits": {
                        "smithy.api#documentation": "<p>The key attribute(s) of the stream's DynamoDB table.</p>"
                    }
                },
                "Shards": {
                    "target": "com.amazonaws.dynamodbstreams#ShardDescriptionList",
                    "traits": {
                        "smithy.api#documentation": "<p>The shards that comprise the stream.</p>"
                    }
                },
                "LastEvaluatedShardId": {
                    "target": "com.amazonaws.dynamodbstreams#ShardId",
                    "traits": {
                        "smithy.api#documentation": "<p>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.</p>\n         <p>If <code>LastEvaluatedShardId</code> is empty, then the \"last page\" of results has been\n      processed and there is currently no more data to be retrieved.</p>\n         <p>If <code>LastEvaluatedShardId</code> 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 <code>LastEvaluatedShardId</code> is empty.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Represents all of the data describing a particular stream.</p>"
            }
        },
        "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": "<p>The approximate date and time when the stream record was created, in <a href=\"http://www.epochconverter.com/\">UNIX epoch time</a> format.</p>"
                    }
                },
                "Keys": {
                    "target": "com.amazonaws.dynamodbstreams#AttributeMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The primary key attribute(s) for the DynamoDB item that was modified.</p>"
                    }
                },
                "NewImage": {
                    "target": "com.amazonaws.dynamodbstreams#AttributeMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The item in the DynamoDB table as it appeared after it was modified.</p>"
                    }
                },
                "OldImage": {
                    "target": "com.amazonaws.dynamodbstreams#AttributeMap",
                    "traits": {
                        "smithy.api#documentation": "<p>The item in the DynamoDB table as it appeared before it was modified.</p>"
                    }
                },
                "SequenceNumber": {
                    "target": "com.amazonaws.dynamodbstreams#SequenceNumber",
                    "traits": {
                        "smithy.api#documentation": "<p>The sequence number of the stream record.</p>"
                    }
                },
                "SizeBytes": {
                    "target": "com.amazonaws.dynamodbstreams#PositiveLongObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The size of the stream record, in bytes.</p>"
                    }
                },
                "StreamViewType": {
                    "target": "com.amazonaws.dynamodbstreams#StreamViewType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of data from the modified DynamoDB item that was captured in this stream record:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>KEYS_ONLY</code> - only the key attributes of the modified item.</p>\n            </li>\n            <li>\n               <p>\n                  <code>NEW_IMAGE</code> - the entire item, as it appeared after it was modified.</p>\n            </li>\n            <li>\n               <p>\n                  <code>OLD_IMAGE</code> - the entire item, as it appeared before it was modified.</p>\n            </li>\n            <li>\n               <p>\n                  <code>NEW_AND_OLD_IMAGES</code> - both the new and the old item images of the item.</p>\n            </li>\n         </ul>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A description of a single data modification that was performed on an item in a DynamoDB table.</p>"
            }
        },
        "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": "<p>\"The data you are trying to access has been trimmed.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The operation attempted to read past the oldest stream record in a shard.</p>\n         <p>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:</p>\n         <ul>\n            <li>\n               <p>You request a shard iterator with a sequence number older than the trim point (24 hours).</p>\n            </li>\n            <li>\n               <p>You obtain a shard iterator, but before you use the iterator in a <code>GetRecords</code>\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.</p>\n            </li>\n         </ul>",
                "smithy.api#error": "client"
            }
        }
    }
}
