api-2.json 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2012-08-10",
  5. "endpointPrefix":"dynamodb",
  6. "jsonVersion":"1.0",
  7. "protocol":"json",
  8. "serviceAbbreviation":"DynamoDB",
  9. "serviceFullName":"Amazon DynamoDB",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"DynamoDB_20120810"
  12. },
  13. "operations":{
  14. "BatchGetItem":{
  15. "name":"BatchGetItem",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"BatchGetItemInput"},
  21. "output":{"shape":"BatchGetItemOutput"},
  22. "errors":[
  23. {"shape":"ProvisionedThroughputExceededException"},
  24. {"shape":"ResourceNotFoundException"},
  25. {"shape":"InternalServerError"}
  26. ]
  27. },
  28. "BatchWriteItem":{
  29. "name":"BatchWriteItem",
  30. "http":{
  31. "method":"POST",
  32. "requestUri":"/"
  33. },
  34. "input":{"shape":"BatchWriteItemInput"},
  35. "output":{"shape":"BatchWriteItemOutput"},
  36. "errors":[
  37. {"shape":"ProvisionedThroughputExceededException"},
  38. {"shape":"ResourceNotFoundException"},
  39. {"shape":"ItemCollectionSizeLimitExceededException"},
  40. {"shape":"InternalServerError"}
  41. ]
  42. },
  43. "CreateTable":{
  44. "name":"CreateTable",
  45. "http":{
  46. "method":"POST",
  47. "requestUri":"/"
  48. },
  49. "input":{"shape":"CreateTableInput"},
  50. "output":{"shape":"CreateTableOutput"},
  51. "errors":[
  52. {"shape":"ResourceInUseException"},
  53. {"shape":"LimitExceededException"},
  54. {"shape":"InternalServerError"}
  55. ]
  56. },
  57. "DeleteItem":{
  58. "name":"DeleteItem",
  59. "http":{
  60. "method":"POST",
  61. "requestUri":"/"
  62. },
  63. "input":{"shape":"DeleteItemInput"},
  64. "output":{"shape":"DeleteItemOutput"},
  65. "errors":[
  66. {"shape":"ConditionalCheckFailedException"},
  67. {"shape":"ProvisionedThroughputExceededException"},
  68. {"shape":"ResourceNotFoundException"},
  69. {"shape":"ItemCollectionSizeLimitExceededException"},
  70. {"shape":"InternalServerError"}
  71. ]
  72. },
  73. "DeleteTable":{
  74. "name":"DeleteTable",
  75. "http":{
  76. "method":"POST",
  77. "requestUri":"/"
  78. },
  79. "input":{"shape":"DeleteTableInput"},
  80. "output":{"shape":"DeleteTableOutput"},
  81. "errors":[
  82. {"shape":"ResourceInUseException"},
  83. {"shape":"ResourceNotFoundException"},
  84. {"shape":"LimitExceededException"},
  85. {"shape":"InternalServerError"}
  86. ]
  87. },
  88. "DescribeLimits":{
  89. "name":"DescribeLimits",
  90. "http":{
  91. "method":"POST",
  92. "requestUri":"/"
  93. },
  94. "input":{"shape":"DescribeLimitsInput"},
  95. "output":{"shape":"DescribeLimitsOutput"},
  96. "errors":[
  97. {"shape":"InternalServerError"}
  98. ]
  99. },
  100. "DescribeTable":{
  101. "name":"DescribeTable",
  102. "http":{
  103. "method":"POST",
  104. "requestUri":"/"
  105. },
  106. "input":{"shape":"DescribeTableInput"},
  107. "output":{"shape":"DescribeTableOutput"},
  108. "errors":[
  109. {"shape":"ResourceNotFoundException"},
  110. {"shape":"InternalServerError"}
  111. ]
  112. },
  113. "GetItem":{
  114. "name":"GetItem",
  115. "http":{
  116. "method":"POST",
  117. "requestUri":"/"
  118. },
  119. "input":{"shape":"GetItemInput"},
  120. "output":{"shape":"GetItemOutput"},
  121. "errors":[
  122. {"shape":"ProvisionedThroughputExceededException"},
  123. {"shape":"ResourceNotFoundException"},
  124. {"shape":"InternalServerError"}
  125. ]
  126. },
  127. "ListTables":{
  128. "name":"ListTables",
  129. "http":{
  130. "method":"POST",
  131. "requestUri":"/"
  132. },
  133. "input":{"shape":"ListTablesInput"},
  134. "output":{"shape":"ListTablesOutput"},
  135. "errors":[
  136. {"shape":"InternalServerError"}
  137. ]
  138. },
  139. "PutItem":{
  140. "name":"PutItem",
  141. "http":{
  142. "method":"POST",
  143. "requestUri":"/"
  144. },
  145. "input":{"shape":"PutItemInput"},
  146. "output":{"shape":"PutItemOutput"},
  147. "errors":[
  148. {"shape":"ConditionalCheckFailedException"},
  149. {"shape":"ProvisionedThroughputExceededException"},
  150. {"shape":"ResourceNotFoundException"},
  151. {"shape":"ItemCollectionSizeLimitExceededException"},
  152. {"shape":"InternalServerError"}
  153. ]
  154. },
  155. "Query":{
  156. "name":"Query",
  157. "http":{
  158. "method":"POST",
  159. "requestUri":"/"
  160. },
  161. "input":{"shape":"QueryInput"},
  162. "output":{"shape":"QueryOutput"},
  163. "errors":[
  164. {"shape":"ProvisionedThroughputExceededException"},
  165. {"shape":"ResourceNotFoundException"},
  166. {"shape":"InternalServerError"}
  167. ]
  168. },
  169. "Scan":{
  170. "name":"Scan",
  171. "http":{
  172. "method":"POST",
  173. "requestUri":"/"
  174. },
  175. "input":{"shape":"ScanInput"},
  176. "output":{"shape":"ScanOutput"},
  177. "errors":[
  178. {"shape":"ProvisionedThroughputExceededException"},
  179. {"shape":"ResourceNotFoundException"},
  180. {"shape":"InternalServerError"}
  181. ]
  182. },
  183. "UpdateItem":{
  184. "name":"UpdateItem",
  185. "http":{
  186. "method":"POST",
  187. "requestUri":"/"
  188. },
  189. "input":{"shape":"UpdateItemInput"},
  190. "output":{"shape":"UpdateItemOutput"},
  191. "errors":[
  192. {"shape":"ConditionalCheckFailedException"},
  193. {"shape":"ProvisionedThroughputExceededException"},
  194. {"shape":"ResourceNotFoundException"},
  195. {"shape":"ItemCollectionSizeLimitExceededException"},
  196. {"shape":"InternalServerError"}
  197. ]
  198. },
  199. "UpdateTable":{
  200. "name":"UpdateTable",
  201. "http":{
  202. "method":"POST",
  203. "requestUri":"/"
  204. },
  205. "input":{"shape":"UpdateTableInput"},
  206. "output":{"shape":"UpdateTableOutput"},
  207. "errors":[
  208. {"shape":"ResourceInUseException"},
  209. {"shape":"ResourceNotFoundException"},
  210. {"shape":"LimitExceededException"},
  211. {"shape":"InternalServerError"}
  212. ]
  213. }
  214. },
  215. "shapes":{
  216. "AttributeAction":{
  217. "type":"string",
  218. "enum":[
  219. "ADD",
  220. "PUT",
  221. "DELETE"
  222. ]
  223. },
  224. "AttributeDefinition":{
  225. "type":"structure",
  226. "required":[
  227. "AttributeName",
  228. "AttributeType"
  229. ],
  230. "members":{
  231. "AttributeName":{"shape":"KeySchemaAttributeName"},
  232. "AttributeType":{"shape":"ScalarAttributeType"}
  233. }
  234. },
  235. "AttributeDefinitions":{
  236. "type":"list",
  237. "member":{"shape":"AttributeDefinition"}
  238. },
  239. "AttributeMap":{
  240. "type":"map",
  241. "key":{"shape":"AttributeName"},
  242. "value":{"shape":"AttributeValue"}
  243. },
  244. "AttributeName":{
  245. "type":"string",
  246. "max":65535
  247. },
  248. "AttributeNameList":{
  249. "type":"list",
  250. "member":{"shape":"AttributeName"},
  251. "min":1
  252. },
  253. "AttributeUpdates":{
  254. "type":"map",
  255. "key":{"shape":"AttributeName"},
  256. "value":{"shape":"AttributeValueUpdate"}
  257. },
  258. "AttributeValue":{
  259. "type":"structure",
  260. "members":{
  261. "S":{"shape":"StringAttributeValue"},
  262. "N":{"shape":"NumberAttributeValue"},
  263. "B":{"shape":"BinaryAttributeValue"},
  264. "SS":{"shape":"StringSetAttributeValue"},
  265. "NS":{"shape":"NumberSetAttributeValue"},
  266. "BS":{"shape":"BinarySetAttributeValue"},
  267. "M":{"shape":"MapAttributeValue"},
  268. "L":{"shape":"ListAttributeValue"},
  269. "NULL":{"shape":"NullAttributeValue"},
  270. "BOOL":{"shape":"BooleanAttributeValue"}
  271. }
  272. },
  273. "AttributeValueList":{
  274. "type":"list",
  275. "member":{"shape":"AttributeValue"}
  276. },
  277. "AttributeValueUpdate":{
  278. "type":"structure",
  279. "members":{
  280. "Value":{"shape":"AttributeValue"},
  281. "Action":{"shape":"AttributeAction"}
  282. }
  283. },
  284. "Backfilling":{"type":"boolean"},
  285. "BatchGetItemInput":{
  286. "type":"structure",
  287. "required":["RequestItems"],
  288. "members":{
  289. "RequestItems":{"shape":"BatchGetRequestMap"},
  290. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"}
  291. }
  292. },
  293. "BatchGetItemOutput":{
  294. "type":"structure",
  295. "members":{
  296. "Responses":{"shape":"BatchGetResponseMap"},
  297. "UnprocessedKeys":{"shape":"BatchGetRequestMap"},
  298. "ConsumedCapacity":{"shape":"ConsumedCapacityMultiple"}
  299. }
  300. },
  301. "BatchGetRequestMap":{
  302. "type":"map",
  303. "key":{"shape":"TableName"},
  304. "value":{"shape":"KeysAndAttributes"},
  305. "max":100,
  306. "min":1
  307. },
  308. "BatchGetResponseMap":{
  309. "type":"map",
  310. "key":{"shape":"TableName"},
  311. "value":{"shape":"ItemList"}
  312. },
  313. "BatchWriteItemInput":{
  314. "type":"structure",
  315. "required":["RequestItems"],
  316. "members":{
  317. "RequestItems":{"shape":"BatchWriteItemRequestMap"},
  318. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  319. "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"}
  320. }
  321. },
  322. "BatchWriteItemOutput":{
  323. "type":"structure",
  324. "members":{
  325. "UnprocessedItems":{"shape":"BatchWriteItemRequestMap"},
  326. "ItemCollectionMetrics":{"shape":"ItemCollectionMetricsPerTable"},
  327. "ConsumedCapacity":{"shape":"ConsumedCapacityMultiple"}
  328. }
  329. },
  330. "BatchWriteItemRequestMap":{
  331. "type":"map",
  332. "key":{"shape":"TableName"},
  333. "value":{"shape":"WriteRequests"},
  334. "max":25,
  335. "min":1
  336. },
  337. "BinaryAttributeValue":{"type":"blob"},
  338. "BinarySetAttributeValue":{
  339. "type":"list",
  340. "member":{"shape":"BinaryAttributeValue"}
  341. },
  342. "BooleanAttributeValue":{"type":"boolean"},
  343. "BooleanObject":{"type":"boolean"},
  344. "Capacity":{
  345. "type":"structure",
  346. "members":{
  347. "CapacityUnits":{"shape":"ConsumedCapacityUnits"}
  348. }
  349. },
  350. "ComparisonOperator":{
  351. "type":"string",
  352. "enum":[
  353. "EQ",
  354. "NE",
  355. "IN",
  356. "LE",
  357. "LT",
  358. "GE",
  359. "GT",
  360. "BETWEEN",
  361. "NOT_NULL",
  362. "NULL",
  363. "CONTAINS",
  364. "NOT_CONTAINS",
  365. "BEGINS_WITH"
  366. ]
  367. },
  368. "Condition":{
  369. "type":"structure",
  370. "required":["ComparisonOperator"],
  371. "members":{
  372. "AttributeValueList":{"shape":"AttributeValueList"},
  373. "ComparisonOperator":{"shape":"ComparisonOperator"}
  374. }
  375. },
  376. "ConditionExpression":{"type":"string"},
  377. "ConditionalCheckFailedException":{
  378. "type":"structure",
  379. "members":{
  380. "message":{"shape":"ErrorMessage"}
  381. },
  382. "exception":true
  383. },
  384. "ConditionalOperator":{
  385. "type":"string",
  386. "enum":[
  387. "AND",
  388. "OR"
  389. ]
  390. },
  391. "ConsistentRead":{"type":"boolean"},
  392. "ConsumedCapacity":{
  393. "type":"structure",
  394. "members":{
  395. "TableName":{"shape":"TableName"},
  396. "CapacityUnits":{"shape":"ConsumedCapacityUnits"},
  397. "Table":{"shape":"Capacity"},
  398. "LocalSecondaryIndexes":{"shape":"SecondaryIndexesCapacityMap"},
  399. "GlobalSecondaryIndexes":{"shape":"SecondaryIndexesCapacityMap"}
  400. }
  401. },
  402. "ConsumedCapacityMultiple":{
  403. "type":"list",
  404. "member":{"shape":"ConsumedCapacity"}
  405. },
  406. "ConsumedCapacityUnits":{"type":"double"},
  407. "CreateGlobalSecondaryIndexAction":{
  408. "type":"structure",
  409. "required":[
  410. "IndexName",
  411. "KeySchema",
  412. "Projection",
  413. "ProvisionedThroughput"
  414. ],
  415. "members":{
  416. "IndexName":{"shape":"IndexName"},
  417. "KeySchema":{"shape":"KeySchema"},
  418. "Projection":{"shape":"Projection"},
  419. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
  420. }
  421. },
  422. "CreateTableInput":{
  423. "type":"structure",
  424. "required":[
  425. "AttributeDefinitions",
  426. "TableName",
  427. "KeySchema",
  428. "ProvisionedThroughput"
  429. ],
  430. "members":{
  431. "AttributeDefinitions":{"shape":"AttributeDefinitions"},
  432. "TableName":{"shape":"TableName"},
  433. "KeySchema":{"shape":"KeySchema"},
  434. "LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexList"},
  435. "GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexList"},
  436. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
  437. "StreamSpecification":{"shape":"StreamSpecification"}
  438. }
  439. },
  440. "CreateTableOutput":{
  441. "type":"structure",
  442. "members":{
  443. "TableDescription":{"shape":"TableDescription"}
  444. }
  445. },
  446. "Date":{"type":"timestamp"},
  447. "DeleteGlobalSecondaryIndexAction":{
  448. "type":"structure",
  449. "required":["IndexName"],
  450. "members":{
  451. "IndexName":{"shape":"IndexName"}
  452. }
  453. },
  454. "DeleteItemInput":{
  455. "type":"structure",
  456. "required":[
  457. "TableName",
  458. "Key"
  459. ],
  460. "members":{
  461. "TableName":{"shape":"TableName"},
  462. "Key":{"shape":"Key"},
  463. "Expected":{"shape":"ExpectedAttributeMap"},
  464. "ConditionalOperator":{"shape":"ConditionalOperator"},
  465. "ReturnValues":{"shape":"ReturnValue"},
  466. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  467. "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
  468. "ConditionExpression":{"shape":"ConditionExpression"},
  469. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
  470. "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
  471. }
  472. },
  473. "DeleteItemOutput":{
  474. "type":"structure",
  475. "members":{
  476. "Attributes":{"shape":"AttributeMap"},
  477. "ConsumedCapacity":{"shape":"ConsumedCapacity"},
  478. "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
  479. }
  480. },
  481. "DeleteRequest":{
  482. "type":"structure",
  483. "required":["Key"],
  484. "members":{
  485. "Key":{"shape":"Key"}
  486. }
  487. },
  488. "DeleteTableInput":{
  489. "type":"structure",
  490. "required":["TableName"],
  491. "members":{
  492. "TableName":{"shape":"TableName"}
  493. }
  494. },
  495. "DeleteTableOutput":{
  496. "type":"structure",
  497. "members":{
  498. "TableDescription":{"shape":"TableDescription"}
  499. }
  500. },
  501. "DescribeLimitsInput":{
  502. "type":"structure",
  503. "members":{
  504. }
  505. },
  506. "DescribeLimitsOutput":{
  507. "type":"structure",
  508. "members":{
  509. "AccountMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
  510. "AccountMaxWriteCapacityUnits":{"shape":"PositiveLongObject"},
  511. "TableMaxReadCapacityUnits":{"shape":"PositiveLongObject"},
  512. "TableMaxWriteCapacityUnits":{"shape":"PositiveLongObject"}
  513. }
  514. },
  515. "DescribeTableInput":{
  516. "type":"structure",
  517. "required":["TableName"],
  518. "members":{
  519. "TableName":{"shape":"TableName"}
  520. }
  521. },
  522. "DescribeTableOutput":{
  523. "type":"structure",
  524. "members":{
  525. "Table":{"shape":"TableDescription"}
  526. }
  527. },
  528. "ErrorMessage":{"type":"string"},
  529. "ExpectedAttributeMap":{
  530. "type":"map",
  531. "key":{"shape":"AttributeName"},
  532. "value":{"shape":"ExpectedAttributeValue"}
  533. },
  534. "ExpectedAttributeValue":{
  535. "type":"structure",
  536. "members":{
  537. "Value":{"shape":"AttributeValue"},
  538. "Exists":{"shape":"BooleanObject"},
  539. "ComparisonOperator":{"shape":"ComparisonOperator"},
  540. "AttributeValueList":{"shape":"AttributeValueList"}
  541. }
  542. },
  543. "ExpressionAttributeNameMap":{
  544. "type":"map",
  545. "key":{"shape":"ExpressionAttributeNameVariable"},
  546. "value":{"shape":"AttributeName"}
  547. },
  548. "ExpressionAttributeNameVariable":{"type":"string"},
  549. "ExpressionAttributeValueMap":{
  550. "type":"map",
  551. "key":{"shape":"ExpressionAttributeValueVariable"},
  552. "value":{"shape":"AttributeValue"}
  553. },
  554. "ExpressionAttributeValueVariable":{"type":"string"},
  555. "FilterConditionMap":{
  556. "type":"map",
  557. "key":{"shape":"AttributeName"},
  558. "value":{"shape":"Condition"}
  559. },
  560. "GetItemInput":{
  561. "type":"structure",
  562. "required":[
  563. "TableName",
  564. "Key"
  565. ],
  566. "members":{
  567. "TableName":{"shape":"TableName"},
  568. "Key":{"shape":"Key"},
  569. "AttributesToGet":{"shape":"AttributeNameList"},
  570. "ConsistentRead":{"shape":"ConsistentRead"},
  571. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  572. "ProjectionExpression":{"shape":"ProjectionExpression"},
  573. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"}
  574. }
  575. },
  576. "GetItemOutput":{
  577. "type":"structure",
  578. "members":{
  579. "Item":{"shape":"AttributeMap"},
  580. "ConsumedCapacity":{"shape":"ConsumedCapacity"}
  581. }
  582. },
  583. "GlobalSecondaryIndex":{
  584. "type":"structure",
  585. "required":[
  586. "IndexName",
  587. "KeySchema",
  588. "Projection",
  589. "ProvisionedThroughput"
  590. ],
  591. "members":{
  592. "IndexName":{"shape":"IndexName"},
  593. "KeySchema":{"shape":"KeySchema"},
  594. "Projection":{"shape":"Projection"},
  595. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
  596. }
  597. },
  598. "GlobalSecondaryIndexDescription":{
  599. "type":"structure",
  600. "members":{
  601. "IndexName":{"shape":"IndexName"},
  602. "KeySchema":{"shape":"KeySchema"},
  603. "Projection":{"shape":"Projection"},
  604. "IndexStatus":{"shape":"IndexStatus"},
  605. "Backfilling":{"shape":"Backfilling"},
  606. "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
  607. "IndexSizeBytes":{"shape":"Long"},
  608. "ItemCount":{"shape":"Long"},
  609. "IndexArn":{"shape":"String"}
  610. }
  611. },
  612. "GlobalSecondaryIndexDescriptionList":{
  613. "type":"list",
  614. "member":{"shape":"GlobalSecondaryIndexDescription"}
  615. },
  616. "GlobalSecondaryIndexList":{
  617. "type":"list",
  618. "member":{"shape":"GlobalSecondaryIndex"}
  619. },
  620. "GlobalSecondaryIndexUpdate":{
  621. "type":"structure",
  622. "members":{
  623. "Update":{"shape":"UpdateGlobalSecondaryIndexAction"},
  624. "Create":{"shape":"CreateGlobalSecondaryIndexAction"},
  625. "Delete":{"shape":"DeleteGlobalSecondaryIndexAction"}
  626. }
  627. },
  628. "GlobalSecondaryIndexUpdateList":{
  629. "type":"list",
  630. "member":{"shape":"GlobalSecondaryIndexUpdate"}
  631. },
  632. "IndexName":{
  633. "type":"string",
  634. "max":255,
  635. "min":3,
  636. "pattern":"[a-zA-Z0-9_.-]+"
  637. },
  638. "IndexStatus":{
  639. "type":"string",
  640. "enum":[
  641. "CREATING",
  642. "UPDATING",
  643. "DELETING",
  644. "ACTIVE"
  645. ]
  646. },
  647. "Integer":{"type":"integer"},
  648. "InternalServerError":{
  649. "type":"structure",
  650. "members":{
  651. "message":{"shape":"ErrorMessage"}
  652. },
  653. "exception":true,
  654. "fault":true
  655. },
  656. "ItemCollectionKeyAttributeMap":{
  657. "type":"map",
  658. "key":{"shape":"AttributeName"},
  659. "value":{"shape":"AttributeValue"}
  660. },
  661. "ItemCollectionMetrics":{
  662. "type":"structure",
  663. "members":{
  664. "ItemCollectionKey":{"shape":"ItemCollectionKeyAttributeMap"},
  665. "SizeEstimateRangeGB":{"shape":"ItemCollectionSizeEstimateRange"}
  666. }
  667. },
  668. "ItemCollectionMetricsMultiple":{
  669. "type":"list",
  670. "member":{"shape":"ItemCollectionMetrics"}
  671. },
  672. "ItemCollectionMetricsPerTable":{
  673. "type":"map",
  674. "key":{"shape":"TableName"},
  675. "value":{"shape":"ItemCollectionMetricsMultiple"}
  676. },
  677. "ItemCollectionSizeEstimateBound":{"type":"double"},
  678. "ItemCollectionSizeEstimateRange":{
  679. "type":"list",
  680. "member":{"shape":"ItemCollectionSizeEstimateBound"}
  681. },
  682. "ItemCollectionSizeLimitExceededException":{
  683. "type":"structure",
  684. "members":{
  685. "message":{"shape":"ErrorMessage"}
  686. },
  687. "exception":true
  688. },
  689. "ItemList":{
  690. "type":"list",
  691. "member":{"shape":"AttributeMap"}
  692. },
  693. "Key":{
  694. "type":"map",
  695. "key":{"shape":"AttributeName"},
  696. "value":{"shape":"AttributeValue"}
  697. },
  698. "KeyConditions":{
  699. "type":"map",
  700. "key":{"shape":"AttributeName"},
  701. "value":{"shape":"Condition"}
  702. },
  703. "KeyExpression":{"type":"string"},
  704. "KeyList":{
  705. "type":"list",
  706. "member":{"shape":"Key"},
  707. "max":100,
  708. "min":1
  709. },
  710. "KeySchema":{
  711. "type":"list",
  712. "member":{"shape":"KeySchemaElement"},
  713. "max":2,
  714. "min":1
  715. },
  716. "KeySchemaAttributeName":{
  717. "type":"string",
  718. "max":255,
  719. "min":1
  720. },
  721. "KeySchemaElement":{
  722. "type":"structure",
  723. "required":[
  724. "AttributeName",
  725. "KeyType"
  726. ],
  727. "members":{
  728. "AttributeName":{"shape":"KeySchemaAttributeName"},
  729. "KeyType":{"shape":"KeyType"}
  730. }
  731. },
  732. "KeyType":{
  733. "type":"string",
  734. "enum":[
  735. "HASH",
  736. "RANGE"
  737. ]
  738. },
  739. "KeysAndAttributes":{
  740. "type":"structure",
  741. "required":["Keys"],
  742. "members":{
  743. "Keys":{"shape":"KeyList"},
  744. "AttributesToGet":{"shape":"AttributeNameList"},
  745. "ConsistentRead":{"shape":"ConsistentRead"},
  746. "ProjectionExpression":{"shape":"ProjectionExpression"},
  747. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"}
  748. }
  749. },
  750. "LimitExceededException":{
  751. "type":"structure",
  752. "members":{
  753. "message":{"shape":"ErrorMessage"}
  754. },
  755. "exception":true
  756. },
  757. "ListAttributeValue":{
  758. "type":"list",
  759. "member":{"shape":"AttributeValue"}
  760. },
  761. "ListTablesInput":{
  762. "type":"structure",
  763. "members":{
  764. "ExclusiveStartTableName":{"shape":"TableName"},
  765. "Limit":{"shape":"ListTablesInputLimit"}
  766. }
  767. },
  768. "ListTablesInputLimit":{
  769. "type":"integer",
  770. "max":100,
  771. "min":1
  772. },
  773. "ListTablesOutput":{
  774. "type":"structure",
  775. "members":{
  776. "TableNames":{"shape":"TableNameList"},
  777. "LastEvaluatedTableName":{"shape":"TableName"}
  778. }
  779. },
  780. "LocalSecondaryIndex":{
  781. "type":"structure",
  782. "required":[
  783. "IndexName",
  784. "KeySchema",
  785. "Projection"
  786. ],
  787. "members":{
  788. "IndexName":{"shape":"IndexName"},
  789. "KeySchema":{"shape":"KeySchema"},
  790. "Projection":{"shape":"Projection"}
  791. }
  792. },
  793. "LocalSecondaryIndexDescription":{
  794. "type":"structure",
  795. "members":{
  796. "IndexName":{"shape":"IndexName"},
  797. "KeySchema":{"shape":"KeySchema"},
  798. "Projection":{"shape":"Projection"},
  799. "IndexSizeBytes":{"shape":"Long"},
  800. "ItemCount":{"shape":"Long"},
  801. "IndexArn":{"shape":"String"}
  802. }
  803. },
  804. "LocalSecondaryIndexDescriptionList":{
  805. "type":"list",
  806. "member":{"shape":"LocalSecondaryIndexDescription"}
  807. },
  808. "LocalSecondaryIndexList":{
  809. "type":"list",
  810. "member":{"shape":"LocalSecondaryIndex"}
  811. },
  812. "Long":{"type":"long"},
  813. "MapAttributeValue":{
  814. "type":"map",
  815. "key":{"shape":"AttributeName"},
  816. "value":{"shape":"AttributeValue"}
  817. },
  818. "NonKeyAttributeName":{
  819. "type":"string",
  820. "max":255,
  821. "min":1
  822. },
  823. "NonKeyAttributeNameList":{
  824. "type":"list",
  825. "member":{"shape":"NonKeyAttributeName"},
  826. "max":20,
  827. "min":1
  828. },
  829. "NullAttributeValue":{"type":"boolean"},
  830. "NumberAttributeValue":{"type":"string"},
  831. "NumberSetAttributeValue":{
  832. "type":"list",
  833. "member":{"shape":"NumberAttributeValue"}
  834. },
  835. "PositiveIntegerObject":{
  836. "type":"integer",
  837. "min":1
  838. },
  839. "PositiveLongObject":{
  840. "type":"long",
  841. "min":1
  842. },
  843. "Projection":{
  844. "type":"structure",
  845. "members":{
  846. "ProjectionType":{"shape":"ProjectionType"},
  847. "NonKeyAttributes":{"shape":"NonKeyAttributeNameList"}
  848. }
  849. },
  850. "ProjectionExpression":{"type":"string"},
  851. "ProjectionType":{
  852. "type":"string",
  853. "enum":[
  854. "ALL",
  855. "KEYS_ONLY",
  856. "INCLUDE"
  857. ]
  858. },
  859. "ProvisionedThroughput":{
  860. "type":"structure",
  861. "required":[
  862. "ReadCapacityUnits",
  863. "WriteCapacityUnits"
  864. ],
  865. "members":{
  866. "ReadCapacityUnits":{"shape":"PositiveLongObject"},
  867. "WriteCapacityUnits":{"shape":"PositiveLongObject"}
  868. }
  869. },
  870. "ProvisionedThroughputDescription":{
  871. "type":"structure",
  872. "members":{
  873. "LastIncreaseDateTime":{"shape":"Date"},
  874. "LastDecreaseDateTime":{"shape":"Date"},
  875. "NumberOfDecreasesToday":{"shape":"PositiveLongObject"},
  876. "ReadCapacityUnits":{"shape":"PositiveLongObject"},
  877. "WriteCapacityUnits":{"shape":"PositiveLongObject"}
  878. }
  879. },
  880. "ProvisionedThroughputExceededException":{
  881. "type":"structure",
  882. "members":{
  883. "message":{"shape":"ErrorMessage"}
  884. },
  885. "exception":true
  886. },
  887. "PutItemInput":{
  888. "type":"structure",
  889. "required":[
  890. "TableName",
  891. "Item"
  892. ],
  893. "members":{
  894. "TableName":{"shape":"TableName"},
  895. "Item":{"shape":"PutItemInputAttributeMap"},
  896. "Expected":{"shape":"ExpectedAttributeMap"},
  897. "ReturnValues":{"shape":"ReturnValue"},
  898. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  899. "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
  900. "ConditionalOperator":{"shape":"ConditionalOperator"},
  901. "ConditionExpression":{"shape":"ConditionExpression"},
  902. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
  903. "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
  904. }
  905. },
  906. "PutItemInputAttributeMap":{
  907. "type":"map",
  908. "key":{"shape":"AttributeName"},
  909. "value":{"shape":"AttributeValue"}
  910. },
  911. "PutItemOutput":{
  912. "type":"structure",
  913. "members":{
  914. "Attributes":{"shape":"AttributeMap"},
  915. "ConsumedCapacity":{"shape":"ConsumedCapacity"},
  916. "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
  917. }
  918. },
  919. "PutRequest":{
  920. "type":"structure",
  921. "required":["Item"],
  922. "members":{
  923. "Item":{"shape":"PutItemInputAttributeMap"}
  924. }
  925. },
  926. "QueryInput":{
  927. "type":"structure",
  928. "required":["TableName"],
  929. "members":{
  930. "TableName":{"shape":"TableName"},
  931. "IndexName":{"shape":"IndexName"},
  932. "Select":{"shape":"Select"},
  933. "AttributesToGet":{"shape":"AttributeNameList"},
  934. "Limit":{"shape":"PositiveIntegerObject"},
  935. "ConsistentRead":{"shape":"ConsistentRead"},
  936. "KeyConditions":{"shape":"KeyConditions"},
  937. "QueryFilter":{"shape":"FilterConditionMap"},
  938. "ConditionalOperator":{"shape":"ConditionalOperator"},
  939. "ScanIndexForward":{"shape":"BooleanObject"},
  940. "ExclusiveStartKey":{"shape":"Key"},
  941. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  942. "ProjectionExpression":{"shape":"ProjectionExpression"},
  943. "FilterExpression":{"shape":"ConditionExpression"},
  944. "KeyConditionExpression":{"shape":"KeyExpression"},
  945. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
  946. "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
  947. }
  948. },
  949. "QueryOutput":{
  950. "type":"structure",
  951. "members":{
  952. "Items":{"shape":"ItemList"},
  953. "Count":{"shape":"Integer"},
  954. "ScannedCount":{"shape":"Integer"},
  955. "LastEvaluatedKey":{"shape":"Key"},
  956. "ConsumedCapacity":{"shape":"ConsumedCapacity"}
  957. }
  958. },
  959. "ResourceInUseException":{
  960. "type":"structure",
  961. "members":{
  962. "message":{"shape":"ErrorMessage"}
  963. },
  964. "exception":true
  965. },
  966. "ResourceNotFoundException":{
  967. "type":"structure",
  968. "members":{
  969. "message":{"shape":"ErrorMessage"}
  970. },
  971. "exception":true
  972. },
  973. "ReturnConsumedCapacity":{
  974. "type":"string",
  975. "enum":[
  976. "INDEXES",
  977. "TOTAL",
  978. "NONE"
  979. ]
  980. },
  981. "ReturnItemCollectionMetrics":{
  982. "type":"string",
  983. "enum":[
  984. "SIZE",
  985. "NONE"
  986. ]
  987. },
  988. "ReturnValue":{
  989. "type":"string",
  990. "enum":[
  991. "NONE",
  992. "ALL_OLD",
  993. "UPDATED_OLD",
  994. "ALL_NEW",
  995. "UPDATED_NEW"
  996. ]
  997. },
  998. "ScalarAttributeType":{
  999. "type":"string",
  1000. "enum":[
  1001. "S",
  1002. "N",
  1003. "B"
  1004. ]
  1005. },
  1006. "ScanInput":{
  1007. "type":"structure",
  1008. "required":["TableName"],
  1009. "members":{
  1010. "TableName":{"shape":"TableName"},
  1011. "IndexName":{"shape":"IndexName"},
  1012. "AttributesToGet":{"shape":"AttributeNameList"},
  1013. "Limit":{"shape":"PositiveIntegerObject"},
  1014. "Select":{"shape":"Select"},
  1015. "ScanFilter":{"shape":"FilterConditionMap"},
  1016. "ConditionalOperator":{"shape":"ConditionalOperator"},
  1017. "ExclusiveStartKey":{"shape":"Key"},
  1018. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  1019. "TotalSegments":{"shape":"ScanTotalSegments"},
  1020. "Segment":{"shape":"ScanSegment"},
  1021. "ProjectionExpression":{"shape":"ProjectionExpression"},
  1022. "FilterExpression":{"shape":"ConditionExpression"},
  1023. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
  1024. "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"},
  1025. "ConsistentRead":{"shape":"ConsistentRead"}
  1026. }
  1027. },
  1028. "ScanOutput":{
  1029. "type":"structure",
  1030. "members":{
  1031. "Items":{"shape":"ItemList"},
  1032. "Count":{"shape":"Integer"},
  1033. "ScannedCount":{"shape":"Integer"},
  1034. "LastEvaluatedKey":{"shape":"Key"},
  1035. "ConsumedCapacity":{"shape":"ConsumedCapacity"}
  1036. }
  1037. },
  1038. "ScanSegment":{
  1039. "type":"integer",
  1040. "max":999999,
  1041. "min":0
  1042. },
  1043. "ScanTotalSegments":{
  1044. "type":"integer",
  1045. "max":1000000,
  1046. "min":1
  1047. },
  1048. "SecondaryIndexesCapacityMap":{
  1049. "type":"map",
  1050. "key":{"shape":"IndexName"},
  1051. "value":{"shape":"Capacity"}
  1052. },
  1053. "Select":{
  1054. "type":"string",
  1055. "enum":[
  1056. "ALL_ATTRIBUTES",
  1057. "ALL_PROJECTED_ATTRIBUTES",
  1058. "SPECIFIC_ATTRIBUTES",
  1059. "COUNT"
  1060. ]
  1061. },
  1062. "StreamArn":{
  1063. "type":"string",
  1064. "max":1024,
  1065. "min":37
  1066. },
  1067. "StreamEnabled":{"type":"boolean"},
  1068. "StreamSpecification":{
  1069. "type":"structure",
  1070. "members":{
  1071. "StreamEnabled":{"shape":"StreamEnabled"},
  1072. "StreamViewType":{"shape":"StreamViewType"}
  1073. }
  1074. },
  1075. "StreamViewType":{
  1076. "type":"string",
  1077. "enum":[
  1078. "NEW_IMAGE",
  1079. "OLD_IMAGE",
  1080. "NEW_AND_OLD_IMAGES",
  1081. "KEYS_ONLY"
  1082. ]
  1083. },
  1084. "String":{"type":"string"},
  1085. "StringAttributeValue":{"type":"string"},
  1086. "StringSetAttributeValue":{
  1087. "type":"list",
  1088. "member":{"shape":"StringAttributeValue"}
  1089. },
  1090. "TableDescription":{
  1091. "type":"structure",
  1092. "members":{
  1093. "AttributeDefinitions":{"shape":"AttributeDefinitions"},
  1094. "TableName":{"shape":"TableName"},
  1095. "KeySchema":{"shape":"KeySchema"},
  1096. "TableStatus":{"shape":"TableStatus"},
  1097. "CreationDateTime":{"shape":"Date"},
  1098. "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
  1099. "TableSizeBytes":{"shape":"Long"},
  1100. "ItemCount":{"shape":"Long"},
  1101. "TableArn":{"shape":"String"},
  1102. "LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexDescriptionList"},
  1103. "GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexDescriptionList"},
  1104. "StreamSpecification":{"shape":"StreamSpecification"},
  1105. "LatestStreamLabel":{"shape":"String"},
  1106. "LatestStreamArn":{"shape":"StreamArn"}
  1107. }
  1108. },
  1109. "TableName":{
  1110. "type":"string",
  1111. "max":255,
  1112. "min":3,
  1113. "pattern":"[a-zA-Z0-9_.-]+"
  1114. },
  1115. "TableNameList":{
  1116. "type":"list",
  1117. "member":{"shape":"TableName"}
  1118. },
  1119. "TableStatus":{
  1120. "type":"string",
  1121. "enum":[
  1122. "CREATING",
  1123. "UPDATING",
  1124. "DELETING",
  1125. "ACTIVE"
  1126. ]
  1127. },
  1128. "UpdateExpression":{"type":"string"},
  1129. "UpdateGlobalSecondaryIndexAction":{
  1130. "type":"structure",
  1131. "required":[
  1132. "IndexName",
  1133. "ProvisionedThroughput"
  1134. ],
  1135. "members":{
  1136. "IndexName":{"shape":"IndexName"},
  1137. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
  1138. }
  1139. },
  1140. "UpdateItemInput":{
  1141. "type":"structure",
  1142. "required":[
  1143. "TableName",
  1144. "Key"
  1145. ],
  1146. "members":{
  1147. "TableName":{"shape":"TableName"},
  1148. "Key":{"shape":"Key"},
  1149. "AttributeUpdates":{"shape":"AttributeUpdates"},
  1150. "Expected":{"shape":"ExpectedAttributeMap"},
  1151. "ConditionalOperator":{"shape":"ConditionalOperator"},
  1152. "ReturnValues":{"shape":"ReturnValue"},
  1153. "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"},
  1154. "ReturnItemCollectionMetrics":{"shape":"ReturnItemCollectionMetrics"},
  1155. "UpdateExpression":{"shape":"UpdateExpression"},
  1156. "ConditionExpression":{"shape":"ConditionExpression"},
  1157. "ExpressionAttributeNames":{"shape":"ExpressionAttributeNameMap"},
  1158. "ExpressionAttributeValues":{"shape":"ExpressionAttributeValueMap"}
  1159. }
  1160. },
  1161. "UpdateItemOutput":{
  1162. "type":"structure",
  1163. "members":{
  1164. "Attributes":{"shape":"AttributeMap"},
  1165. "ConsumedCapacity":{"shape":"ConsumedCapacity"},
  1166. "ItemCollectionMetrics":{"shape":"ItemCollectionMetrics"}
  1167. }
  1168. },
  1169. "UpdateTableInput":{
  1170. "type":"structure",
  1171. "required":["TableName"],
  1172. "members":{
  1173. "AttributeDefinitions":{"shape":"AttributeDefinitions"},
  1174. "TableName":{"shape":"TableName"},
  1175. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
  1176. "GlobalSecondaryIndexUpdates":{"shape":"GlobalSecondaryIndexUpdateList"},
  1177. "StreamSpecification":{"shape":"StreamSpecification"}
  1178. }
  1179. },
  1180. "UpdateTableOutput":{
  1181. "type":"structure",
  1182. "members":{
  1183. "TableDescription":{"shape":"TableDescription"}
  1184. }
  1185. },
  1186. "WriteRequest":{
  1187. "type":"structure",
  1188. "members":{
  1189. "PutRequest":{"shape":"PutRequest"},
  1190. "DeleteRequest":{"shape":"DeleteRequest"}
  1191. }
  1192. },
  1193. "WriteRequests":{
  1194. "type":"list",
  1195. "member":{"shape":"WriteRequest"},
  1196. "max":25,
  1197. "min":1
  1198. }
  1199. }
  1200. }