| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2011-12-05",
- "endpointPrefix":"dynamodb",
- "jsonVersion":"1.0",
- "protocol":"json",
- "serviceAbbreviation":"DynamoDB",
- "serviceFullName":"Amazon DynamoDB",
- "signatureVersion":"v4",
- "targetPrefix":"DynamoDB_20111205"
- },
- "operations":{
- "BatchGetItem":{
- "name":"BatchGetItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"BatchGetItemInput"},
- "output":{"shape":"BatchGetItemOutput"},
- "errors":[
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServerError"}
- ]
- },
- "BatchWriteItem":{
- "name":"BatchWriteItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"BatchWriteItemInput"},
- "output":{"shape":"BatchWriteItemOutput"},
- "errors":[
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "CreateTable":{
- "name":"CreateTable",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateTableInput"},
- "output":{"shape":"CreateTableOutput"},
- "errors":[
- {"shape":"ResourceInUseException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "DeleteItem":{
- "name":"DeleteItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteItemInput"},
- "output":{"shape":"DeleteItemOutput"},
- "errors":[
- {"shape":"ConditionalCheckFailedException"},
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "DeleteTable":{
- "name":"DeleteTable",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteTableInput"},
- "output":{"shape":"DeleteTableOutput"},
- "errors":[
- {"shape":"ResourceInUseException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "DescribeTable":{
- "name":"DescribeTable",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeTableInput"},
- "output":{"shape":"DescribeTableOutput"},
- "errors":[
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServerError"}
- ]
- },
- "GetItem":{
- "name":"GetItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetItemInput"},
- "output":{"shape":"GetItemOutput"},
- "errors":[
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServerError"}
- ]
- },
- "ListTables":{
- "name":"ListTables",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListTablesInput"},
- "output":{"shape":"ListTablesOutput"},
- "errors":[
- {"shape":"InternalServerError"}
- ]
- },
- "PutItem":{
- "name":"PutItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"PutItemInput"},
- "output":{"shape":"PutItemOutput"},
- "errors":[
- {"shape":"ConditionalCheckFailedException"},
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "Query":{
- "name":"Query",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"QueryInput"},
- "output":{"shape":"QueryOutput"},
- "errors":[
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServerError"}
- ]
- },
- "Scan":{
- "name":"Scan",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ScanInput"},
- "output":{"shape":"ScanOutput"},
- "errors":[
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"InternalServerError"}
- ]
- },
- "UpdateItem":{
- "name":"UpdateItem",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdateItemInput"},
- "output":{"shape":"UpdateItemOutput"},
- "errors":[
- {"shape":"ConditionalCheckFailedException"},
- {"shape":"ProvisionedThroughputExceededException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "UpdateTable":{
- "name":"UpdateTable",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdateTableInput"},
- "output":{"shape":"UpdateTableOutput"},
- "errors":[
- {"shape":"ResourceInUseException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- }
- },
- "shapes":{
- "AttributeAction":{
- "type":"string",
- "enum":[
- "ADD",
- "PUT",
- "DELETE"
- ]
- },
- "AttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "AttributeName":{
- "type":"string",
- "max":65535
- },
- "AttributeNameList":{
- "type":"list",
- "member":{"shape":"AttributeName"},
- "min":1
- },
- "AttributeUpdates":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValueUpdate"}
- },
- "AttributeValue":{
- "type":"structure",
- "members":{
- "S":{"shape":"StringAttributeValue"},
- "N":{"shape":"NumberAttributeValue"},
- "B":{"shape":"BinaryAttributeValue"},
- "SS":{"shape":"StringSetAttributeValue"},
- "NS":{"shape":"NumberSetAttributeValue"},
- "BS":{"shape":"BinarySetAttributeValue"}
- }
- },
- "AttributeValueList":{
- "type":"list",
- "member":{"shape":"AttributeValue"}
- },
- "AttributeValueUpdate":{
- "type":"structure",
- "members":{
- "Value":{"shape":"AttributeValue"},
- "Action":{"shape":"AttributeAction"}
- }
- },
- "BatchGetItemInput":{
- "type":"structure",
- "required":["RequestItems"],
- "members":{
- "RequestItems":{"shape":"BatchGetRequestMap"}
- }
- },
- "BatchGetItemOutput":{
- "type":"structure",
- "members":{
- "Responses":{"shape":"BatchGetResponseMap"},
- "UnprocessedKeys":{"shape":"BatchGetRequestMap"}
- }
- },
- "BatchGetRequestMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"KeysAndAttributes"},
- "max":100,
- "min":1
- },
- "BatchGetResponseMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"BatchResponse"}
- },
- "BatchResponse":{
- "type":"structure",
- "members":{
- "Items":{"shape":"ItemList"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "BatchWriteItemInput":{
- "type":"structure",
- "required":["RequestItems"],
- "members":{
- "RequestItems":{"shape":"BatchWriteItemRequestMap"}
- }
- },
- "BatchWriteItemOutput":{
- "type":"structure",
- "members":{
- "Responses":{"shape":"BatchWriteResponseMap"},
- "UnprocessedItems":{"shape":"BatchWriteItemRequestMap"}
- }
- },
- "BatchWriteItemRequestMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"WriteRequests"},
- "max":25,
- "min":1
- },
- "BatchWriteResponse":{
- "type":"structure",
- "members":{
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "BatchWriteResponseMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"BatchWriteResponse"}
- },
- "BinaryAttributeValue":{"type":"blob"},
- "BinarySetAttributeValue":{
- "type":"list",
- "member":{"shape":"BinaryAttributeValue"}
- },
- "BooleanObject":{"type":"boolean"},
- "ComparisonOperator":{
- "type":"string",
- "enum":[
- "EQ",
- "NE",
- "IN",
- "LE",
- "LT",
- "GE",
- "GT",
- "BETWEEN",
- "NOT_NULL",
- "NULL",
- "CONTAINS",
- "NOT_CONTAINS",
- "BEGINS_WITH"
- ]
- },
- "Condition":{
- "type":"structure",
- "required":["ComparisonOperator"],
- "members":{
- "AttributeValueList":{"shape":"AttributeValueList"},
- "ComparisonOperator":{"shape":"ComparisonOperator"}
- }
- },
- "ConditionalCheckFailedException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ConsistentRead":{"type":"boolean"},
- "ConsumedCapacityUnits":{"type":"double"},
- "CreateTableInput":{
- "type":"structure",
- "required":[
- "TableName",
- "KeySchema",
- "ProvisionedThroughput"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "KeySchema":{"shape":"KeySchema"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
- }
- },
- "CreateTableOutput":{
- "type":"structure",
- "members":{
- "TableDescription":{"shape":"TableDescription"}
- }
- },
- "Date":{"type":"timestamp"},
- "DeleteItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "Expected":{"shape":"ExpectedAttributeMap"},
- "ReturnValues":{"shape":"ReturnValue"}
- }
- },
- "DeleteItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "DeleteRequest":{
- "type":"structure",
- "required":["Key"],
- "members":{
- "Key":{"shape":"Key"}
- }
- },
- "DeleteTableInput":{
- "type":"structure",
- "required":["TableName"],
- "members":{
- "TableName":{"shape":"TableName"}
- }
- },
- "DeleteTableOutput":{
- "type":"structure",
- "members":{
- "TableDescription":{"shape":"TableDescription"}
- }
- },
- "DescribeTableInput":{
- "type":"structure",
- "required":["TableName"],
- "members":{
- "TableName":{"shape":"TableName"}
- }
- },
- "DescribeTableOutput":{
- "type":"structure",
- "members":{
- "Table":{"shape":"TableDescription"}
- }
- },
- "ErrorMessage":{"type":"string"},
- "ExpectedAttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"ExpectedAttributeValue"}
- },
- "ExpectedAttributeValue":{
- "type":"structure",
- "members":{
- "Value":{"shape":"AttributeValue"},
- "Exists":{"shape":"BooleanObject"}
- }
- },
- "FilterConditionMap":{
- "type":"map",
- "key":{"shape":"String"},
- "value":{"shape":"Condition"}
- },
- "GetItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "ConsistentRead":{"shape":"ConsistentRead"}
- }
- },
- "GetItemOutput":{
- "type":"structure",
- "members":{
- "Item":{"shape":"AttributeMap"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "Integer":{"type":"integer"},
- "InternalServerError":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true,
- "fault":true
- },
- "ItemList":{
- "type":"list",
- "member":{"shape":"AttributeMap"}
- },
- "Key":{
- "type":"structure",
- "required":["HashKeyElement"],
- "members":{
- "HashKeyElement":{"shape":"AttributeValue"},
- "RangeKeyElement":{"shape":"AttributeValue"}
- }
- },
- "KeyList":{
- "type":"list",
- "member":{"shape":"Key"},
- "max":100,
- "min":1
- },
- "KeySchema":{
- "type":"structure",
- "required":["HashKeyElement"],
- "members":{
- "HashKeyElement":{"shape":"KeySchemaElement"},
- "RangeKeyElement":{"shape":"KeySchemaElement"}
- }
- },
- "KeySchemaAttributeName":{
- "type":"string",
- "max":255,
- "min":1
- },
- "KeySchemaElement":{
- "type":"structure",
- "required":[
- "AttributeName",
- "AttributeType"
- ],
- "members":{
- "AttributeName":{"shape":"KeySchemaAttributeName"},
- "AttributeType":{"shape":"ScalarAttributeType"}
- }
- },
- "KeysAndAttributes":{
- "type":"structure",
- "required":["Keys"],
- "members":{
- "Keys":{"shape":"KeyList"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "ConsistentRead":{"shape":"ConsistentRead"}
- }
- },
- "LimitExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ListTablesInput":{
- "type":"structure",
- "members":{
- "ExclusiveStartTableName":{"shape":"TableName"},
- "Limit":{"shape":"ListTablesInputLimit"}
- }
- },
- "ListTablesInputLimit":{
- "type":"integer",
- "max":100,
- "min":1
- },
- "ListTablesOutput":{
- "type":"structure",
- "members":{
- "TableNames":{"shape":"TableNameList"},
- "LastEvaluatedTableName":{"shape":"TableName"}
- }
- },
- "Long":{"type":"long"},
- "NumberAttributeValue":{"type":"string"},
- "NumberSetAttributeValue":{
- "type":"list",
- "member":{"shape":"NumberAttributeValue"}
- },
- "PositiveIntegerObject":{
- "type":"integer",
- "min":1
- },
- "PositiveLongObject":{
- "type":"long",
- "min":1
- },
- "ProvisionedThroughput":{
- "type":"structure",
- "required":[
- "ReadCapacityUnits",
- "WriteCapacityUnits"
- ],
- "members":{
- "ReadCapacityUnits":{"shape":"PositiveLongObject"},
- "WriteCapacityUnits":{"shape":"PositiveLongObject"}
- }
- },
- "ProvisionedThroughputDescription":{
- "type":"structure",
- "members":{
- "LastIncreaseDateTime":{"shape":"Date"},
- "LastDecreaseDateTime":{"shape":"Date"},
- "NumberOfDecreasesToday":{"shape":"PositiveLongObject"},
- "ReadCapacityUnits":{"shape":"PositiveLongObject"},
- "WriteCapacityUnits":{"shape":"PositiveLongObject"}
- }
- },
- "ProvisionedThroughputExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "PutItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Item"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Item":{"shape":"PutItemInputAttributeMap"},
- "Expected":{"shape":"ExpectedAttributeMap"},
- "ReturnValues":{"shape":"ReturnValue"}
- }
- },
- "PutItemInputAttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "PutItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "PutRequest":{
- "type":"structure",
- "required":["Item"],
- "members":{
- "Item":{"shape":"PutItemInputAttributeMap"}
- }
- },
- "QueryInput":{
- "type":"structure",
- "required":[
- "TableName",
- "HashKeyValue"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "ConsistentRead":{"shape":"ConsistentRead"},
- "Count":{"shape":"BooleanObject"},
- "HashKeyValue":{"shape":"AttributeValue"},
- "RangeKeyCondition":{"shape":"Condition"},
- "ScanIndexForward":{"shape":"BooleanObject"},
- "ExclusiveStartKey":{"shape":"Key"}
- }
- },
- "QueryOutput":{
- "type":"structure",
- "members":{
- "Items":{"shape":"ItemList"},
- "Count":{"shape":"Integer"},
- "LastEvaluatedKey":{"shape":"Key"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "ResourceInUseException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ReturnValue":{
- "type":"string",
- "enum":[
- "NONE",
- "ALL_OLD",
- "UPDATED_OLD",
- "ALL_NEW",
- "UPDATED_NEW"
- ]
- },
- "ScalarAttributeType":{
- "type":"string",
- "enum":[
- "S",
- "N",
- "B"
- ]
- },
- "ScanInput":{
- "type":"structure",
- "required":["TableName"],
- "members":{
- "TableName":{"shape":"TableName"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "Count":{"shape":"BooleanObject"},
- "ScanFilter":{"shape":"FilterConditionMap"},
- "ExclusiveStartKey":{"shape":"Key"}
- }
- },
- "ScanOutput":{
- "type":"structure",
- "members":{
- "Items":{"shape":"ItemList"},
- "Count":{"shape":"Integer"},
- "ScannedCount":{"shape":"Integer"},
- "LastEvaluatedKey":{"shape":"Key"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "String":{"type":"string"},
- "StringAttributeValue":{"type":"string"},
- "StringSetAttributeValue":{
- "type":"list",
- "member":{"shape":"StringAttributeValue"}
- },
- "TableDescription":{
- "type":"structure",
- "members":{
- "TableName":{"shape":"TableName"},
- "KeySchema":{"shape":"KeySchema"},
- "TableStatus":{"shape":"TableStatus"},
- "CreationDateTime":{"shape":"Date"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
- "TableSizeBytes":{"shape":"Long"},
- "ItemCount":{"shape":"Long"}
- }
- },
- "TableName":{
- "type":"string",
- "max":255,
- "min":3,
- "pattern":"[a-zA-Z0-9_.-]+"
- },
- "TableNameList":{
- "type":"list",
- "member":{"shape":"TableName"}
- },
- "TableStatus":{
- "type":"string",
- "enum":[
- "CREATING",
- "UPDATING",
- "DELETING",
- "ACTIVE"
- ]
- },
- "UpdateItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key",
- "AttributeUpdates"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "AttributeUpdates":{"shape":"AttributeUpdates"},
- "Expected":{"shape":"ExpectedAttributeMap"},
- "ReturnValues":{"shape":"ReturnValue"}
- }
- },
- "UpdateItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "UpdateTableInput":{
- "type":"structure",
- "required":[
- "TableName",
- "ProvisionedThroughput"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
- }
- },
- "UpdateTableOutput":{
- "type":"structure",
- "members":{
- "TableDescription":{"shape":"TableDescription"}
- }
- },
- "WriteRequest":{
- "type":"structure",
- "members":{
- "PutRequest":{"shape":"PutRequest"},
- "DeleteRequest":{"shape":"DeleteRequest"}
- }
- },
- "WriteRequests":{
- "type":"list",
- "member":{"shape":"WriteRequest"},
- "max":25,
- "min":1
- }
- }
- }
|