123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2012-08-10",
- "endpointPrefix":"streams.dynamodb",
- "jsonVersion":"1.0",
- "serviceFullName":"Amazon DynamoDB Streams",
- "signatureVersion":"v4",
- "signingName":"dynamodb",
- "targetPrefix":"DynamoDBStreams_20120810",
- "protocol":"json"
- },
- "operations":{
- "DescribeStream":{
- "name":"DescribeStream",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeStreamInput"},
- "output":{"shape":"DescribeStreamOutput"},
- "errors":[
- {
- "shape":"ResourceNotFoundException",
- "exception":true
- },
- {
- "shape":"InternalServerError",
- "exception":true,
- "fault":true
- }
- ]
- },
- "GetRecords":{
- "name":"GetRecords",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetRecordsInput"},
- "output":{"shape":"GetRecordsOutput"},
- "errors":[
- {
- "shape":"ResourceNotFoundException",
- "exception":true
- },
- {
- "shape":"LimitExceededException",
- "exception":true
- },
- {
- "shape":"InternalServerError",
- "exception":true,
- "fault":true
- },
- {
- "shape":"ExpiredIteratorException",
- "exception":true
- },
- {
- "shape":"TrimmedDataAccessException",
- "exception":true
- }
- ]
- },
- "GetShardIterator":{
- "name":"GetShardIterator",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetShardIteratorInput"},
- "output":{"shape":"GetShardIteratorOutput"},
- "errors":[
- {
- "shape":"ResourceNotFoundException",
- "exception":true
- },
- {
- "shape":"InternalServerError",
- "exception":true,
- "fault":true
- },
- {
- "shape":"TrimmedDataAccessException",
- "exception":true
- }
- ]
- },
- "ListStreams":{
- "name":"ListStreams",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListStreamsInput"},
- "output":{"shape":"ListStreamsOutput"},
- "errors":[
- {
- "shape":"ResourceNotFoundException",
- "exception":true
- },
- {
- "shape":"InternalServerError",
- "exception":true,
- "fault":true
- }
- ]
- }
- },
- "shapes":{
- "AttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "AttributeName":{
- "type":"string",
- "max":65535
- },
- "AttributeValue":{
- "type":"structure",
- "members":{
- "S":{"shape":"StringAttributeValue"},
- "N":{"shape":"NumberAttributeValue"},
- "B":{"shape":"BinaryAttributeValue"},
- "SS":{"shape":"StringSetAttributeValue"},
- "NS":{"shape":"NumberSetAttributeValue"},
- "BS":{"shape":"BinarySetAttributeValue"},
- "M":{"shape":"MapAttributeValue"},
- "L":{"shape":"ListAttributeValue"},
- "NULL":{"shape":"NullAttributeValue"},
- "BOOL":{"shape":"BooleanAttributeValue"}
- }
- },
- "BinaryAttributeValue":{"type":"blob"},
- "BinarySetAttributeValue":{
- "type":"list",
- "member":{"shape":"BinaryAttributeValue"}
- },
- "BooleanAttributeValue":{"type":"boolean"},
- "Date":{"type":"timestamp"},
- "DescribeStreamInput":{
- "type":"structure",
- "required":["StreamArn"],
- "members":{
- "StreamArn":{"shape":"StreamArn"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "ExclusiveStartShardId":{"shape":"ShardId"}
- }
- },
- "DescribeStreamOutput":{
- "type":"structure",
- "members":{
- "StreamDescription":{"shape":"StreamDescription"}
- }
- },
- "ErrorMessage":{"type":"string"},
- "ExpiredIteratorException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "GetRecordsInput":{
- "type":"structure",
- "required":["ShardIterator"],
- "members":{
- "ShardIterator":{"shape":"ShardIterator"},
- "Limit":{"shape":"PositiveIntegerObject"}
- }
- },
- "GetRecordsOutput":{
- "type":"structure",
- "members":{
- "Records":{"shape":"RecordList"},
- "NextShardIterator":{"shape":"ShardIterator"}
- }
- },
- "GetShardIteratorInput":{
- "type":"structure",
- "required":[
- "StreamArn",
- "ShardId",
- "ShardIteratorType"
- ],
- "members":{
- "StreamArn":{"shape":"StreamArn"},
- "ShardId":{"shape":"ShardId"},
- "ShardIteratorType":{"shape":"ShardIteratorType"},
- "SequenceNumber":{"shape":"SequenceNumber"}
- }
- },
- "GetShardIteratorOutput":{
- "type":"structure",
- "members":{
- "ShardIterator":{"shape":"ShardIterator"}
- }
- },
- "InternalServerError":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true,
- "fault":true
- },
- "KeySchema":{
- "type":"list",
- "member":{"shape":"KeySchemaElement"},
- "min":1,
- "max":2
- },
- "KeySchemaAttributeName":{
- "type":"string",
- "min":1,
- "max":255
- },
- "KeySchemaElement":{
- "type":"structure",
- "required":[
- "AttributeName",
- "KeyType"
- ],
- "members":{
- "AttributeName":{"shape":"KeySchemaAttributeName"},
- "KeyType":{"shape":"KeyType"}
- }
- },
- "KeyType":{
- "type":"string",
- "enum":[
- "HASH",
- "RANGE"
- ]
- },
- "LimitExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ListAttributeValue":{
- "type":"list",
- "member":{"shape":"AttributeValue"}
- },
- "ListStreamsInput":{
- "type":"structure",
- "members":{
- "TableName":{"shape":"TableName"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "ExclusiveStartStreamArn":{"shape":"StreamArn"}
- }
- },
- "ListStreamsOutput":{
- "type":"structure",
- "members":{
- "Streams":{"shape":"StreamList"},
- "LastEvaluatedStreamArn":{"shape":"StreamArn"}
- }
- },
- "MapAttributeValue":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "NullAttributeValue":{"type":"boolean"},
- "NumberAttributeValue":{"type":"string"},
- "NumberSetAttributeValue":{
- "type":"list",
- "member":{"shape":"NumberAttributeValue"}
- },
- "OperationType":{
- "type":"string",
- "enum":[
- "INSERT",
- "MODIFY",
- "REMOVE"
- ]
- },
- "PositiveIntegerObject":{
- "type":"integer",
- "min":1
- },
- "PositiveLongObject":{
- "type":"long",
- "min":1
- },
- "Record":{
- "type":"structure",
- "members":{
- "eventID":{"shape":"String"},
- "eventName":{"shape":"OperationType"},
- "eventVersion":{"shape":"String"},
- "eventSource":{"shape":"String"},
- "awsRegion":{"shape":"String"},
- "dynamodb":{"shape":"StreamRecord"}
- }
- },
- "RecordList":{
- "type":"list",
- "member":{"shape":"Record"}
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "SequenceNumber":{
- "type":"string",
- "min":21,
- "max":40
- },
- "SequenceNumberRange":{
- "type":"structure",
- "members":{
- "StartingSequenceNumber":{"shape":"SequenceNumber"},
- "EndingSequenceNumber":{"shape":"SequenceNumber"}
- }
- },
- "Shard":{
- "type":"structure",
- "members":{
- "ShardId":{"shape":"ShardId"},
- "SequenceNumberRange":{"shape":"SequenceNumberRange"},
- "ParentShardId":{"shape":"ShardId"}
- }
- },
- "ShardDescriptionList":{
- "type":"list",
- "member":{"shape":"Shard"}
- },
- "ShardId":{
- "type":"string",
- "min":28,
- "max":65
- },
- "ShardIterator":{
- "type":"string",
- "min":1,
- "max":2048
- },
- "ShardIteratorType":{
- "type":"string",
- "enum":[
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER"
- ]
- },
- "Stream":{
- "type":"structure",
- "members":{
- "StreamArn":{"shape":"StreamArn"},
- "TableName":{"shape":"TableName"},
- "StreamLabel":{"shape":"String"}
- }
- },
- "StreamArn":{
- "type":"string",
- "min":37,
- "max":1024
- },
- "StreamDescription":{
- "type":"structure",
- "members":{
- "StreamArn":{"shape":"StreamArn"},
- "StreamLabel":{"shape":"String"},
- "StreamStatus":{"shape":"StreamStatus"},
- "StreamViewType":{"shape":"StreamViewType"},
- "CreationRequestDateTime":{"shape":"Date"},
- "TableName":{"shape":"TableName"},
- "KeySchema":{"shape":"KeySchema"},
- "Shards":{"shape":"ShardDescriptionList"},
- "LastEvaluatedShardId":{"shape":"ShardId"}
- }
- },
- "StreamList":{
- "type":"list",
- "member":{"shape":"Stream"}
- },
- "StreamRecord":{
- "type":"structure",
- "members":{
- "Keys":{"shape":"AttributeMap"},
- "NewImage":{"shape":"AttributeMap"},
- "OldImage":{"shape":"AttributeMap"},
- "SequenceNumber":{"shape":"SequenceNumber"},
- "SizeBytes":{"shape":"PositiveLongObject"},
- "StreamViewType":{"shape":"StreamViewType"}
- }
- },
- "StreamStatus":{
- "type":"string",
- "enum":[
- "ENABLING",
- "ENABLED",
- "DISABLING",
- "DISABLED"
- ]
- },
- "StreamViewType":{
- "type":"string",
- "enum":[
- "NEW_IMAGE",
- "OLD_IMAGE",
- "NEW_AND_OLD_IMAGES",
- "KEYS_ONLY"
- ]
- },
- "String":{"type":"string"},
- "StringAttributeValue":{"type":"string"},
- "StringSetAttributeValue":{
- "type":"list",
- "member":{"shape":"StringAttributeValue"}
- },
- "TableName":{
- "type":"string",
- "min":3,
- "max":255,
- "pattern":"[a-zA-Z0-9_.-]+"
- },
- "TrimmedDataAccessException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- }
- }
- }
|