ivschat-2020-07-14.min.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-07-14",
  5. "endpointPrefix": "ivschat",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "ivschat",
  9. "serviceFullName": "Amazon Interactive Video Service Chat",
  10. "serviceId": "ivschat",
  11. "signatureVersion": "v4",
  12. "signingName": "ivschat",
  13. "uid": "ivschat-2020-07-14"
  14. },
  15. "operations": {
  16. "CreateChatToken": {
  17. "http": {
  18. "requestUri": "/CreateChatToken",
  19. "responseCode": 200
  20. },
  21. "input": {
  22. "type": "structure",
  23. "required": [
  24. "roomIdentifier",
  25. "userId"
  26. ],
  27. "members": {
  28. "attributes": {
  29. "type": "map",
  30. "key": {},
  31. "value": {},
  32. "sensitive": true
  33. },
  34. "capabilities": {
  35. "type": "list",
  36. "member": {}
  37. },
  38. "roomIdentifier": {},
  39. "sessionDurationInMinutes": {
  40. "type": "integer"
  41. },
  42. "userId": {
  43. "shape": "S8"
  44. }
  45. }
  46. },
  47. "output": {
  48. "type": "structure",
  49. "members": {
  50. "sessionExpirationTime": {
  51. "shape": "Sa"
  52. },
  53. "token": {
  54. "type": "string",
  55. "sensitive": true
  56. },
  57. "tokenExpirationTime": {
  58. "shape": "Sa"
  59. }
  60. }
  61. }
  62. },
  63. "CreateLoggingConfiguration": {
  64. "http": {
  65. "requestUri": "/CreateLoggingConfiguration",
  66. "responseCode": 200
  67. },
  68. "input": {
  69. "type": "structure",
  70. "required": [
  71. "destinationConfiguration"
  72. ],
  73. "members": {
  74. "destinationConfiguration": {
  75. "shape": "Sd"
  76. },
  77. "name": {},
  78. "tags": {
  79. "shape": "Sl"
  80. }
  81. }
  82. },
  83. "output": {
  84. "type": "structure",
  85. "members": {
  86. "arn": {},
  87. "createTime": {
  88. "shape": "Sa"
  89. },
  90. "destinationConfiguration": {
  91. "shape": "Sd"
  92. },
  93. "id": {},
  94. "name": {},
  95. "state": {},
  96. "tags": {
  97. "shape": "Sl"
  98. },
  99. "updateTime": {
  100. "shape": "Sa"
  101. }
  102. }
  103. }
  104. },
  105. "CreateRoom": {
  106. "http": {
  107. "requestUri": "/CreateRoom",
  108. "responseCode": 200
  109. },
  110. "input": {
  111. "type": "structure",
  112. "members": {
  113. "loggingConfigurationIdentifiers": {
  114. "shape": "St"
  115. },
  116. "maximumMessageLength": {
  117. "type": "integer"
  118. },
  119. "maximumMessageRatePerSecond": {
  120. "type": "integer"
  121. },
  122. "messageReviewHandler": {
  123. "shape": "Sx"
  124. },
  125. "name": {},
  126. "tags": {
  127. "shape": "Sl"
  128. }
  129. }
  130. },
  131. "output": {
  132. "type": "structure",
  133. "members": {
  134. "arn": {},
  135. "createTime": {
  136. "shape": "Sa"
  137. },
  138. "id": {},
  139. "loggingConfigurationIdentifiers": {
  140. "shape": "St"
  141. },
  142. "maximumMessageLength": {
  143. "type": "integer"
  144. },
  145. "maximumMessageRatePerSecond": {
  146. "type": "integer"
  147. },
  148. "messageReviewHandler": {
  149. "shape": "Sx"
  150. },
  151. "name": {},
  152. "tags": {
  153. "shape": "Sl"
  154. },
  155. "updateTime": {
  156. "shape": "Sa"
  157. }
  158. }
  159. }
  160. },
  161. "DeleteLoggingConfiguration": {
  162. "http": {
  163. "requestUri": "/DeleteLoggingConfiguration",
  164. "responseCode": 204
  165. },
  166. "input": {
  167. "type": "structure",
  168. "required": [
  169. "identifier"
  170. ],
  171. "members": {
  172. "identifier": {}
  173. }
  174. }
  175. },
  176. "DeleteMessage": {
  177. "http": {
  178. "requestUri": "/DeleteMessage",
  179. "responseCode": 200
  180. },
  181. "input": {
  182. "type": "structure",
  183. "required": [
  184. "id",
  185. "roomIdentifier"
  186. ],
  187. "members": {
  188. "id": {},
  189. "reason": {},
  190. "roomIdentifier": {}
  191. }
  192. },
  193. "output": {
  194. "type": "structure",
  195. "members": {
  196. "id": {}
  197. }
  198. }
  199. },
  200. "DeleteRoom": {
  201. "http": {
  202. "requestUri": "/DeleteRoom",
  203. "responseCode": 204
  204. },
  205. "input": {
  206. "type": "structure",
  207. "required": [
  208. "identifier"
  209. ],
  210. "members": {
  211. "identifier": {}
  212. }
  213. }
  214. },
  215. "DisconnectUser": {
  216. "http": {
  217. "requestUri": "/DisconnectUser",
  218. "responseCode": 200
  219. },
  220. "input": {
  221. "type": "structure",
  222. "required": [
  223. "roomIdentifier",
  224. "userId"
  225. ],
  226. "members": {
  227. "reason": {},
  228. "roomIdentifier": {},
  229. "userId": {
  230. "shape": "S8"
  231. }
  232. }
  233. },
  234. "output": {
  235. "type": "structure",
  236. "members": {}
  237. }
  238. },
  239. "GetLoggingConfiguration": {
  240. "http": {
  241. "requestUri": "/GetLoggingConfiguration",
  242. "responseCode": 200
  243. },
  244. "input": {
  245. "type": "structure",
  246. "required": [
  247. "identifier"
  248. ],
  249. "members": {
  250. "identifier": {}
  251. }
  252. },
  253. "output": {
  254. "type": "structure",
  255. "members": {
  256. "arn": {},
  257. "createTime": {
  258. "shape": "Sa"
  259. },
  260. "destinationConfiguration": {
  261. "shape": "Sd"
  262. },
  263. "id": {},
  264. "name": {},
  265. "state": {},
  266. "tags": {
  267. "shape": "Sl"
  268. },
  269. "updateTime": {
  270. "shape": "Sa"
  271. }
  272. }
  273. }
  274. },
  275. "GetRoom": {
  276. "http": {
  277. "requestUri": "/GetRoom",
  278. "responseCode": 200
  279. },
  280. "input": {
  281. "type": "structure",
  282. "required": [
  283. "identifier"
  284. ],
  285. "members": {
  286. "identifier": {}
  287. }
  288. },
  289. "output": {
  290. "type": "structure",
  291. "members": {
  292. "arn": {},
  293. "createTime": {
  294. "shape": "Sa"
  295. },
  296. "id": {},
  297. "loggingConfigurationIdentifiers": {
  298. "shape": "St"
  299. },
  300. "maximumMessageLength": {
  301. "type": "integer"
  302. },
  303. "maximumMessageRatePerSecond": {
  304. "type": "integer"
  305. },
  306. "messageReviewHandler": {
  307. "shape": "Sx"
  308. },
  309. "name": {},
  310. "tags": {
  311. "shape": "Sl"
  312. },
  313. "updateTime": {
  314. "shape": "Sa"
  315. }
  316. }
  317. }
  318. },
  319. "ListLoggingConfigurations": {
  320. "http": {
  321. "requestUri": "/ListLoggingConfigurations",
  322. "responseCode": 200
  323. },
  324. "input": {
  325. "type": "structure",
  326. "members": {
  327. "maxResults": {
  328. "type": "integer"
  329. },
  330. "nextToken": {}
  331. }
  332. },
  333. "output": {
  334. "type": "structure",
  335. "required": [
  336. "loggingConfigurations"
  337. ],
  338. "members": {
  339. "loggingConfigurations": {
  340. "type": "list",
  341. "member": {
  342. "type": "structure",
  343. "members": {
  344. "arn": {},
  345. "createTime": {
  346. "shape": "Sa"
  347. },
  348. "destinationConfiguration": {
  349. "shape": "Sd"
  350. },
  351. "id": {},
  352. "name": {},
  353. "state": {},
  354. "tags": {
  355. "shape": "Sl"
  356. },
  357. "updateTime": {
  358. "shape": "Sa"
  359. }
  360. }
  361. }
  362. },
  363. "nextToken": {}
  364. }
  365. }
  366. },
  367. "ListRooms": {
  368. "http": {
  369. "requestUri": "/ListRooms",
  370. "responseCode": 200
  371. },
  372. "input": {
  373. "type": "structure",
  374. "members": {
  375. "loggingConfigurationIdentifier": {},
  376. "maxResults": {
  377. "type": "integer"
  378. },
  379. "messageReviewHandlerUri": {},
  380. "name": {},
  381. "nextToken": {}
  382. }
  383. },
  384. "output": {
  385. "type": "structure",
  386. "required": [
  387. "rooms"
  388. ],
  389. "members": {
  390. "nextToken": {},
  391. "rooms": {
  392. "type": "list",
  393. "member": {
  394. "type": "structure",
  395. "members": {
  396. "arn": {},
  397. "createTime": {
  398. "shape": "Sa"
  399. },
  400. "id": {},
  401. "loggingConfigurationIdentifiers": {
  402. "shape": "St"
  403. },
  404. "messageReviewHandler": {
  405. "shape": "Sx"
  406. },
  407. "name": {},
  408. "tags": {
  409. "shape": "Sl"
  410. },
  411. "updateTime": {
  412. "shape": "Sa"
  413. }
  414. }
  415. }
  416. }
  417. }
  418. }
  419. },
  420. "ListTagsForResource": {
  421. "http": {
  422. "method": "GET",
  423. "requestUri": "/tags/{resourceArn}",
  424. "responseCode": 200
  425. },
  426. "input": {
  427. "type": "structure",
  428. "required": [
  429. "resourceArn"
  430. ],
  431. "members": {
  432. "resourceArn": {
  433. "location": "uri",
  434. "locationName": "resourceArn"
  435. }
  436. }
  437. },
  438. "output": {
  439. "type": "structure",
  440. "required": [
  441. "tags"
  442. ],
  443. "members": {
  444. "tags": {
  445. "shape": "Sl"
  446. }
  447. }
  448. }
  449. },
  450. "SendEvent": {
  451. "http": {
  452. "requestUri": "/SendEvent",
  453. "responseCode": 200
  454. },
  455. "input": {
  456. "type": "structure",
  457. "required": [
  458. "eventName",
  459. "roomIdentifier"
  460. ],
  461. "members": {
  462. "attributes": {
  463. "type": "map",
  464. "key": {},
  465. "value": {}
  466. },
  467. "eventName": {},
  468. "roomIdentifier": {}
  469. }
  470. },
  471. "output": {
  472. "type": "structure",
  473. "members": {
  474. "id": {}
  475. }
  476. }
  477. },
  478. "TagResource": {
  479. "http": {
  480. "requestUri": "/tags/{resourceArn}",
  481. "responseCode": 200
  482. },
  483. "input": {
  484. "type": "structure",
  485. "required": [
  486. "resourceArn",
  487. "tags"
  488. ],
  489. "members": {
  490. "resourceArn": {
  491. "location": "uri",
  492. "locationName": "resourceArn"
  493. },
  494. "tags": {
  495. "shape": "Sl"
  496. }
  497. }
  498. },
  499. "output": {
  500. "type": "structure",
  501. "members": {}
  502. }
  503. },
  504. "UntagResource": {
  505. "http": {
  506. "method": "DELETE",
  507. "requestUri": "/tags/{resourceArn}",
  508. "responseCode": 200
  509. },
  510. "input": {
  511. "type": "structure",
  512. "required": [
  513. "resourceArn",
  514. "tagKeys"
  515. ],
  516. "members": {
  517. "resourceArn": {
  518. "location": "uri",
  519. "locationName": "resourceArn"
  520. },
  521. "tagKeys": {
  522. "location": "querystring",
  523. "locationName": "tagKeys",
  524. "type": "list",
  525. "member": {}
  526. }
  527. }
  528. },
  529. "output": {
  530. "type": "structure",
  531. "members": {}
  532. },
  533. "idempotent": true
  534. },
  535. "UpdateLoggingConfiguration": {
  536. "http": {
  537. "requestUri": "/UpdateLoggingConfiguration",
  538. "responseCode": 200
  539. },
  540. "input": {
  541. "type": "structure",
  542. "required": [
  543. "identifier"
  544. ],
  545. "members": {
  546. "destinationConfiguration": {
  547. "shape": "Sd"
  548. },
  549. "identifier": {},
  550. "name": {}
  551. }
  552. },
  553. "output": {
  554. "type": "structure",
  555. "members": {
  556. "arn": {},
  557. "createTime": {
  558. "shape": "Sa"
  559. },
  560. "destinationConfiguration": {
  561. "shape": "Sd"
  562. },
  563. "id": {},
  564. "name": {},
  565. "state": {},
  566. "tags": {
  567. "shape": "Sl"
  568. },
  569. "updateTime": {
  570. "shape": "Sa"
  571. }
  572. }
  573. }
  574. },
  575. "UpdateRoom": {
  576. "http": {
  577. "requestUri": "/UpdateRoom",
  578. "responseCode": 200
  579. },
  580. "input": {
  581. "type": "structure",
  582. "required": [
  583. "identifier"
  584. ],
  585. "members": {
  586. "identifier": {},
  587. "loggingConfigurationIdentifiers": {
  588. "shape": "St"
  589. },
  590. "maximumMessageLength": {
  591. "type": "integer"
  592. },
  593. "maximumMessageRatePerSecond": {
  594. "type": "integer"
  595. },
  596. "messageReviewHandler": {
  597. "shape": "Sx"
  598. },
  599. "name": {}
  600. }
  601. },
  602. "output": {
  603. "type": "structure",
  604. "members": {
  605. "arn": {},
  606. "createTime": {
  607. "shape": "Sa"
  608. },
  609. "id": {},
  610. "loggingConfigurationIdentifiers": {
  611. "shape": "St"
  612. },
  613. "maximumMessageLength": {
  614. "type": "integer"
  615. },
  616. "maximumMessageRatePerSecond": {
  617. "type": "integer"
  618. },
  619. "messageReviewHandler": {
  620. "shape": "Sx"
  621. },
  622. "name": {},
  623. "tags": {
  624. "shape": "Sl"
  625. },
  626. "updateTime": {
  627. "shape": "Sa"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "shapes": {
  634. "S8": {
  635. "type": "string",
  636. "sensitive": true
  637. },
  638. "Sa": {
  639. "type": "timestamp",
  640. "timestampFormat": "iso8601"
  641. },
  642. "Sd": {
  643. "type": "structure",
  644. "members": {
  645. "cloudWatchLogs": {
  646. "type": "structure",
  647. "required": [
  648. "logGroupName"
  649. ],
  650. "members": {
  651. "logGroupName": {}
  652. }
  653. },
  654. "firehose": {
  655. "type": "structure",
  656. "required": [
  657. "deliveryStreamName"
  658. ],
  659. "members": {
  660. "deliveryStreamName": {}
  661. }
  662. },
  663. "s3": {
  664. "type": "structure",
  665. "required": [
  666. "bucketName"
  667. ],
  668. "members": {
  669. "bucketName": {}
  670. }
  671. }
  672. },
  673. "union": true
  674. },
  675. "Sl": {
  676. "type": "map",
  677. "key": {},
  678. "value": {}
  679. },
  680. "St": {
  681. "type": "list",
  682. "member": {}
  683. },
  684. "Sx": {
  685. "type": "structure",
  686. "members": {
  687. "fallbackResult": {},
  688. "uri": {}
  689. }
  690. }
  691. }
  692. }