| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2012-08-10",
- "endpointPrefix":"dynamodb",
- "jsonVersion":"1.0",
- "protocol":"json",
- "serviceAbbreviation":"DynamoDB",
- "serviceFullName":"Amazon DynamoDB",
- "signatureVersion":"v4",
- "targetPrefix":"DynamoDB_20120810"
- },
- "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":"ItemCollectionSizeLimitExceededException"},
- {"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":"ItemCollectionSizeLimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "DeleteTable":{
- "name":"DeleteTable",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteTableInput"},
- "output":{"shape":"DeleteTableOutput"},
- "errors":[
- {"shape":"ResourceInUseException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
- {"shape":"InternalServerError"}
- ]
- },
- "DescribeLimits":{
- "name":"DescribeLimits",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeLimitsInput"},
- "output":{"shape":"DescribeLimitsOutput"},
- "errors":[
- {"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":"ItemCollectionSizeLimitExceededException"},
- {"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":"ItemCollectionSizeLimitExceededException"},
- {"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"
- ]
- },
- "AttributeDefinition":{
- "type":"structure",
- "required":[
- "AttributeName",
- "AttributeType"
- ],
- "members":{
- "AttributeName":{"shape":"KeySchemaAttributeName"},
- "AttributeType":{"shape":"ScalarAttributeType"}
- }
- },
- "AttributeDefinitions":{
- "type":"list",
- "member":{"shape":"AttributeDefinition"}
- },
- "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"},
- "M":{"shape":"MapAttributeValue"},
- "L":{"shape":"ListAttributeValue"},
- "NULL":{"shape":"NullAttributeValue"},
- "BOOL":{"shape":"BooleanAttributeValue"}
- }
- },
- "AttributeValueList":{
- "type":"list",
- "member":{"shape":"AttributeValue"}
- },
- "AttributeValueUpdate":{
- "type":"structure",
- "members":{
- "Value":{"shape":"AttributeValue"},
- "Action":{"shape":"AttributeAction"}
- }
- },
- "Backfilling":{"type":"boolean"},
- "BatchGetItemInput":{
- "type":"structure",
- "required":["RequestItems"],
- "members":{
- "RequestItems":{"shape":"BatchGetRequestMap"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"}
- }
- },
- "BatchGetItemOutput":{
- "type":"structure",
- "members":{
- "Responses":{"shape":"BatchGetResponseMap"},
- "UnprocessedKeys":{"shape":"BatchGetRequestMap"},
- "ConsumedCapacity":{"shape":"ConsumedCapacityMultiple"}
- }
- },
- "BatchGetRequestMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"KeysAndAttributes"},
- "max":100,
- "min":1
- },
- "BatchGetResponseMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"ItemList"}
- },
- "BatchWriteItemInput":{
- "type":"structure",
- "required":["RequestItems"],
- "members":{
- "RequestItems":{"shape":"BatchWriteItemRequestMap"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"}
- }
- },
- "BatchWriteItemOutput":{
- "type":"structure",
- "members":{
- "UnprocessedItems":{"shape":"BatchWriteItemRequestMap"},
- "ItemCollectionMetrics":{"shape":"ItemCollectionMetricsPerTable"},
- "ConsumedCapacity":{"shape":"ConsumedCapacityMultiple"}
- }
- },
- "BatchWriteItemRequestMap":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"WriteRequests"},
- "max":25,
- "min":1
- },
- "BinaryAttributeValue":{"type":"blob"},
- "BinarySetAttributeValue":{
- "type":"list",
- "member":{"shape":"BinaryAttributeValue"}
- },
- "BooleanAttributeValue":{"type":"boolean"},
- "BooleanObject":{"type":"boolean"},
- "Capacity":{
- "type":"structure",
- "members":{
- "CapacityUnits":{"shape":"ConsumedCapacityUnits"}
- }
- },
- "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"}
- }
- },
- "ConditionExpression":{"type":"string"},
- "ConditionalCheckFailedException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ConditionalOperator":{
- "type":"string",
- "enum":[
- "AND",
- "OR"
- ]
- },
- "ConsistentRead":{"type":"boolean"},
- "ConsumedCapacity":{
- "type":"structure",
- "members":{
- "TableName":{"shape":"TableName"},
- "CapacityUnits":{"shape":"ConsumedCapacityUnits"},
- "Table":{"shape":"Capacity"},
- "LocalSecondaryIndexes":{"shape":"SecondaryIndexesCapacityMap"},
- "GlobalSecondaryIndexes":{"shape":"SecondaryIndexesCapacityMap"}
- }
- },
- "ConsumedCapacityMultiple":{
- "type":"list",
- "member":{"shape":"ConsumedCapacity"}
- },
- "ConsumedCapacityUnits":{"type":"double"},
- "CreateGlobalSecondaryIndexAction":{
- "type":"structure",
- "required":[
- "IndexName",
- "KeySchema",
- "Projection",
- "ProvisionedThroughput"
- ],
- "members":{
- "IndexName":{"shape":"IndexName"},
- "KeySchema":{"shape":"KeySchema"},
- "Projection":{"shape":"Projection"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
- }
- },
- "CreateTableInput":{
- "type":"structure",
- "required":[
- "AttributeDefinitions",
- "TableName",
- "KeySchema",
- "ProvisionedThroughput"
- ],
- "members":{
- "AttributeDefinitions":{"shape":"AttributeDefinitions"},
- "TableName":{"shape":"TableName"},
- "KeySchema":{"shape":"KeySchema"},
- "LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexList"},
- "GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexList"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
- "StreamSpecification":{"shape":"StreamSpecification"}
- }
- },
- "CreateTableOutput":{
- "type":"structure",
- "members":{
- "TableDescription":{"shape":"TableDescription"}
- }
- },
- "Date":{"type":"timestamp"},
- "DeleteGlobalSecondaryIndexAction":{
- "type":"structure",
- "required":["IndexName"],
- "members":{
- "IndexName":{"shape":"IndexName"}
- }
- },
- "DeleteItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "Expected":{"shape":"ExpectedAttributeMap"},
- "ConditionalOperator":{"shape":"ConditionalOperator"},
- "ReturnValues":{"shape":"ReturnValue"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
- "ConditionExpression":{"shape":"ConditionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
- "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
- }
- },
- "DeleteItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"},
- "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
- }
- },
- "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"}
- }
- },
- "DescribeLimitsInput":{
- "type":"structure",
- "members":{
- }
- },
- "DescribeLimitsOutput":{
- "type":"structure",
- "members":{
- "AccountMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
- "AccountMaxWriteCapacityUnits":{"shape":"PositiveLongObject"},
- "TableMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
- "TableMaxWriteCapacityUnits":{"shape":"PositiveLongObject"}
- }
- },
- "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"},
- "ComparisonOperator":{"shape":"ComparisonOperator"},
- "AttributeValueList":{"shape":"AttributeValueList"}
- }
- },
- "ExpressionAttributeNameMap":{
- "type":"map",
- "key":{"shape":"ExpressionAttributeNameVariable"},
- "value":{"shape":"AttributeName"}
- },
- "ExpressionAttributeNameVariable":{"type":"string"},
- "ExpressionAttributeValueMap":{
- "type":"map",
- "key":{"shape":"ExpressionAttributeValueVariable"},
- "value":{"shape":"AttributeValue"}
- },
- "ExpressionAttributeValueVariable":{"type":"string"},
- "FilterConditionMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"Condition"}
- },
- "GetItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "ConsistentRead":{"shape":"ConsistentRead"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ProjectionExpression":{"shape":"ProjectionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"}
- }
- },
- "GetItemOutput":{
- "type":"structure",
- "members":{
- "Item":{"shape":"AttributeMap"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"}
- }
- },
- "GlobalSecondaryIndex":{
- "type":"structure",
- "required":[
- "IndexName",
- "KeySchema",
- "Projection",
- "ProvisionedThroughput"
- ],
- "members":{
- "IndexName":{"shape":"IndexName"},
- "KeySchema":{"shape":"KeySchema"},
- "Projection":{"shape":"Projection"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
- }
- },
- "GlobalSecondaryIndexDescription":{
- "type":"structure",
- "members":{
- "IndexName":{"shape":"IndexName"},
- "KeySchema":{"shape":"KeySchema"},
- "Projection":{"shape":"Projection"},
- "IndexStatus":{"shape":"IndexStatus"},
- "Backfilling":{"shape":"Backfilling"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
- "IndexSizeBytes":{"shape":"Long"},
- "ItemCount":{"shape":"Long"},
- "IndexArn":{"shape":"String"}
- }
- },
- "GlobalSecondaryIndexDescriptionList":{
- "type":"list",
- "member":{"shape":"GlobalSecondaryIndexDescription"}
- },
- "GlobalSecondaryIndexList":{
- "type":"list",
- "member":{"shape":"GlobalSecondaryIndex"}
- },
- "GlobalSecondaryIndexUpdate":{
- "type":"structure",
- "members":{
- "Update":{"shape":"UpdateGlobalSecondaryIndexAction"},
- "Create":{"shape":"CreateGlobalSecondaryIndexAction"},
- "Delete":{"shape":"DeleteGlobalSecondaryIndexAction"}
- }
- },
- "GlobalSecondaryIndexUpdateList":{
- "type":"list",
- "member":{"shape":"GlobalSecondaryIndexUpdate"}
- },
- "IndexName":{
- "type":"string",
- "max":255,
- "min":3,
- "pattern":"[a-zA-Z0-9_.-]+"
- },
- "IndexStatus":{
- "type":"string",
- "enum":[
- "CREATING",
- "UPDATING",
- "DELETING",
- "ACTIVE"
- ]
- },
- "Integer":{"type":"integer"},
- "InternalServerError":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true,
- "fault":true
- },
- "ItemCollectionKeyAttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "ItemCollectionMetrics":{
- "type":"structure",
- "members":{
- "ItemCollectionKey":{"shape":"ItemCollectionKeyAttributeMap"},
- "SizeEstimateRangeGB":{"shape":"ItemCollectionSizeEstimateRange"}
- }
- },
- "ItemCollectionMetricsMultiple":{
- "type":"list",
- "member":{"shape":"ItemCollectionMetrics"}
- },
- "ItemCollectionMetricsPerTable":{
- "type":"map",
- "key":{"shape":"TableName"},
- "value":{"shape":"ItemCollectionMetricsMultiple"}
- },
- "ItemCollectionSizeEstimateBound":{"type":"double"},
- "ItemCollectionSizeEstimateRange":{
- "type":"list",
- "member":{"shape":"ItemCollectionSizeEstimateBound"}
- },
- "ItemCollectionSizeLimitExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ItemList":{
- "type":"list",
- "member":{"shape":"AttributeMap"}
- },
- "Key":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "KeyConditions":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"Condition"}
- },
- "KeyExpression":{"type":"string"},
- "KeyList":{
- "type":"list",
- "member":{"shape":"Key"},
- "max":100,
- "min":1
- },
- "KeySchema":{
- "type":"list",
- "member":{"shape":"KeySchemaElement"},
- "max":2,
- "min":1
- },
- "KeySchemaAttributeName":{
- "type":"string",
- "max":255,
- "min":1
- },
- "KeySchemaElement":{
- "type":"structure",
- "required":[
- "AttributeName",
- "KeyType"
- ],
- "members":{
- "AttributeName":{"shape":"KeySchemaAttributeName"},
- "KeyType":{"shape":"KeyType"}
- }
- },
- "KeyType":{
- "type":"string",
- "enum":[
- "HASH",
- "RANGE"
- ]
- },
- "KeysAndAttributes":{
- "type":"structure",
- "required":["Keys"],
- "members":{
- "Keys":{"shape":"KeyList"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "ConsistentRead":{"shape":"ConsistentRead"},
- "ProjectionExpression":{"shape":"ProjectionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"}
- }
- },
- "LimitExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ListAttributeValue":{
- "type":"list",
- "member":{"shape":"AttributeValue"}
- },
- "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"}
- }
- },
- "LocalSecondaryIndex":{
- "type":"structure",
- "required":[
- "IndexName",
- "KeySchema",
- "Projection"
- ],
- "members":{
- "IndexName":{"shape":"IndexName"},
- "KeySchema":{"shape":"KeySchema"},
- "Projection":{"shape":"Projection"}
- }
- },
- "LocalSecondaryIndexDescription":{
- "type":"structure",
- "members":{
- "IndexName":{"shape":"IndexName"},
- "KeySchema":{"shape":"KeySchema"},
- "Projection":{"shape":"Projection"},
- "IndexSizeBytes":{"shape":"Long"},
- "ItemCount":{"shape":"Long"},
- "IndexArn":{"shape":"String"}
- }
- },
- "LocalSecondaryIndexDescriptionList":{
- "type":"list",
- "member":{"shape":"LocalSecondaryIndexDescription"}
- },
- "LocalSecondaryIndexList":{
- "type":"list",
- "member":{"shape":"LocalSecondaryIndex"}
- },
- "Long":{"type":"long"},
- "MapAttributeValue":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "NonKeyAttributeName":{
- "type":"string",
- "max":255,
- "min":1
- },
- "NonKeyAttributeNameList":{
- "type":"list",
- "member":{"shape":"NonKeyAttributeName"},
- "max":20,
- "min":1
- },
- "NullAttributeValue":{"type":"boolean"},
- "NumberAttributeValue":{"type":"string"},
- "NumberSetAttributeValue":{
- "type":"list",
- "member":{"shape":"NumberAttributeValue"}
- },
- "PositiveIntegerObject":{
- "type":"integer",
- "min":1
- },
- "PositiveLongObject":{
- "type":"long",
- "min":1
- },
- "Projection":{
- "type":"structure",
- "members":{
- "ProjectionType":{"shape":"ProjectionType"},
- "NonKeyAttributes":{"shape":"NonKeyAttributeNameList"}
- }
- },
- "ProjectionExpression":{"type":"string"},
- "ProjectionType":{
- "type":"string",
- "enum":[
- "ALL",
- "KEYS_ONLY",
- "INCLUDE"
- ]
- },
- "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"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
- "ConditionalOperator":{"shape":"ConditionalOperator"},
- "ConditionExpression":{"shape":"ConditionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
- "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
- }
- },
- "PutItemInputAttributeMap":{
- "type":"map",
- "key":{"shape":"AttributeName"},
- "value":{"shape":"AttributeValue"}
- },
- "PutItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"},
- "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
- }
- },
- "PutRequest":{
- "type":"structure",
- "required":["Item"],
- "members":{
- "Item":{"shape":"PutItemInputAttributeMap"}
- }
- },
- "QueryInput":{
- "type":"structure",
- "required":["TableName"],
- "members":{
- "TableName":{"shape":"TableName"},
- "IndexName":{"shape":"IndexName"},
- "Select":{"shape":"Select"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "ConsistentRead":{"shape":"ConsistentRead"},
- "KeyConditions":{"shape":"KeyConditions"},
- "QueryFilter":{"shape":"FilterConditionMap"},
- "ConditionalOperator":{"shape":"ConditionalOperator"},
- "ScanIndexForward":{"shape":"BooleanObject"},
- "ExclusiveStartKey":{"shape":"Key"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ProjectionExpression":{"shape":"ProjectionExpression"},
- "FilterExpression":{"shape":"ConditionExpression"},
- "KeyConditionExpression":{"shape":"KeyExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
- "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
- }
- },
- "QueryOutput":{
- "type":"structure",
- "members":{
- "Items":{"shape":"ItemList"},
- "Count":{"shape":"Integer"},
- "ScannedCount":{"shape":"Integer"},
- "LastEvaluatedKey":{"shape":"Key"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"}
- }
- },
- "ResourceInUseException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessage"}
- },
- "exception":true
- },
- "ReturnConsumedCapacity":{
- "type":"string",
- "enum":[
- "INDEXES",
- "TOTAL",
- "NONE"
- ]
- },
- "ReturnItemCollectionMetrics":{
- "type":"string",
- "enum":[
- "SIZE",
- "NONE"
- ]
- },
- "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"},
- "IndexName":{"shape":"IndexName"},
- "AttributesToGet":{"shape":"AttributeNameList"},
- "Limit":{"shape":"PositiveIntegerObject"},
- "Select":{"shape":"Select"},
- "ScanFilter":{"shape":"FilterConditionMap"},
- "ConditionalOperator":{"shape":"ConditionalOperator"},
- "ExclusiveStartKey":{"shape":"Key"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "TotalSegments":{"shape":"ScanTotalSegments"},
- "Segment":{"shape":"ScanSegment"},
- "ProjectionExpression":{"shape":"ProjectionExpression"},
- "FilterExpression":{"shape":"ConditionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
- "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"},
- "ConsistentRead":{"shape":"ConsistentRead"}
- }
- },
- "ScanOutput":{
- "type":"structure",
- "members":{
- "Items":{"shape":"ItemList"},
- "Count":{"shape":"Integer"},
- "ScannedCount":{"shape":"Integer"},
- "LastEvaluatedKey":{"shape":"Key"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"}
- }
- },
- "ScanSegment":{
- "type":"integer",
- "max":999999,
- "min":0
- },
- "ScanTotalSegments":{
- "type":"integer",
- "max":1000000,
- "min":1
- },
- "SecondaryIndexesCapacityMap":{
- "type":"map",
- "key":{"shape":"IndexName"},
- "value":{"shape":"Capacity"}
- },
- "Select":{
- "type":"string",
- "enum":[
- "ALL_ATTRIBUTES",
- "ALL_PROJECTED_ATTRIBUTES",
- "SPECIFIC_ATTRIBUTES",
- "COUNT"
- ]
- },
- "StreamArn":{
- "type":"string",
- "max":1024,
- "min":37
- },
- "StreamEnabled":{"type":"boolean"},
- "StreamSpecification":{
- "type":"structure",
- "members":{
- "StreamEnabled":{"shape":"StreamEnabled"},
- "StreamViewType":{"shape":"StreamViewType"}
- }
- },
- "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"}
- },
- "TableDescription":{
- "type":"structure",
- "members":{
- "AttributeDefinitions":{"shape":"AttributeDefinitions"},
- "TableName":{"shape":"TableName"},
- "KeySchema":{"shape":"KeySchema"},
- "TableStatus":{"shape":"TableStatus"},
- "CreationDateTime":{"shape":"Date"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
- "TableSizeBytes":{"shape":"Long"},
- "ItemCount":{"shape":"Long"},
- "TableArn":{"shape":"String"},
- "LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexDescriptionList"},
- "GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexDescriptionList"},
- "StreamSpecification":{"shape":"StreamSpecification"},
- "LatestStreamLabel":{"shape":"String"},
- "LatestStreamArn":{"shape":"StreamArn"}
- }
- },
- "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"
- ]
- },
- "UpdateExpression":{"type":"string"},
- "UpdateGlobalSecondaryIndexAction":{
- "type":"structure",
- "required":[
- "IndexName",
- "ProvisionedThroughput"
- ],
- "members":{
- "IndexName":{"shape":"IndexName"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
- }
- },
- "UpdateItemInput":{
- "type":"structure",
- "required":[
- "TableName",
- "Key"
- ],
- "members":{
- "TableName":{"shape":"TableName"},
- "Key":{"shape":"Key"},
- "AttributeUpdates":{"shape":"AttributeUpdates"},
- "Expected":{"shape":"ExpectedAttributeMap"},
- "ConditionalOperator":{"shape":"ConditionalOperator"},
- "ReturnValues":{"shape":"ReturnValue"},
- "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
- "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
- "UpdateExpression":{"shape":"UpdateExpression"},
- "ConditionExpression":{"shape":"ConditionExpression"},
- "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
- "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
- }
- },
- "UpdateItemOutput":{
- "type":"structure",
- "members":{
- "Attributes":{"shape":"AttributeMap"},
- "ConsumedCapacity":{"shape":"ConsumedCapacity"},
- "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
- }
- },
- "UpdateTableInput":{
- "type":"structure",
- "required":["TableName"],
- "members":{
- "AttributeDefinitions":{"shape":"AttributeDefinitions"},
- "TableName":{"shape":"TableName"},
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
- "GlobalSecondaryIndexUpdates":{"shape":"GlobalSecondaryIndexUpdateList"},
- "StreamSpecification":{"shape":"StreamSpecification"}
- }
- },
- "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
- }
- }
- }
|