api-2.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2013-12-02",
  5. "endpointPrefix":"kinesis",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceAbbreviation":"Kinesis",
  9. "serviceFullName":"Amazon Kinesis",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"Kinesis_20131202"
  12. },
  13. "operations":{
  14. "AddTagsToStream":{
  15. "name":"AddTagsToStream",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"AddTagsToStreamInput"},
  21. "errors":[
  22. {"shape":"ResourceNotFoundException"},
  23. {"shape":"ResourceInUseException"},
  24. {"shape":"InvalidArgumentException"},
  25. {"shape":"LimitExceededException"}
  26. ]
  27. },
  28. "CreateStream":{
  29. "name":"CreateStream",
  30. "http":{
  31. "method":"POST",
  32. "requestUri":"/"
  33. },
  34. "input":{"shape":"CreateStreamInput"},
  35. "errors":[
  36. {"shape":"ResourceInUseException"},
  37. {"shape":"LimitExceededException"},
  38. {"shape":"InvalidArgumentException"}
  39. ]
  40. },
  41. "DecreaseStreamRetentionPeriod":{
  42. "name":"DecreaseStreamRetentionPeriod",
  43. "http":{
  44. "method":"POST",
  45. "requestUri":"/"
  46. },
  47. "input":{"shape":"DecreaseStreamRetentionPeriodInput"},
  48. "errors":[
  49. {"shape":"ResourceInUseException"},
  50. {"shape":"ResourceNotFoundException"},
  51. {"shape":"LimitExceededException"},
  52. {"shape":"InvalidArgumentException"}
  53. ]
  54. },
  55. "DeleteStream":{
  56. "name":"DeleteStream",
  57. "http":{
  58. "method":"POST",
  59. "requestUri":"/"
  60. },
  61. "input":{"shape":"DeleteStreamInput"},
  62. "errors":[
  63. {"shape":"ResourceNotFoundException"},
  64. {"shape":"LimitExceededException"}
  65. ]
  66. },
  67. "DescribeStream":{
  68. "name":"DescribeStream",
  69. "http":{
  70. "method":"POST",
  71. "requestUri":"/"
  72. },
  73. "input":{"shape":"DescribeStreamInput"},
  74. "output":{"shape":"DescribeStreamOutput"},
  75. "errors":[
  76. {"shape":"ResourceNotFoundException"},
  77. {"shape":"LimitExceededException"}
  78. ]
  79. },
  80. "DisableEnhancedMonitoring":{
  81. "name":"DisableEnhancedMonitoring",
  82. "http":{
  83. "method":"POST",
  84. "requestUri":"/"
  85. },
  86. "input":{"shape":"DisableEnhancedMonitoringInput"},
  87. "output":{"shape":"EnhancedMonitoringOutput"},
  88. "errors":[
  89. {"shape":"InvalidArgumentException"},
  90. {"shape":"LimitExceededException"},
  91. {"shape":"ResourceInUseException"},
  92. {"shape":"ResourceNotFoundException"}
  93. ]
  94. },
  95. "EnableEnhancedMonitoring":{
  96. "name":"EnableEnhancedMonitoring",
  97. "http":{
  98. "method":"POST",
  99. "requestUri":"/"
  100. },
  101. "input":{"shape":"EnableEnhancedMonitoringInput"},
  102. "output":{"shape":"EnhancedMonitoringOutput"},
  103. "errors":[
  104. {"shape":"InvalidArgumentException"},
  105. {"shape":"LimitExceededException"},
  106. {"shape":"ResourceInUseException"},
  107. {"shape":"ResourceNotFoundException"}
  108. ]
  109. },
  110. "GetRecords":{
  111. "name":"GetRecords",
  112. "http":{
  113. "method":"POST",
  114. "requestUri":"/"
  115. },
  116. "input":{"shape":"GetRecordsInput"},
  117. "output":{"shape":"GetRecordsOutput"},
  118. "errors":[
  119. {"shape":"ResourceNotFoundException"},
  120. {"shape":"InvalidArgumentException"},
  121. {"shape":"ProvisionedThroughputExceededException"},
  122. {"shape":"ExpiredIteratorException"}
  123. ]
  124. },
  125. "GetShardIterator":{
  126. "name":"GetShardIterator",
  127. "http":{
  128. "method":"POST",
  129. "requestUri":"/"
  130. },
  131. "input":{"shape":"GetShardIteratorInput"},
  132. "output":{"shape":"GetShardIteratorOutput"},
  133. "errors":[
  134. {"shape":"ResourceNotFoundException"},
  135. {"shape":"InvalidArgumentException"},
  136. {"shape":"ProvisionedThroughputExceededException"}
  137. ]
  138. },
  139. "IncreaseStreamRetentionPeriod":{
  140. "name":"IncreaseStreamRetentionPeriod",
  141. "http":{
  142. "method":"POST",
  143. "requestUri":"/"
  144. },
  145. "input":{"shape":"IncreaseStreamRetentionPeriodInput"},
  146. "errors":[
  147. {"shape":"ResourceInUseException"},
  148. {"shape":"ResourceNotFoundException"},
  149. {"shape":"LimitExceededException"},
  150. {"shape":"InvalidArgumentException"}
  151. ]
  152. },
  153. "ListStreams":{
  154. "name":"ListStreams",
  155. "http":{
  156. "method":"POST",
  157. "requestUri":"/"
  158. },
  159. "input":{"shape":"ListStreamsInput"},
  160. "output":{"shape":"ListStreamsOutput"},
  161. "errors":[
  162. {"shape":"LimitExceededException"}
  163. ]
  164. },
  165. "ListTagsForStream":{
  166. "name":"ListTagsForStream",
  167. "http":{
  168. "method":"POST",
  169. "requestUri":"/"
  170. },
  171. "input":{"shape":"ListTagsForStreamInput"},
  172. "output":{"shape":"ListTagsForStreamOutput"},
  173. "errors":[
  174. {"shape":"ResourceNotFoundException"},
  175. {"shape":"InvalidArgumentException"},
  176. {"shape":"LimitExceededException"}
  177. ]
  178. },
  179. "MergeShards":{
  180. "name":"MergeShards",
  181. "http":{
  182. "method":"POST",
  183. "requestUri":"/"
  184. },
  185. "input":{"shape":"MergeShardsInput"},
  186. "errors":[
  187. {"shape":"ResourceNotFoundException"},
  188. {"shape":"ResourceInUseException"},
  189. {"shape":"InvalidArgumentException"},
  190. {"shape":"LimitExceededException"}
  191. ]
  192. },
  193. "PutRecord":{
  194. "name":"PutRecord",
  195. "http":{
  196. "method":"POST",
  197. "requestUri":"/"
  198. },
  199. "input":{"shape":"PutRecordInput"},
  200. "output":{"shape":"PutRecordOutput"},
  201. "errors":[
  202. {"shape":"ResourceNotFoundException"},
  203. {"shape":"InvalidArgumentException"},
  204. {"shape":"ProvisionedThroughputExceededException"}
  205. ]
  206. },
  207. "PutRecords":{
  208. "name":"PutRecords",
  209. "http":{
  210. "method":"POST",
  211. "requestUri":"/"
  212. },
  213. "input":{"shape":"PutRecordsInput"},
  214. "output":{"shape":"PutRecordsOutput"},
  215. "errors":[
  216. {"shape":"ResourceNotFoundException"},
  217. {"shape":"InvalidArgumentException"},
  218. {"shape":"ProvisionedThroughputExceededException"}
  219. ]
  220. },
  221. "RemoveTagsFromStream":{
  222. "name":"RemoveTagsFromStream",
  223. "http":{
  224. "method":"POST",
  225. "requestUri":"/"
  226. },
  227. "input":{"shape":"RemoveTagsFromStreamInput"},
  228. "errors":[
  229. {"shape":"ResourceNotFoundException"},
  230. {"shape":"ResourceInUseException"},
  231. {"shape":"InvalidArgumentException"},
  232. {"shape":"LimitExceededException"}
  233. ]
  234. },
  235. "SplitShard":{
  236. "name":"SplitShard",
  237. "http":{
  238. "method":"POST",
  239. "requestUri":"/"
  240. },
  241. "input":{"shape":"SplitShardInput"},
  242. "errors":[
  243. {"shape":"ResourceNotFoundException"},
  244. {"shape":"ResourceInUseException"},
  245. {"shape":"InvalidArgumentException"},
  246. {"shape":"LimitExceededException"}
  247. ]
  248. }
  249. },
  250. "shapes":{
  251. "AddTagsToStreamInput":{
  252. "type":"structure",
  253. "required":[
  254. "StreamName",
  255. "Tags"
  256. ],
  257. "members":{
  258. "StreamName":{"shape":"StreamName"},
  259. "Tags":{"shape":"TagMap"}
  260. }
  261. },
  262. "ApproximateArrivalTimestamp":{"type":"timestamp"},
  263. "BooleanObject":{"type":"boolean"},
  264. "CreateStreamInput":{
  265. "type":"structure",
  266. "required":[
  267. "StreamName",
  268. "ShardCount"
  269. ],
  270. "members":{
  271. "StreamName":{"shape":"StreamName"},
  272. "ShardCount":{"shape":"PositiveIntegerObject"}
  273. }
  274. },
  275. "Data":{
  276. "type":"blob",
  277. "max":1048576,
  278. "min":0
  279. },
  280. "DecreaseStreamRetentionPeriodInput":{
  281. "type":"structure",
  282. "required":[
  283. "StreamName",
  284. "RetentionPeriodHours"
  285. ],
  286. "members":{
  287. "StreamName":{"shape":"StreamName"},
  288. "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
  289. }
  290. },
  291. "DeleteStreamInput":{
  292. "type":"structure",
  293. "required":["StreamName"],
  294. "members":{
  295. "StreamName":{"shape":"StreamName"}
  296. }
  297. },
  298. "DescribeStreamInput":{
  299. "type":"structure",
  300. "required":["StreamName"],
  301. "members":{
  302. "StreamName":{"shape":"StreamName"},
  303. "Limit":{"shape":"DescribeStreamInputLimit"},
  304. "ExclusiveStartShardId":{"shape":"ShardId"}
  305. }
  306. },
  307. "DescribeStreamInputLimit":{
  308. "type":"integer",
  309. "max":10000,
  310. "min":1
  311. },
  312. "DescribeStreamOutput":{
  313. "type":"structure",
  314. "required":["StreamDescription"],
  315. "members":{
  316. "StreamDescription":{"shape":"StreamDescription"}
  317. }
  318. },
  319. "DisableEnhancedMonitoringInput":{
  320. "type":"structure",
  321. "required":[
  322. "StreamName",
  323. "ShardLevelMetrics"
  324. ],
  325. "members":{
  326. "StreamName":{"shape":"StreamName"},
  327. "ShardLevelMetrics":{"shape":"MetricsNameList"}
  328. }
  329. },
  330. "EnableEnhancedMonitoringInput":{
  331. "type":"structure",
  332. "required":[
  333. "StreamName",
  334. "ShardLevelMetrics"
  335. ],
  336. "members":{
  337. "StreamName":{"shape":"StreamName"},
  338. "ShardLevelMetrics":{"shape":"MetricsNameList"}
  339. }
  340. },
  341. "EnhancedMetrics":{
  342. "type":"structure",
  343. "members":{
  344. "ShardLevelMetrics":{"shape":"MetricsNameList"}
  345. }
  346. },
  347. "EnhancedMonitoringList":{
  348. "type":"list",
  349. "member":{"shape":"EnhancedMetrics"}
  350. },
  351. "EnhancedMonitoringOutput":{
  352. "type":"structure",
  353. "members":{
  354. "StreamName":{"shape":"StreamName"},
  355. "CurrentShardLevelMetrics":{"shape":"MetricsNameList"},
  356. "DesiredShardLevelMetrics":{"shape":"MetricsNameList"}
  357. }
  358. },
  359. "ErrorCode":{"type":"string"},
  360. "ErrorMessage":{"type":"string"},
  361. "ExpiredIteratorException":{
  362. "type":"structure",
  363. "members":{
  364. "message":{"shape":"ErrorMessage"}
  365. },
  366. "exception":true
  367. },
  368. "GetRecordsInput":{
  369. "type":"structure",
  370. "required":["ShardIterator"],
  371. "members":{
  372. "ShardIterator":{"shape":"ShardIterator"},
  373. "Limit":{"shape":"GetRecordsInputLimit"}
  374. }
  375. },
  376. "GetRecordsInputLimit":{
  377. "type":"integer",
  378. "max":10000,
  379. "min":1
  380. },
  381. "GetRecordsOutput":{
  382. "type":"structure",
  383. "required":["Records"],
  384. "members":{
  385. "Records":{"shape":"RecordList"},
  386. "NextShardIterator":{"shape":"ShardIterator"},
  387. "MillisBehindLatest":{"shape":"MillisBehindLatest"}
  388. }
  389. },
  390. "GetShardIteratorInput":{
  391. "type":"structure",
  392. "required":[
  393. "StreamName",
  394. "ShardId",
  395. "ShardIteratorType"
  396. ],
  397. "members":{
  398. "StreamName":{"shape":"StreamName"},
  399. "ShardId":{"shape":"ShardId"},
  400. "ShardIteratorType":{"shape":"ShardIteratorType"},
  401. "StartingSequenceNumber":{"shape":"SequenceNumber"},
  402. "Timestamp":{"shape":"Timestamp"}
  403. }
  404. },
  405. "GetShardIteratorOutput":{
  406. "type":"structure",
  407. "members":{
  408. "ShardIterator":{"shape":"ShardIterator"}
  409. }
  410. },
  411. "HashKey":{
  412. "type":"string",
  413. "pattern":"0|([1-9]\\d{0,38})"
  414. },
  415. "HashKeyRange":{
  416. "type":"structure",
  417. "required":[
  418. "StartingHashKey",
  419. "EndingHashKey"
  420. ],
  421. "members":{
  422. "StartingHashKey":{"shape":"HashKey"},
  423. "EndingHashKey":{"shape":"HashKey"}
  424. }
  425. },
  426. "IncreaseStreamRetentionPeriodInput":{
  427. "type":"structure",
  428. "required":[
  429. "StreamName",
  430. "RetentionPeriodHours"
  431. ],
  432. "members":{
  433. "StreamName":{"shape":"StreamName"},
  434. "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
  435. }
  436. },
  437. "InvalidArgumentException":{
  438. "type":"structure",
  439. "members":{
  440. "message":{"shape":"ErrorMessage"}
  441. },
  442. "exception":true
  443. },
  444. "LimitExceededException":{
  445. "type":"structure",
  446. "members":{
  447. "message":{"shape":"ErrorMessage"}
  448. },
  449. "exception":true
  450. },
  451. "ListStreamsInput":{
  452. "type":"structure",
  453. "members":{
  454. "Limit":{"shape":"ListStreamsInputLimit"},
  455. "ExclusiveStartStreamName":{"shape":"StreamName"}
  456. }
  457. },
  458. "ListStreamsInputLimit":{
  459. "type":"integer",
  460. "max":10000,
  461. "min":1
  462. },
  463. "ListStreamsOutput":{
  464. "type":"structure",
  465. "required":[
  466. "StreamNames",
  467. "HasMoreStreams"
  468. ],
  469. "members":{
  470. "StreamNames":{"shape":"StreamNameList"},
  471. "HasMoreStreams":{"shape":"BooleanObject"}
  472. }
  473. },
  474. "ListTagsForStreamInput":{
  475. "type":"structure",
  476. "required":["StreamName"],
  477. "members":{
  478. "StreamName":{"shape":"StreamName"},
  479. "ExclusiveStartTagKey":{"shape":"TagKey"},
  480. "Limit":{"shape":"ListTagsForStreamInputLimit"}
  481. }
  482. },
  483. "ListTagsForStreamInputLimit":{
  484. "type":"integer",
  485. "max":10,
  486. "min":1
  487. },
  488. "ListTagsForStreamOutput":{
  489. "type":"structure",
  490. "required":[
  491. "Tags",
  492. "HasMoreTags"
  493. ],
  494. "members":{
  495. "Tags":{"shape":"TagList"},
  496. "HasMoreTags":{"shape":"BooleanObject"}
  497. }
  498. },
  499. "MergeShardsInput":{
  500. "type":"structure",
  501. "required":[
  502. "StreamName",
  503. "ShardToMerge",
  504. "AdjacentShardToMerge"
  505. ],
  506. "members":{
  507. "StreamName":{"shape":"StreamName"},
  508. "ShardToMerge":{"shape":"ShardId"},
  509. "AdjacentShardToMerge":{"shape":"ShardId"}
  510. }
  511. },
  512. "MetricsName":{
  513. "type":"string",
  514. "enum":[
  515. "IncomingBytes",
  516. "IncomingRecords",
  517. "OutgoingBytes",
  518. "OutgoingRecords",
  519. "WriteProvisionedThroughputExceeded",
  520. "ReadProvisionedThroughputExceeded",
  521. "IteratorAgeMilliseconds",
  522. "ALL"
  523. ]
  524. },
  525. "MetricsNameList":{
  526. "type":"list",
  527. "member":{"shape":"MetricsName"},
  528. "max":7,
  529. "min":1
  530. },
  531. "MillisBehindLatest":{
  532. "type":"long",
  533. "min":0
  534. },
  535. "PartitionKey":{
  536. "type":"string",
  537. "max":256,
  538. "min":1
  539. },
  540. "PositiveIntegerObject":{
  541. "type":"integer",
  542. "max":100000,
  543. "min":1
  544. },
  545. "ProvisionedThroughputExceededException":{
  546. "type":"structure",
  547. "members":{
  548. "message":{"shape":"ErrorMessage"}
  549. },
  550. "exception":true
  551. },
  552. "PutRecordInput":{
  553. "type":"structure",
  554. "required":[
  555. "StreamName",
  556. "Data",
  557. "PartitionKey"
  558. ],
  559. "members":{
  560. "StreamName":{"shape":"StreamName"},
  561. "Data":{"shape":"Data"},
  562. "PartitionKey":{"shape":"PartitionKey"},
  563. "ExplicitHashKey":{"shape":"HashKey"},
  564. "SequenceNumberForOrdering":{"shape":"SequenceNumber"}
  565. }
  566. },
  567. "PutRecordOutput":{
  568. "type":"structure",
  569. "required":[
  570. "ShardId",
  571. "SequenceNumber"
  572. ],
  573. "members":{
  574. "ShardId":{"shape":"ShardId"},
  575. "SequenceNumber":{"shape":"SequenceNumber"}
  576. }
  577. },
  578. "PutRecordsInput":{
  579. "type":"structure",
  580. "required":[
  581. "Records",
  582. "StreamName"
  583. ],
  584. "members":{
  585. "Records":{"shape":"PutRecordsRequestEntryList"},
  586. "StreamName":{"shape":"StreamName"}
  587. }
  588. },
  589. "PutRecordsOutput":{
  590. "type":"structure",
  591. "required":["Records"],
  592. "members":{
  593. "FailedRecordCount":{"shape":"PositiveIntegerObject"},
  594. "Records":{"shape":"PutRecordsResultEntryList"}
  595. }
  596. },
  597. "PutRecordsRequestEntry":{
  598. "type":"structure",
  599. "required":[
  600. "Data",
  601. "PartitionKey"
  602. ],
  603. "members":{
  604. "Data":{"shape":"Data"},
  605. "ExplicitHashKey":{"shape":"HashKey"},
  606. "PartitionKey":{"shape":"PartitionKey"}
  607. }
  608. },
  609. "PutRecordsRequestEntryList":{
  610. "type":"list",
  611. "member":{"shape":"PutRecordsRequestEntry"},
  612. "max":500,
  613. "min":1
  614. },
  615. "PutRecordsResultEntry":{
  616. "type":"structure",
  617. "members":{
  618. "SequenceNumber":{"shape":"SequenceNumber"},
  619. "ShardId":{"shape":"ShardId"},
  620. "ErrorCode":{"shape":"ErrorCode"},
  621. "ErrorMessage":{"shape":"ErrorMessage"}
  622. }
  623. },
  624. "PutRecordsResultEntryList":{
  625. "type":"list",
  626. "member":{"shape":"PutRecordsResultEntry"},
  627. "max":500,
  628. "min":1
  629. },
  630. "Record":{
  631. "type":"structure",
  632. "required":[
  633. "SequenceNumber",
  634. "Data",
  635. "PartitionKey"
  636. ],
  637. "members":{
  638. "SequenceNumber":{"shape":"SequenceNumber"},
  639. "ApproximateArrivalTimestamp":{"shape":"ApproximateArrivalTimestamp"},
  640. "Data":{"shape":"Data"},
  641. "PartitionKey":{"shape":"PartitionKey"}
  642. }
  643. },
  644. "RecordList":{
  645. "type":"list",
  646. "member":{"shape":"Record"}
  647. },
  648. "RemoveTagsFromStreamInput":{
  649. "type":"structure",
  650. "required":[
  651. "StreamName",
  652. "TagKeys"
  653. ],
  654. "members":{
  655. "StreamName":{"shape":"StreamName"},
  656. "TagKeys":{"shape":"TagKeyList"}
  657. }
  658. },
  659. "ResourceInUseException":{
  660. "type":"structure",
  661. "members":{
  662. "message":{"shape":"ErrorMessage"}
  663. },
  664. "exception":true
  665. },
  666. "ResourceNotFoundException":{
  667. "type":"structure",
  668. "members":{
  669. "message":{"shape":"ErrorMessage"}
  670. },
  671. "exception":true
  672. },
  673. "RetentionPeriodHours":{
  674. "type":"integer",
  675. "max":168,
  676. "min":24
  677. },
  678. "SequenceNumber":{
  679. "type":"string",
  680. "pattern":"0|([1-9]\\d{0,128})"
  681. },
  682. "SequenceNumberRange":{
  683. "type":"structure",
  684. "required":["StartingSequenceNumber"],
  685. "members":{
  686. "StartingSequenceNumber":{"shape":"SequenceNumber"},
  687. "EndingSequenceNumber":{"shape":"SequenceNumber"}
  688. }
  689. },
  690. "Shard":{
  691. "type":"structure",
  692. "required":[
  693. "ShardId",
  694. "HashKeyRange",
  695. "SequenceNumberRange"
  696. ],
  697. "members":{
  698. "ShardId":{"shape":"ShardId"},
  699. "ParentShardId":{"shape":"ShardId"},
  700. "AdjacentParentShardId":{"shape":"ShardId"},
  701. "HashKeyRange":{"shape":"HashKeyRange"},
  702. "SequenceNumberRange":{"shape":"SequenceNumberRange"}
  703. }
  704. },
  705. "ShardId":{
  706. "type":"string",
  707. "max":128,
  708. "min":1,
  709. "pattern":"[a-zA-Z0-9_.-]+"
  710. },
  711. "ShardIterator":{
  712. "type":"string",
  713. "max":512,
  714. "min":1
  715. },
  716. "ShardIteratorType":{
  717. "type":"string",
  718. "enum":[
  719. "AT_SEQUENCE_NUMBER",
  720. "AFTER_SEQUENCE_NUMBER",
  721. "TRIM_HORIZON",
  722. "LATEST",
  723. "AT_TIMESTAMP"
  724. ]
  725. },
  726. "ShardList":{
  727. "type":"list",
  728. "member":{"shape":"Shard"}
  729. },
  730. "SplitShardInput":{
  731. "type":"structure",
  732. "required":[
  733. "StreamName",
  734. "ShardToSplit",
  735. "NewStartingHashKey"
  736. ],
  737. "members":{
  738. "StreamName":{"shape":"StreamName"},
  739. "ShardToSplit":{"shape":"ShardId"},
  740. "NewStartingHashKey":{"shape":"HashKey"}
  741. }
  742. },
  743. "StreamARN":{"type":"string"},
  744. "StreamDescription":{
  745. "type":"structure",
  746. "required":[
  747. "StreamName",
  748. "StreamARN",
  749. "StreamStatus",
  750. "Shards",
  751. "HasMoreShards",
  752. "RetentionPeriodHours",
  753. "EnhancedMonitoring"
  754. ],
  755. "members":{
  756. "StreamName":{"shape":"StreamName"},
  757. "StreamARN":{"shape":"StreamARN"},
  758. "StreamStatus":{"shape":"StreamStatus"},
  759. "Shards":{"shape":"ShardList"},
  760. "HasMoreShards":{"shape":"BooleanObject"},
  761. "RetentionPeriodHours":{"shape":"RetentionPeriodHours"},
  762. "EnhancedMonitoring":{"shape":"EnhancedMonitoringList"}
  763. }
  764. },
  765. "StreamName":{
  766. "type":"string",
  767. "max":128,
  768. "min":1,
  769. "pattern":"[a-zA-Z0-9_.-]+"
  770. },
  771. "StreamNameList":{
  772. "type":"list",
  773. "member":{"shape":"StreamName"}
  774. },
  775. "StreamStatus":{
  776. "type":"string",
  777. "enum":[
  778. "CREATING",
  779. "DELETING",
  780. "ACTIVE",
  781. "UPDATING"
  782. ]
  783. },
  784. "Tag":{
  785. "type":"structure",
  786. "required":["Key"],
  787. "members":{
  788. "Key":{"shape":"TagKey"},
  789. "Value":{"shape":"TagValue"}
  790. }
  791. },
  792. "TagKey":{
  793. "type":"string",
  794. "max":128,
  795. "min":1
  796. },
  797. "TagKeyList":{
  798. "type":"list",
  799. "member":{"shape":"TagKey"},
  800. "max":10,
  801. "min":1
  802. },
  803. "TagList":{
  804. "type":"list",
  805. "member":{"shape":"Tag"},
  806. "min":0
  807. },
  808. "TagMap":{
  809. "type":"map",
  810. "key":{"shape":"TagKey"},
  811. "value":{"shape":"TagValue"},
  812. "max":10,
  813. "min":1
  814. },
  815. "TagValue":{
  816. "type":"string",
  817. "max":256,
  818. "min":0
  819. },
  820. "Timestamp":{"type":"timestamp"}
  821. }
  822. }