api-2.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2011-12-05",
  5. "endpointPrefix":"dynamodb",
  6. "jsonVersion":"1.0",
  7. "protocol":"json",
  8. "serviceAbbreviation":"DynamoDB",
  9. "serviceFullName":"Amazon DynamoDB",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"DynamoDB_20111205"
  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":"LimitExceededException"},
  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":"LimitExceededException"},
  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. "DescribeTable":{
  89. "name":"DescribeTable",
  90. "http":{
  91. "method":"POST",
  92. "requestUri":"/"
  93. },
  94. "input":{"shape":"DescribeTableInput"},
  95. "output":{"shape":"DescribeTableOutput"},
  96. "errors":[
  97. {"shape":"ResourceNotFoundException"},
  98. {"shape":"InternalServerError"}
  99. ]
  100. },
  101. "GetItem":{
  102. "name":"GetItem",
  103. "http":{
  104. "method":"POST",
  105. "requestUri":"/"
  106. },
  107. "input":{"shape":"GetItemInput"},
  108. "output":{"shape":"GetItemOutput"},
  109. "errors":[
  110. {"shape":"ProvisionedThroughputExceededException"},
  111. {"shape":"ResourceNotFoundException"},
  112. {"shape":"InternalServerError"}
  113. ]
  114. },
  115. "ListTables":{
  116. "name":"ListTables",
  117. "http":{
  118. "method":"POST",
  119. "requestUri":"/"
  120. },
  121. "input":{"shape":"ListTablesInput"},
  122. "output":{"shape":"ListTablesOutput"},
  123. "errors":[
  124. {"shape":"InternalServerError"}
  125. ]
  126. },
  127. "PutItem":{
  128. "name":"PutItem",
  129. "http":{
  130. "method":"POST",
  131. "requestUri":"/"
  132. },
  133. "input":{"shape":"PutItemInput"},
  134. "output":{"shape":"PutItemOutput"},
  135. "errors":[
  136. {"shape":"ConditionalCheckFailedException"},
  137. {"shape":"ProvisionedThroughputExceededException"},
  138. {"shape":"ResourceNotFoundException"},
  139. {"shape":"LimitExceededException"},
  140. {"shape":"InternalServerError"}
  141. ]
  142. },
  143. "Query":{
  144. "name":"Query",
  145. "http":{
  146. "method":"POST",
  147. "requestUri":"/"
  148. },
  149. "input":{"shape":"QueryInput"},
  150. "output":{"shape":"QueryOutput"},
  151. "errors":[
  152. {"shape":"ProvisionedThroughputExceededException"},
  153. {"shape":"ResourceNotFoundException"},
  154. {"shape":"InternalServerError"}
  155. ]
  156. },
  157. "Scan":{
  158. "name":"Scan",
  159. "http":{
  160. "method":"POST",
  161. "requestUri":"/"
  162. },
  163. "input":{"shape":"ScanInput"},
  164. "output":{"shape":"ScanOutput"},
  165. "errors":[
  166. {"shape":"ProvisionedThroughputExceededException"},
  167. {"shape":"ResourceNotFoundException"},
  168. {"shape":"InternalServerError"}
  169. ]
  170. },
  171. "UpdateItem":{
  172. "name":"UpdateItem",
  173. "http":{
  174. "method":"POST",
  175. "requestUri":"/"
  176. },
  177. "input":{"shape":"UpdateItemInput"},
  178. "output":{"shape":"UpdateItemOutput"},
  179. "errors":[
  180. {"shape":"ConditionalCheckFailedException"},
  181. {"shape":"ProvisionedThroughputExceededException"},
  182. {"shape":"ResourceNotFoundException"},
  183. {"shape":"LimitExceededException"},
  184. {"shape":"InternalServerError"}
  185. ]
  186. },
  187. "UpdateTable":{
  188. "name":"UpdateTable",
  189. "http":{
  190. "method":"POST",
  191. "requestUri":"/"
  192. },
  193. "input":{"shape":"UpdateTableInput"},
  194. "output":{"shape":"UpdateTableOutput"},
  195. "errors":[
  196. {"shape":"ResourceInUseException"},
  197. {"shape":"ResourceNotFoundException"},
  198. {"shape":"LimitExceededException"},
  199. {"shape":"InternalServerError"}
  200. ]
  201. }
  202. },
  203. "shapes":{
  204. "AttributeAction":{
  205. "type":"string",
  206. "enum":[
  207. "ADD",
  208. "PUT",
  209. "DELETE"
  210. ]
  211. },
  212. "AttributeMap":{
  213. "type":"map",
  214. "key":{"shape":"AttributeName"},
  215. "value":{"shape":"AttributeValue"}
  216. },
  217. "AttributeName":{
  218. "type":"string",
  219. "max":65535
  220. },
  221. "AttributeNameList":{
  222. "type":"list",
  223. "member":{"shape":"AttributeName"},
  224. "min":1
  225. },
  226. "AttributeUpdates":{
  227. "type":"map",
  228. "key":{"shape":"AttributeName"},
  229. "value":{"shape":"AttributeValueUpdate"}
  230. },
  231. "AttributeValue":{
  232. "type":"structure",
  233. "members":{
  234. "S":{"shape":"StringAttributeValue"},
  235. "N":{"shape":"NumberAttributeValue"},
  236. "B":{"shape":"BinaryAttributeValue"},
  237. "SS":{"shape":"StringSetAttributeValue"},
  238. "NS":{"shape":"NumberSetAttributeValue"},
  239. "BS":{"shape":"BinarySetAttributeValue"}
  240. }
  241. },
  242. "AttributeValueList":{
  243. "type":"list",
  244. "member":{"shape":"AttributeValue"}
  245. },
  246. "AttributeValueUpdate":{
  247. "type":"structure",
  248. "members":{
  249. "Value":{"shape":"AttributeValue"},
  250. "Action":{"shape":"AttributeAction"}
  251. }
  252. },
  253. "BatchGetItemInput":{
  254. "type":"structure",
  255. "required":["RequestItems"],
  256. "members":{
  257. "RequestItems":{"shape":"BatchGetRequestMap"}
  258. }
  259. },
  260. "BatchGetItemOutput":{
  261. "type":"structure",
  262. "members":{
  263. "Responses":{"shape":"BatchGetResponseMap"},
  264. "UnprocessedKeys":{"shape":"BatchGetRequestMap"}
  265. }
  266. },
  267. "BatchGetRequestMap":{
  268. "type":"map",
  269. "key":{"shape":"TableName"},
  270. "value":{"shape":"KeysAndAttributes"},
  271. "max":100,
  272. "min":1
  273. },
  274. "BatchGetResponseMap":{
  275. "type":"map",
  276. "key":{"shape":"TableName"},
  277. "value":{"shape":"BatchResponse"}
  278. },
  279. "BatchResponse":{
  280. "type":"structure",
  281. "members":{
  282. "Items":{"shape":"ItemList"},
  283. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  284. }
  285. },
  286. "BatchWriteItemInput":{
  287. "type":"structure",
  288. "required":["RequestItems"],
  289. "members":{
  290. "RequestItems":{"shape":"BatchWriteItemRequestMap"}
  291. }
  292. },
  293. "BatchWriteItemOutput":{
  294. "type":"structure",
  295. "members":{
  296. "Responses":{"shape":"BatchWriteResponseMap"},
  297. "UnprocessedItems":{"shape":"BatchWriteItemRequestMap"}
  298. }
  299. },
  300. "BatchWriteItemRequestMap":{
  301. "type":"map",
  302. "key":{"shape":"TableName"},
  303. "value":{"shape":"WriteRequests"},
  304. "max":25,
  305. "min":1
  306. },
  307. "BatchWriteResponse":{
  308. "type":"structure",
  309. "members":{
  310. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  311. }
  312. },
  313. "BatchWriteResponseMap":{
  314. "type":"map",
  315. "key":{"shape":"TableName"},
  316. "value":{"shape":"BatchWriteResponse"}
  317. },
  318. "BinaryAttributeValue":{"type":"blob"},
  319. "BinarySetAttributeValue":{
  320. "type":"list",
  321. "member":{"shape":"BinaryAttributeValue"}
  322. },
  323. "BooleanObject":{"type":"boolean"},
  324. "ComparisonOperator":{
  325. "type":"string",
  326. "enum":[
  327. "EQ",
  328. "NE",
  329. "IN",
  330. "LE",
  331. "LT",
  332. "GE",
  333. "GT",
  334. "BETWEEN",
  335. "NOT_NULL",
  336. "NULL",
  337. "CONTAINS",
  338. "NOT_CONTAINS",
  339. "BEGINS_WITH"
  340. ]
  341. },
  342. "Condition":{
  343. "type":"structure",
  344. "required":["ComparisonOperator"],
  345. "members":{
  346. "AttributeValueList":{"shape":"AttributeValueList"},
  347. "ComparisonOperator":{"shape":"ComparisonOperator"}
  348. }
  349. },
  350. "ConditionalCheckFailedException":{
  351. "type":"structure",
  352. "members":{
  353. "message":{"shape":"ErrorMessage"}
  354. },
  355. "exception":true
  356. },
  357. "ConsistentRead":{"type":"boolean"},
  358. "ConsumedCapacityUnits":{"type":"double"},
  359. "CreateTableInput":{
  360. "type":"structure",
  361. "required":[
  362. "TableName",
  363. "KeySchema",
  364. "ProvisionedThroughput"
  365. ],
  366. "members":{
  367. "TableName":{"shape":"TableName"},
  368. "KeySchema":{"shape":"KeySchema"},
  369. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
  370. }
  371. },
  372. "CreateTableOutput":{
  373. "type":"structure",
  374. "members":{
  375. "TableDescription":{"shape":"TableDescription"}
  376. }
  377. },
  378. "Date":{"type":"timestamp"},
  379. "DeleteItemInput":{
  380. "type":"structure",
  381. "required":[
  382. "TableName",
  383. "Key"
  384. ],
  385. "members":{
  386. "TableName":{"shape":"TableName"},
  387. "Key":{"shape":"Key"},
  388. "Expected":{"shape":"ExpectedAttributeMap"},
  389. "ReturnValues":{"shape":"ReturnValue"}
  390. }
  391. },
  392. "DeleteItemOutput":{
  393. "type":"structure",
  394. "members":{
  395. "Attributes":{"shape":"AttributeMap"},
  396. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  397. }
  398. },
  399. "DeleteRequest":{
  400. "type":"structure",
  401. "required":["Key"],
  402. "members":{
  403. "Key":{"shape":"Key"}
  404. }
  405. },
  406. "DeleteTableInput":{
  407. "type":"structure",
  408. "required":["TableName"],
  409. "members":{
  410. "TableName":{"shape":"TableName"}
  411. }
  412. },
  413. "DeleteTableOutput":{
  414. "type":"structure",
  415. "members":{
  416. "TableDescription":{"shape":"TableDescription"}
  417. }
  418. },
  419. "DescribeTableInput":{
  420. "type":"structure",
  421. "required":["TableName"],
  422. "members":{
  423. "TableName":{"shape":"TableName"}
  424. }
  425. },
  426. "DescribeTableOutput":{
  427. "type":"structure",
  428. "members":{
  429. "Table":{"shape":"TableDescription"}
  430. }
  431. },
  432. "ErrorMessage":{"type":"string"},
  433. "ExpectedAttributeMap":{
  434. "type":"map",
  435. "key":{"shape":"AttributeName"},
  436. "value":{"shape":"ExpectedAttributeValue"}
  437. },
  438. "ExpectedAttributeValue":{
  439. "type":"structure",
  440. "members":{
  441. "Value":{"shape":"AttributeValue"},
  442. "Exists":{"shape":"BooleanObject"}
  443. }
  444. },
  445. "FilterConditionMap":{
  446. "type":"map",
  447. "key":{"shape":"String"},
  448. "value":{"shape":"Condition"}
  449. },
  450. "GetItemInput":{
  451. "type":"structure",
  452. "required":[
  453. "TableName",
  454. "Key"
  455. ],
  456. "members":{
  457. "TableName":{"shape":"TableName"},
  458. "Key":{"shape":"Key"},
  459. "AttributesToGet":{"shape":"AttributeNameList"},
  460. "ConsistentRead":{"shape":"ConsistentRead"}
  461. }
  462. },
  463. "GetItemOutput":{
  464. "type":"structure",
  465. "members":{
  466. "Item":{"shape":"AttributeMap"},
  467. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  468. }
  469. },
  470. "Integer":{"type":"integer"},
  471. "InternalServerError":{
  472. "type":"structure",
  473. "members":{
  474. "message":{"shape":"ErrorMessage"}
  475. },
  476. "exception":true,
  477. "fault":true
  478. },
  479. "ItemList":{
  480. "type":"list",
  481. "member":{"shape":"AttributeMap"}
  482. },
  483. "Key":{
  484. "type":"structure",
  485. "required":["HashKeyElement"],
  486. "members":{
  487. "HashKeyElement":{"shape":"AttributeValue"},
  488. "RangeKeyElement":{"shape":"AttributeValue"}
  489. }
  490. },
  491. "KeyList":{
  492. "type":"list",
  493. "member":{"shape":"Key"},
  494. "max":100,
  495. "min":1
  496. },
  497. "KeySchema":{
  498. "type":"structure",
  499. "required":["HashKeyElement"],
  500. "members":{
  501. "HashKeyElement":{"shape":"KeySchemaElement"},
  502. "RangeKeyElement":{"shape":"KeySchemaElement"}
  503. }
  504. },
  505. "KeySchemaAttributeName":{
  506. "type":"string",
  507. "max":255,
  508. "min":1
  509. },
  510. "KeySchemaElement":{
  511. "type":"structure",
  512. "required":[
  513. "AttributeName",
  514. "AttributeType"
  515. ],
  516. "members":{
  517. "AttributeName":{"shape":"KeySchemaAttributeName"},
  518. "AttributeType":{"shape":"ScalarAttributeType"}
  519. }
  520. },
  521. "KeysAndAttributes":{
  522. "type":"structure",
  523. "required":["Keys"],
  524. "members":{
  525. "Keys":{"shape":"KeyList"},
  526. "AttributesToGet":{"shape":"AttributeNameList"},
  527. "ConsistentRead":{"shape":"ConsistentRead"}
  528. }
  529. },
  530. "LimitExceededException":{
  531. "type":"structure",
  532. "members":{
  533. "message":{"shape":"ErrorMessage"}
  534. },
  535. "exception":true
  536. },
  537. "ListTablesInput":{
  538. "type":"structure",
  539. "members":{
  540. "ExclusiveStartTableName":{"shape":"TableName"},
  541. "Limit":{"shape":"ListTablesInputLimit"}
  542. }
  543. },
  544. "ListTablesInputLimit":{
  545. "type":"integer",
  546. "max":100,
  547. "min":1
  548. },
  549. "ListTablesOutput":{
  550. "type":"structure",
  551. "members":{
  552. "TableNames":{"shape":"TableNameList"},
  553. "LastEvaluatedTableName":{"shape":"TableName"}
  554. }
  555. },
  556. "Long":{"type":"long"},
  557. "NumberAttributeValue":{"type":"string"},
  558. "NumberSetAttributeValue":{
  559. "type":"list",
  560. "member":{"shape":"NumberAttributeValue"}
  561. },
  562. "PositiveIntegerObject":{
  563. "type":"integer",
  564. "min":1
  565. },
  566. "PositiveLongObject":{
  567. "type":"long",
  568. "min":1
  569. },
  570. "ProvisionedThroughput":{
  571. "type":"structure",
  572. "required":[
  573. "ReadCapacityUnits",
  574. "WriteCapacityUnits"
  575. ],
  576. "members":{
  577. "ReadCapacityUnits":{"shape":"PositiveLongObject"},
  578. "WriteCapacityUnits":{"shape":"PositiveLongObject"}
  579. }
  580. },
  581. "ProvisionedThroughputDescription":{
  582. "type":"structure",
  583. "members":{
  584. "LastIncreaseDateTime":{"shape":"Date"},
  585. "LastDecreaseDateTime":{"shape":"Date"},
  586. "NumberOfDecreasesToday":{"shape":"PositiveLongObject"},
  587. "ReadCapacityUnits":{"shape":"PositiveLongObject"},
  588. "WriteCapacityUnits":{"shape":"PositiveLongObject"}
  589. }
  590. },
  591. "ProvisionedThroughputExceededException":{
  592. "type":"structure",
  593. "members":{
  594. "message":{"shape":"ErrorMessage"}
  595. },
  596. "exception":true
  597. },
  598. "PutItemInput":{
  599. "type":"structure",
  600. "required":[
  601. "TableName",
  602. "Item"
  603. ],
  604. "members":{
  605. "TableName":{"shape":"TableName"},
  606. "Item":{"shape":"PutItemInputAttributeMap"},
  607. "Expected":{"shape":"ExpectedAttributeMap"},
  608. "ReturnValues":{"shape":"ReturnValue"}
  609. }
  610. },
  611. "PutItemInputAttributeMap":{
  612. "type":"map",
  613. "key":{"shape":"AttributeName"},
  614. "value":{"shape":"AttributeValue"}
  615. },
  616. "PutItemOutput":{
  617. "type":"structure",
  618. "members":{
  619. "Attributes":{"shape":"AttributeMap"},
  620. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  621. }
  622. },
  623. "PutRequest":{
  624. "type":"structure",
  625. "required":["Item"],
  626. "members":{
  627. "Item":{"shape":"PutItemInputAttributeMap"}
  628. }
  629. },
  630. "QueryInput":{
  631. "type":"structure",
  632. "required":[
  633. "TableName",
  634. "HashKeyValue"
  635. ],
  636. "members":{
  637. "TableName":{"shape":"TableName"},
  638. "AttributesToGet":{"shape":"AttributeNameList"},
  639. "Limit":{"shape":"PositiveIntegerObject"},
  640. "ConsistentRead":{"shape":"ConsistentRead"},
  641. "Count":{"shape":"BooleanObject"},
  642. "HashKeyValue":{"shape":"AttributeValue"},
  643. "RangeKeyCondition":{"shape":"Condition"},
  644. "ScanIndexForward":{"shape":"BooleanObject"},
  645. "ExclusiveStartKey":{"shape":"Key"}
  646. }
  647. },
  648. "QueryOutput":{
  649. "type":"structure",
  650. "members":{
  651. "Items":{"shape":"ItemList"},
  652. "Count":{"shape":"Integer"},
  653. "LastEvaluatedKey":{"shape":"Key"},
  654. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  655. }
  656. },
  657. "ResourceInUseException":{
  658. "type":"structure",
  659. "members":{
  660. "message":{"shape":"ErrorMessage"}
  661. },
  662. "exception":true
  663. },
  664. "ResourceNotFoundException":{
  665. "type":"structure",
  666. "members":{
  667. "message":{"shape":"ErrorMessage"}
  668. },
  669. "exception":true
  670. },
  671. "ReturnValue":{
  672. "type":"string",
  673. "enum":[
  674. "NONE",
  675. "ALL_OLD",
  676. "UPDATED_OLD",
  677. "ALL_NEW",
  678. "UPDATED_NEW"
  679. ]
  680. },
  681. "ScalarAttributeType":{
  682. "type":"string",
  683. "enum":[
  684. "S",
  685. "N",
  686. "B"
  687. ]
  688. },
  689. "ScanInput":{
  690. "type":"structure",
  691. "required":["TableName"],
  692. "members":{
  693. "TableName":{"shape":"TableName"},
  694. "AttributesToGet":{"shape":"AttributeNameList"},
  695. "Limit":{"shape":"PositiveIntegerObject"},
  696. "Count":{"shape":"BooleanObject"},
  697. "ScanFilter":{"shape":"FilterConditionMap"},
  698. "ExclusiveStartKey":{"shape":"Key"}
  699. }
  700. },
  701. "ScanOutput":{
  702. "type":"structure",
  703. "members":{
  704. "Items":{"shape":"ItemList"},
  705. "Count":{"shape":"Integer"},
  706. "ScannedCount":{"shape":"Integer"},
  707. "LastEvaluatedKey":{"shape":"Key"},
  708. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  709. }
  710. },
  711. "String":{"type":"string"},
  712. "StringAttributeValue":{"type":"string"},
  713. "StringSetAttributeValue":{
  714. "type":"list",
  715. "member":{"shape":"StringAttributeValue"}
  716. },
  717. "TableDescription":{
  718. "type":"structure",
  719. "members":{
  720. "TableName":{"shape":"TableName"},
  721. "KeySchema":{"shape":"KeySchema"},
  722. "TableStatus":{"shape":"TableStatus"},
  723. "CreationDateTime":{"shape":"Date"},
  724. "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
  725. "TableSizeBytes":{"shape":"Long"},
  726. "ItemCount":{"shape":"Long"}
  727. }
  728. },
  729. "TableName":{
  730. "type":"string",
  731. "max":255,
  732. "min":3,
  733. "pattern":"[a-zA-Z0-9_.-]+"
  734. },
  735. "TableNameList":{
  736. "type":"list",
  737. "member":{"shape":"TableName"}
  738. },
  739. "TableStatus":{
  740. "type":"string",
  741. "enum":[
  742. "CREATING",
  743. "UPDATING",
  744. "DELETING",
  745. "ACTIVE"
  746. ]
  747. },
  748. "UpdateItemInput":{
  749. "type":"structure",
  750. "required":[
  751. "TableName",
  752. "Key",
  753. "AttributeUpdates"
  754. ],
  755. "members":{
  756. "TableName":{"shape":"TableName"},
  757. "Key":{"shape":"Key"},
  758. "AttributeUpdates":{"shape":"AttributeUpdates"},
  759. "Expected":{"shape":"ExpectedAttributeMap"},
  760. "ReturnValues":{"shape":"ReturnValue"}
  761. }
  762. },
  763. "UpdateItemOutput":{
  764. "type":"structure",
  765. "members":{
  766. "Attributes":{"shape":"AttributeMap"},
  767. "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
  768. }
  769. },
  770. "UpdateTableInput":{
  771. "type":"structure",
  772. "required":[
  773. "TableName",
  774. "ProvisionedThroughput"
  775. ],
  776. "members":{
  777. "TableName":{"shape":"TableName"},
  778. "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
  779. }
  780. },
  781. "UpdateTableOutput":{
  782. "type":"structure",
  783. "members":{
  784. "TableDescription":{"shape":"TableDescription"}
  785. }
  786. },
  787. "WriteRequest":{
  788. "type":"structure",
  789. "members":{
  790. "PutRequest":{"shape":"PutRequest"},
  791. "DeleteRequest":{"shape":"DeleteRequest"}
  792. }
  793. },
  794. "WriteRequests":{
  795. "type":"list",
  796. "member":{"shape":"WriteRequest"},
  797. "max":25,
  798. "min":1
  799. }
  800. }
  801. }