chime-sdk-messaging-2021-05-15.min.json 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2021-05-15",
  5. "endpointPrefix": "messaging-chime",
  6. "protocol": "rest-json",
  7. "serviceFullName": "Amazon Chime SDK Messaging",
  8. "serviceId": "Chime SDK Messaging",
  9. "signatureVersion": "v4",
  10. "signingName": "chime",
  11. "uid": "chime-sdk-messaging-2021-05-15"
  12. },
  13. "operations": {
  14. "AssociateChannelFlow": {
  15. "http": {
  16. "method": "PUT",
  17. "requestUri": "/channels/{channelArn}/channel-flow",
  18. "responseCode": 200
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "ChannelArn",
  24. "ChannelFlowArn",
  25. "ChimeBearer"
  26. ],
  27. "members": {
  28. "ChannelArn": {
  29. "location": "uri",
  30. "locationName": "channelArn"
  31. },
  32. "ChannelFlowArn": {},
  33. "ChimeBearer": {
  34. "location": "header",
  35. "locationName": "x-amz-chime-bearer"
  36. }
  37. }
  38. }
  39. },
  40. "BatchCreateChannelMembership": {
  41. "http": {
  42. "requestUri": "/channels/{channelArn}/memberships?operation=batch-create",
  43. "responseCode": 200
  44. },
  45. "input": {
  46. "type": "structure",
  47. "required": [
  48. "ChannelArn",
  49. "MemberArns",
  50. "ChimeBearer"
  51. ],
  52. "members": {
  53. "ChannelArn": {
  54. "location": "uri",
  55. "locationName": "channelArn"
  56. },
  57. "Type": {},
  58. "MemberArns": {
  59. "type": "list",
  60. "member": {}
  61. },
  62. "ChimeBearer": {
  63. "location": "header",
  64. "locationName": "x-amz-chime-bearer"
  65. },
  66. "SubChannelId": {}
  67. }
  68. },
  69. "output": {
  70. "type": "structure",
  71. "members": {
  72. "BatchChannelMemberships": {
  73. "type": "structure",
  74. "members": {
  75. "InvitedBy": {
  76. "shape": "S9"
  77. },
  78. "Type": {},
  79. "Members": {
  80. "type": "list",
  81. "member": {
  82. "shape": "S9"
  83. }
  84. },
  85. "ChannelArn": {},
  86. "SubChannelId": {}
  87. }
  88. },
  89. "Errors": {
  90. "type": "list",
  91. "member": {
  92. "type": "structure",
  93. "members": {
  94. "MemberArn": {},
  95. "ErrorCode": {},
  96. "ErrorMessage": {}
  97. }
  98. }
  99. }
  100. }
  101. }
  102. },
  103. "ChannelFlowCallback": {
  104. "http": {
  105. "requestUri": "/channels/{channelArn}?operation=channel-flow-callback",
  106. "responseCode": 200
  107. },
  108. "input": {
  109. "type": "structure",
  110. "required": [
  111. "CallbackId",
  112. "ChannelArn",
  113. "ChannelMessage"
  114. ],
  115. "members": {
  116. "CallbackId": {
  117. "idempotencyToken": true
  118. },
  119. "ChannelArn": {
  120. "location": "uri",
  121. "locationName": "channelArn"
  122. },
  123. "DeleteResource": {
  124. "type": "boolean"
  125. },
  126. "ChannelMessage": {
  127. "type": "structure",
  128. "required": [
  129. "MessageId"
  130. ],
  131. "members": {
  132. "MessageId": {},
  133. "Content": {
  134. "shape": "Sl"
  135. },
  136. "Metadata": {
  137. "shape": "Sm"
  138. },
  139. "PushNotification": {
  140. "shape": "Sn"
  141. },
  142. "MessageAttributes": {
  143. "shape": "Sr"
  144. },
  145. "SubChannelId": {},
  146. "ContentType": {
  147. "shape": "Sw"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "output": {
  154. "type": "structure",
  155. "members": {
  156. "ChannelArn": {},
  157. "CallbackId": {}
  158. }
  159. }
  160. },
  161. "CreateChannel": {
  162. "http": {
  163. "requestUri": "/channels",
  164. "responseCode": 201
  165. },
  166. "input": {
  167. "type": "structure",
  168. "required": [
  169. "AppInstanceArn",
  170. "Name",
  171. "ClientRequestToken",
  172. "ChimeBearer"
  173. ],
  174. "members": {
  175. "AppInstanceArn": {},
  176. "Name": {
  177. "shape": "Sz"
  178. },
  179. "Mode": {},
  180. "Privacy": {},
  181. "Metadata": {
  182. "shape": "Sm"
  183. },
  184. "ClientRequestToken": {
  185. "shape": "S12",
  186. "idempotencyToken": true
  187. },
  188. "Tags": {
  189. "shape": "S13"
  190. },
  191. "ChimeBearer": {
  192. "location": "header",
  193. "locationName": "x-amz-chime-bearer"
  194. },
  195. "ChannelId": {
  196. "type": "string",
  197. "sensitive": true
  198. },
  199. "MemberArns": {
  200. "type": "list",
  201. "member": {}
  202. },
  203. "ModeratorArns": {
  204. "type": "list",
  205. "member": {}
  206. },
  207. "ElasticChannelConfiguration": {
  208. "shape": "S1a"
  209. },
  210. "ExpirationSettings": {
  211. "shape": "S1e"
  212. }
  213. }
  214. },
  215. "output": {
  216. "type": "structure",
  217. "members": {
  218. "ChannelArn": {}
  219. }
  220. }
  221. },
  222. "CreateChannelBan": {
  223. "http": {
  224. "requestUri": "/channels/{channelArn}/bans",
  225. "responseCode": 201
  226. },
  227. "input": {
  228. "type": "structure",
  229. "required": [
  230. "ChannelArn",
  231. "MemberArn",
  232. "ChimeBearer"
  233. ],
  234. "members": {
  235. "ChannelArn": {
  236. "location": "uri",
  237. "locationName": "channelArn"
  238. },
  239. "MemberArn": {},
  240. "ChimeBearer": {
  241. "location": "header",
  242. "locationName": "x-amz-chime-bearer"
  243. }
  244. }
  245. },
  246. "output": {
  247. "type": "structure",
  248. "members": {
  249. "ChannelArn": {},
  250. "Member": {
  251. "shape": "S9"
  252. }
  253. }
  254. }
  255. },
  256. "CreateChannelFlow": {
  257. "http": {
  258. "requestUri": "/channel-flows",
  259. "responseCode": 201
  260. },
  261. "input": {
  262. "type": "structure",
  263. "required": [
  264. "AppInstanceArn",
  265. "Processors",
  266. "Name",
  267. "ClientRequestToken"
  268. ],
  269. "members": {
  270. "AppInstanceArn": {},
  271. "Processors": {
  272. "shape": "S1l"
  273. },
  274. "Name": {
  275. "shape": "Sz"
  276. },
  277. "Tags": {
  278. "shape": "S13"
  279. },
  280. "ClientRequestToken": {
  281. "shape": "S12",
  282. "idempotencyToken": true
  283. }
  284. }
  285. },
  286. "output": {
  287. "type": "structure",
  288. "members": {
  289. "ChannelFlowArn": {}
  290. }
  291. }
  292. },
  293. "CreateChannelMembership": {
  294. "http": {
  295. "requestUri": "/channels/{channelArn}/memberships",
  296. "responseCode": 201
  297. },
  298. "input": {
  299. "type": "structure",
  300. "required": [
  301. "ChannelArn",
  302. "MemberArn",
  303. "Type",
  304. "ChimeBearer"
  305. ],
  306. "members": {
  307. "ChannelArn": {
  308. "location": "uri",
  309. "locationName": "channelArn"
  310. },
  311. "MemberArn": {},
  312. "Type": {},
  313. "ChimeBearer": {
  314. "location": "header",
  315. "locationName": "x-amz-chime-bearer"
  316. },
  317. "SubChannelId": {}
  318. }
  319. },
  320. "output": {
  321. "type": "structure",
  322. "members": {
  323. "ChannelArn": {},
  324. "Member": {
  325. "shape": "S9"
  326. },
  327. "SubChannelId": {}
  328. }
  329. }
  330. },
  331. "CreateChannelModerator": {
  332. "http": {
  333. "requestUri": "/channels/{channelArn}/moderators",
  334. "responseCode": 201
  335. },
  336. "input": {
  337. "type": "structure",
  338. "required": [
  339. "ChannelArn",
  340. "ChannelModeratorArn",
  341. "ChimeBearer"
  342. ],
  343. "members": {
  344. "ChannelArn": {
  345. "location": "uri",
  346. "locationName": "channelArn"
  347. },
  348. "ChannelModeratorArn": {},
  349. "ChimeBearer": {
  350. "location": "header",
  351. "locationName": "x-amz-chime-bearer"
  352. }
  353. }
  354. },
  355. "output": {
  356. "type": "structure",
  357. "members": {
  358. "ChannelArn": {},
  359. "ChannelModerator": {
  360. "shape": "S9"
  361. }
  362. }
  363. }
  364. },
  365. "DeleteChannel": {
  366. "http": {
  367. "method": "DELETE",
  368. "requestUri": "/channels/{channelArn}",
  369. "responseCode": 204
  370. },
  371. "input": {
  372. "type": "structure",
  373. "required": [
  374. "ChannelArn",
  375. "ChimeBearer"
  376. ],
  377. "members": {
  378. "ChannelArn": {
  379. "location": "uri",
  380. "locationName": "channelArn"
  381. },
  382. "ChimeBearer": {
  383. "location": "header",
  384. "locationName": "x-amz-chime-bearer"
  385. }
  386. }
  387. }
  388. },
  389. "DeleteChannelBan": {
  390. "http": {
  391. "method": "DELETE",
  392. "requestUri": "/channels/{channelArn}/bans/{memberArn}",
  393. "responseCode": 204
  394. },
  395. "input": {
  396. "type": "structure",
  397. "required": [
  398. "ChannelArn",
  399. "MemberArn",
  400. "ChimeBearer"
  401. ],
  402. "members": {
  403. "ChannelArn": {
  404. "location": "uri",
  405. "locationName": "channelArn"
  406. },
  407. "MemberArn": {
  408. "location": "uri",
  409. "locationName": "memberArn"
  410. },
  411. "ChimeBearer": {
  412. "location": "header",
  413. "locationName": "x-amz-chime-bearer"
  414. }
  415. }
  416. }
  417. },
  418. "DeleteChannelFlow": {
  419. "http": {
  420. "method": "DELETE",
  421. "requestUri": "/channel-flows/{channelFlowArn}",
  422. "responseCode": 204
  423. },
  424. "input": {
  425. "type": "structure",
  426. "required": [
  427. "ChannelFlowArn"
  428. ],
  429. "members": {
  430. "ChannelFlowArn": {
  431. "location": "uri",
  432. "locationName": "channelFlowArn"
  433. }
  434. }
  435. }
  436. },
  437. "DeleteChannelMembership": {
  438. "http": {
  439. "method": "DELETE",
  440. "requestUri": "/channels/{channelArn}/memberships/{memberArn}",
  441. "responseCode": 204
  442. },
  443. "input": {
  444. "type": "structure",
  445. "required": [
  446. "ChannelArn",
  447. "MemberArn",
  448. "ChimeBearer"
  449. ],
  450. "members": {
  451. "ChannelArn": {
  452. "location": "uri",
  453. "locationName": "channelArn"
  454. },
  455. "MemberArn": {
  456. "location": "uri",
  457. "locationName": "memberArn"
  458. },
  459. "ChimeBearer": {
  460. "location": "header",
  461. "locationName": "x-amz-chime-bearer"
  462. },
  463. "SubChannelId": {
  464. "location": "querystring",
  465. "locationName": "sub-channel-id"
  466. }
  467. }
  468. }
  469. },
  470. "DeleteChannelMessage": {
  471. "http": {
  472. "method": "DELETE",
  473. "requestUri": "/channels/{channelArn}/messages/{messageId}",
  474. "responseCode": 204
  475. },
  476. "input": {
  477. "type": "structure",
  478. "required": [
  479. "ChannelArn",
  480. "MessageId",
  481. "ChimeBearer"
  482. ],
  483. "members": {
  484. "ChannelArn": {
  485. "location": "uri",
  486. "locationName": "channelArn"
  487. },
  488. "MessageId": {
  489. "location": "uri",
  490. "locationName": "messageId"
  491. },
  492. "ChimeBearer": {
  493. "location": "header",
  494. "locationName": "x-amz-chime-bearer"
  495. },
  496. "SubChannelId": {
  497. "location": "querystring",
  498. "locationName": "sub-channel-id"
  499. }
  500. }
  501. }
  502. },
  503. "DeleteChannelModerator": {
  504. "http": {
  505. "method": "DELETE",
  506. "requestUri": "/channels/{channelArn}/moderators/{channelModeratorArn}",
  507. "responseCode": 204
  508. },
  509. "input": {
  510. "type": "structure",
  511. "required": [
  512. "ChannelArn",
  513. "ChannelModeratorArn",
  514. "ChimeBearer"
  515. ],
  516. "members": {
  517. "ChannelArn": {
  518. "location": "uri",
  519. "locationName": "channelArn"
  520. },
  521. "ChannelModeratorArn": {
  522. "location": "uri",
  523. "locationName": "channelModeratorArn"
  524. },
  525. "ChimeBearer": {
  526. "location": "header",
  527. "locationName": "x-amz-chime-bearer"
  528. }
  529. }
  530. }
  531. },
  532. "DeleteMessagingStreamingConfigurations": {
  533. "http": {
  534. "method": "DELETE",
  535. "requestUri": "/app-instances/{appInstanceArn}/streaming-configurations",
  536. "responseCode": 204
  537. },
  538. "input": {
  539. "type": "structure",
  540. "required": [
  541. "AppInstanceArn"
  542. ],
  543. "members": {
  544. "AppInstanceArn": {
  545. "location": "uri",
  546. "locationName": "appInstanceArn"
  547. }
  548. }
  549. }
  550. },
  551. "DescribeChannel": {
  552. "http": {
  553. "method": "GET",
  554. "requestUri": "/channels/{channelArn}",
  555. "responseCode": 200
  556. },
  557. "input": {
  558. "type": "structure",
  559. "required": [
  560. "ChannelArn",
  561. "ChimeBearer"
  562. ],
  563. "members": {
  564. "ChannelArn": {
  565. "location": "uri",
  566. "locationName": "channelArn"
  567. },
  568. "ChimeBearer": {
  569. "location": "header",
  570. "locationName": "x-amz-chime-bearer"
  571. }
  572. }
  573. },
  574. "output": {
  575. "type": "structure",
  576. "members": {
  577. "Channel": {
  578. "type": "structure",
  579. "members": {
  580. "Name": {
  581. "shape": "Sz"
  582. },
  583. "ChannelArn": {},
  584. "Mode": {},
  585. "Privacy": {},
  586. "Metadata": {
  587. "shape": "Sm"
  588. },
  589. "CreatedBy": {
  590. "shape": "S9"
  591. },
  592. "CreatedTimestamp": {
  593. "type": "timestamp"
  594. },
  595. "LastMessageTimestamp": {
  596. "type": "timestamp"
  597. },
  598. "LastUpdatedTimestamp": {
  599. "type": "timestamp"
  600. },
  601. "ChannelFlowArn": {},
  602. "ElasticChannelConfiguration": {
  603. "shape": "S1a"
  604. },
  605. "ExpirationSettings": {
  606. "shape": "S1e"
  607. }
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "DescribeChannelBan": {
  614. "http": {
  615. "method": "GET",
  616. "requestUri": "/channels/{channelArn}/bans/{memberArn}",
  617. "responseCode": 200
  618. },
  619. "input": {
  620. "type": "structure",
  621. "required": [
  622. "ChannelArn",
  623. "MemberArn",
  624. "ChimeBearer"
  625. ],
  626. "members": {
  627. "ChannelArn": {
  628. "location": "uri",
  629. "locationName": "channelArn"
  630. },
  631. "MemberArn": {
  632. "location": "uri",
  633. "locationName": "memberArn"
  634. },
  635. "ChimeBearer": {
  636. "location": "header",
  637. "locationName": "x-amz-chime-bearer"
  638. }
  639. }
  640. },
  641. "output": {
  642. "type": "structure",
  643. "members": {
  644. "ChannelBan": {
  645. "type": "structure",
  646. "members": {
  647. "Member": {
  648. "shape": "S9"
  649. },
  650. "ChannelArn": {},
  651. "CreatedTimestamp": {
  652. "type": "timestamp"
  653. },
  654. "CreatedBy": {
  655. "shape": "S9"
  656. }
  657. }
  658. }
  659. }
  660. }
  661. },
  662. "DescribeChannelFlow": {
  663. "http": {
  664. "method": "GET",
  665. "requestUri": "/channel-flows/{channelFlowArn}",
  666. "responseCode": 200
  667. },
  668. "input": {
  669. "type": "structure",
  670. "required": [
  671. "ChannelFlowArn"
  672. ],
  673. "members": {
  674. "ChannelFlowArn": {
  675. "location": "uri",
  676. "locationName": "channelFlowArn"
  677. }
  678. }
  679. },
  680. "output": {
  681. "type": "structure",
  682. "members": {
  683. "ChannelFlow": {
  684. "type": "structure",
  685. "members": {
  686. "ChannelFlowArn": {},
  687. "Processors": {
  688. "shape": "S1l"
  689. },
  690. "Name": {
  691. "shape": "Sz"
  692. },
  693. "CreatedTimestamp": {
  694. "type": "timestamp"
  695. },
  696. "LastUpdatedTimestamp": {
  697. "type": "timestamp"
  698. }
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "DescribeChannelMembership": {
  705. "http": {
  706. "method": "GET",
  707. "requestUri": "/channels/{channelArn}/memberships/{memberArn}",
  708. "responseCode": 200
  709. },
  710. "input": {
  711. "type": "structure",
  712. "required": [
  713. "ChannelArn",
  714. "MemberArn",
  715. "ChimeBearer"
  716. ],
  717. "members": {
  718. "ChannelArn": {
  719. "location": "uri",
  720. "locationName": "channelArn"
  721. },
  722. "MemberArn": {
  723. "location": "uri",
  724. "locationName": "memberArn"
  725. },
  726. "ChimeBearer": {
  727. "location": "header",
  728. "locationName": "x-amz-chime-bearer"
  729. },
  730. "SubChannelId": {
  731. "location": "querystring",
  732. "locationName": "sub-channel-id"
  733. }
  734. }
  735. },
  736. "output": {
  737. "type": "structure",
  738. "members": {
  739. "ChannelMembership": {
  740. "type": "structure",
  741. "members": {
  742. "InvitedBy": {
  743. "shape": "S9"
  744. },
  745. "Type": {},
  746. "Member": {
  747. "shape": "S9"
  748. },
  749. "ChannelArn": {},
  750. "CreatedTimestamp": {
  751. "type": "timestamp"
  752. },
  753. "LastUpdatedTimestamp": {
  754. "type": "timestamp"
  755. },
  756. "SubChannelId": {}
  757. }
  758. }
  759. }
  760. }
  761. },
  762. "DescribeChannelMembershipForAppInstanceUser": {
  763. "http": {
  764. "method": "GET",
  765. "requestUri": "/channels/{channelArn}?scope=app-instance-user-membership",
  766. "responseCode": 200
  767. },
  768. "input": {
  769. "type": "structure",
  770. "required": [
  771. "ChannelArn",
  772. "AppInstanceUserArn",
  773. "ChimeBearer"
  774. ],
  775. "members": {
  776. "ChannelArn": {
  777. "location": "uri",
  778. "locationName": "channelArn"
  779. },
  780. "AppInstanceUserArn": {
  781. "location": "querystring",
  782. "locationName": "app-instance-user-arn"
  783. },
  784. "ChimeBearer": {
  785. "location": "header",
  786. "locationName": "x-amz-chime-bearer"
  787. }
  788. }
  789. },
  790. "output": {
  791. "type": "structure",
  792. "members": {
  793. "ChannelMembership": {
  794. "shape": "S2k"
  795. }
  796. }
  797. }
  798. },
  799. "DescribeChannelModeratedByAppInstanceUser": {
  800. "http": {
  801. "method": "GET",
  802. "requestUri": "/channels/{channelArn}?scope=app-instance-user-moderated-channel",
  803. "responseCode": 200
  804. },
  805. "input": {
  806. "type": "structure",
  807. "required": [
  808. "ChannelArn",
  809. "AppInstanceUserArn",
  810. "ChimeBearer"
  811. ],
  812. "members": {
  813. "ChannelArn": {
  814. "location": "uri",
  815. "locationName": "channelArn"
  816. },
  817. "AppInstanceUserArn": {
  818. "location": "querystring",
  819. "locationName": "app-instance-user-arn"
  820. },
  821. "ChimeBearer": {
  822. "location": "header",
  823. "locationName": "x-amz-chime-bearer"
  824. }
  825. }
  826. },
  827. "output": {
  828. "type": "structure",
  829. "members": {
  830. "Channel": {
  831. "shape": "S2p"
  832. }
  833. }
  834. }
  835. },
  836. "DescribeChannelModerator": {
  837. "http": {
  838. "method": "GET",
  839. "requestUri": "/channels/{channelArn}/moderators/{channelModeratorArn}",
  840. "responseCode": 200
  841. },
  842. "input": {
  843. "type": "structure",
  844. "required": [
  845. "ChannelArn",
  846. "ChannelModeratorArn",
  847. "ChimeBearer"
  848. ],
  849. "members": {
  850. "ChannelArn": {
  851. "location": "uri",
  852. "locationName": "channelArn"
  853. },
  854. "ChannelModeratorArn": {
  855. "location": "uri",
  856. "locationName": "channelModeratorArn"
  857. },
  858. "ChimeBearer": {
  859. "location": "header",
  860. "locationName": "x-amz-chime-bearer"
  861. }
  862. }
  863. },
  864. "output": {
  865. "type": "structure",
  866. "members": {
  867. "ChannelModerator": {
  868. "type": "structure",
  869. "members": {
  870. "Moderator": {
  871. "shape": "S9"
  872. },
  873. "ChannelArn": {},
  874. "CreatedTimestamp": {
  875. "type": "timestamp"
  876. },
  877. "CreatedBy": {
  878. "shape": "S9"
  879. }
  880. }
  881. }
  882. }
  883. }
  884. },
  885. "DisassociateChannelFlow": {
  886. "http": {
  887. "method": "DELETE",
  888. "requestUri": "/channels/{channelArn}/channel-flow/{channelFlowArn}",
  889. "responseCode": 204
  890. },
  891. "input": {
  892. "type": "structure",
  893. "required": [
  894. "ChannelArn",
  895. "ChannelFlowArn",
  896. "ChimeBearer"
  897. ],
  898. "members": {
  899. "ChannelArn": {
  900. "location": "uri",
  901. "locationName": "channelArn"
  902. },
  903. "ChannelFlowArn": {
  904. "location": "uri",
  905. "locationName": "channelFlowArn"
  906. },
  907. "ChimeBearer": {
  908. "location": "header",
  909. "locationName": "x-amz-chime-bearer"
  910. }
  911. }
  912. }
  913. },
  914. "GetChannelMembershipPreferences": {
  915. "http": {
  916. "method": "GET",
  917. "requestUri": "/channels/{channelArn}/memberships/{memberArn}/preferences",
  918. "responseCode": 200
  919. },
  920. "input": {
  921. "type": "structure",
  922. "required": [
  923. "ChannelArn",
  924. "MemberArn",
  925. "ChimeBearer"
  926. ],
  927. "members": {
  928. "ChannelArn": {
  929. "location": "uri",
  930. "locationName": "channelArn"
  931. },
  932. "MemberArn": {
  933. "location": "uri",
  934. "locationName": "memberArn"
  935. },
  936. "ChimeBearer": {
  937. "location": "header",
  938. "locationName": "x-amz-chime-bearer"
  939. }
  940. }
  941. },
  942. "output": {
  943. "type": "structure",
  944. "members": {
  945. "ChannelArn": {},
  946. "Member": {
  947. "shape": "S9"
  948. },
  949. "Preferences": {
  950. "shape": "S2w"
  951. }
  952. }
  953. }
  954. },
  955. "GetChannelMessage": {
  956. "http": {
  957. "method": "GET",
  958. "requestUri": "/channels/{channelArn}/messages/{messageId}",
  959. "responseCode": 200
  960. },
  961. "input": {
  962. "type": "structure",
  963. "required": [
  964. "ChannelArn",
  965. "MessageId",
  966. "ChimeBearer"
  967. ],
  968. "members": {
  969. "ChannelArn": {
  970. "location": "uri",
  971. "locationName": "channelArn"
  972. },
  973. "MessageId": {
  974. "location": "uri",
  975. "locationName": "messageId"
  976. },
  977. "ChimeBearer": {
  978. "location": "header",
  979. "locationName": "x-amz-chime-bearer"
  980. },
  981. "SubChannelId": {
  982. "location": "querystring",
  983. "locationName": "sub-channel-id"
  984. }
  985. }
  986. },
  987. "output": {
  988. "type": "structure",
  989. "members": {
  990. "ChannelMessage": {
  991. "type": "structure",
  992. "members": {
  993. "ChannelArn": {},
  994. "MessageId": {},
  995. "Content": {
  996. "shape": "S33"
  997. },
  998. "Metadata": {
  999. "shape": "Sm"
  1000. },
  1001. "Type": {},
  1002. "CreatedTimestamp": {
  1003. "type": "timestamp"
  1004. },
  1005. "LastEditedTimestamp": {
  1006. "type": "timestamp"
  1007. },
  1008. "LastUpdatedTimestamp": {
  1009. "type": "timestamp"
  1010. },
  1011. "Sender": {
  1012. "shape": "S9"
  1013. },
  1014. "Redacted": {
  1015. "type": "boolean"
  1016. },
  1017. "Persistence": {},
  1018. "Status": {
  1019. "shape": "S36"
  1020. },
  1021. "MessageAttributes": {
  1022. "shape": "Sr"
  1023. },
  1024. "SubChannelId": {},
  1025. "ContentType": {
  1026. "shape": "Sw"
  1027. },
  1028. "Target": {
  1029. "shape": "S39"
  1030. }
  1031. }
  1032. }
  1033. }
  1034. }
  1035. },
  1036. "GetChannelMessageStatus": {
  1037. "http": {
  1038. "method": "GET",
  1039. "requestUri": "/channels/{channelArn}/messages/{messageId}?scope=message-status",
  1040. "responseCode": 200
  1041. },
  1042. "input": {
  1043. "type": "structure",
  1044. "required": [
  1045. "ChannelArn",
  1046. "MessageId",
  1047. "ChimeBearer"
  1048. ],
  1049. "members": {
  1050. "ChannelArn": {
  1051. "location": "uri",
  1052. "locationName": "channelArn"
  1053. },
  1054. "MessageId": {
  1055. "location": "uri",
  1056. "locationName": "messageId"
  1057. },
  1058. "ChimeBearer": {
  1059. "location": "header",
  1060. "locationName": "x-amz-chime-bearer"
  1061. },
  1062. "SubChannelId": {
  1063. "location": "querystring",
  1064. "locationName": "sub-channel-id"
  1065. }
  1066. }
  1067. },
  1068. "output": {
  1069. "type": "structure",
  1070. "members": {
  1071. "Status": {
  1072. "shape": "S36"
  1073. }
  1074. }
  1075. }
  1076. },
  1077. "GetMessagingSessionEndpoint": {
  1078. "http": {
  1079. "method": "GET",
  1080. "requestUri": "/endpoints/messaging-session",
  1081. "responseCode": 200
  1082. },
  1083. "input": {
  1084. "type": "structure",
  1085. "members": {}
  1086. },
  1087. "output": {
  1088. "type": "structure",
  1089. "members": {
  1090. "Endpoint": {
  1091. "type": "structure",
  1092. "members": {
  1093. "Url": {}
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "GetMessagingStreamingConfigurations": {
  1100. "http": {
  1101. "method": "GET",
  1102. "requestUri": "/app-instances/{appInstanceArn}/streaming-configurations",
  1103. "responseCode": 200
  1104. },
  1105. "input": {
  1106. "type": "structure",
  1107. "required": [
  1108. "AppInstanceArn"
  1109. ],
  1110. "members": {
  1111. "AppInstanceArn": {
  1112. "location": "uri",
  1113. "locationName": "appInstanceArn"
  1114. }
  1115. }
  1116. },
  1117. "output": {
  1118. "type": "structure",
  1119. "members": {
  1120. "StreamingConfigurations": {
  1121. "shape": "S3j"
  1122. }
  1123. }
  1124. }
  1125. },
  1126. "ListChannelBans": {
  1127. "http": {
  1128. "method": "GET",
  1129. "requestUri": "/channels/{channelArn}/bans",
  1130. "responseCode": 200
  1131. },
  1132. "input": {
  1133. "type": "structure",
  1134. "required": [
  1135. "ChannelArn",
  1136. "ChimeBearer"
  1137. ],
  1138. "members": {
  1139. "ChannelArn": {
  1140. "location": "uri",
  1141. "locationName": "channelArn"
  1142. },
  1143. "MaxResults": {
  1144. "location": "querystring",
  1145. "locationName": "max-results",
  1146. "type": "integer"
  1147. },
  1148. "NextToken": {
  1149. "shape": "S3o",
  1150. "location": "querystring",
  1151. "locationName": "next-token"
  1152. },
  1153. "ChimeBearer": {
  1154. "location": "header",
  1155. "locationName": "x-amz-chime-bearer"
  1156. }
  1157. }
  1158. },
  1159. "output": {
  1160. "type": "structure",
  1161. "members": {
  1162. "ChannelArn": {},
  1163. "NextToken": {
  1164. "shape": "S3o"
  1165. },
  1166. "ChannelBans": {
  1167. "type": "list",
  1168. "member": {
  1169. "type": "structure",
  1170. "members": {
  1171. "Member": {
  1172. "shape": "S9"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. }
  1178. }
  1179. },
  1180. "ListChannelFlows": {
  1181. "http": {
  1182. "method": "GET",
  1183. "requestUri": "/channel-flows",
  1184. "responseCode": 200
  1185. },
  1186. "input": {
  1187. "type": "structure",
  1188. "required": [
  1189. "AppInstanceArn"
  1190. ],
  1191. "members": {
  1192. "AppInstanceArn": {
  1193. "location": "querystring",
  1194. "locationName": "app-instance-arn"
  1195. },
  1196. "MaxResults": {
  1197. "location": "querystring",
  1198. "locationName": "max-results",
  1199. "type": "integer"
  1200. },
  1201. "NextToken": {
  1202. "shape": "S3o",
  1203. "location": "querystring",
  1204. "locationName": "next-token"
  1205. }
  1206. }
  1207. },
  1208. "output": {
  1209. "type": "structure",
  1210. "members": {
  1211. "ChannelFlows": {
  1212. "type": "list",
  1213. "member": {
  1214. "type": "structure",
  1215. "members": {
  1216. "ChannelFlowArn": {},
  1217. "Name": {
  1218. "shape": "Sz"
  1219. },
  1220. "Processors": {
  1221. "shape": "S1l"
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "NextToken": {
  1227. "shape": "S3o"
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "ListChannelMemberships": {
  1233. "http": {
  1234. "method": "GET",
  1235. "requestUri": "/channels/{channelArn}/memberships",
  1236. "responseCode": 200
  1237. },
  1238. "input": {
  1239. "type": "structure",
  1240. "required": [
  1241. "ChannelArn",
  1242. "ChimeBearer"
  1243. ],
  1244. "members": {
  1245. "ChannelArn": {
  1246. "location": "uri",
  1247. "locationName": "channelArn"
  1248. },
  1249. "Type": {
  1250. "location": "querystring",
  1251. "locationName": "type"
  1252. },
  1253. "MaxResults": {
  1254. "location": "querystring",
  1255. "locationName": "max-results",
  1256. "type": "integer"
  1257. },
  1258. "NextToken": {
  1259. "shape": "S3o",
  1260. "location": "querystring",
  1261. "locationName": "next-token"
  1262. },
  1263. "ChimeBearer": {
  1264. "location": "header",
  1265. "locationName": "x-amz-chime-bearer"
  1266. },
  1267. "SubChannelId": {
  1268. "location": "querystring",
  1269. "locationName": "sub-channel-id"
  1270. }
  1271. }
  1272. },
  1273. "output": {
  1274. "type": "structure",
  1275. "members": {
  1276. "ChannelArn": {},
  1277. "ChannelMemberships": {
  1278. "type": "list",
  1279. "member": {
  1280. "type": "structure",
  1281. "members": {
  1282. "Member": {
  1283. "shape": "S9"
  1284. }
  1285. }
  1286. }
  1287. },
  1288. "NextToken": {
  1289. "shape": "S3o"
  1290. }
  1291. }
  1292. }
  1293. },
  1294. "ListChannelMembershipsForAppInstanceUser": {
  1295. "http": {
  1296. "method": "GET",
  1297. "requestUri": "/channels?scope=app-instance-user-memberships",
  1298. "responseCode": 200
  1299. },
  1300. "input": {
  1301. "type": "structure",
  1302. "required": [
  1303. "ChimeBearer"
  1304. ],
  1305. "members": {
  1306. "AppInstanceUserArn": {
  1307. "location": "querystring",
  1308. "locationName": "app-instance-user-arn"
  1309. },
  1310. "MaxResults": {
  1311. "location": "querystring",
  1312. "locationName": "max-results",
  1313. "type": "integer"
  1314. },
  1315. "NextToken": {
  1316. "shape": "S3o",
  1317. "location": "querystring",
  1318. "locationName": "next-token"
  1319. },
  1320. "ChimeBearer": {
  1321. "location": "header",
  1322. "locationName": "x-amz-chime-bearer"
  1323. }
  1324. }
  1325. },
  1326. "output": {
  1327. "type": "structure",
  1328. "members": {
  1329. "ChannelMemberships": {
  1330. "type": "list",
  1331. "member": {
  1332. "shape": "S2k"
  1333. }
  1334. },
  1335. "NextToken": {
  1336. "shape": "S3o"
  1337. }
  1338. }
  1339. }
  1340. },
  1341. "ListChannelMessages": {
  1342. "http": {
  1343. "method": "GET",
  1344. "requestUri": "/channels/{channelArn}/messages",
  1345. "responseCode": 200
  1346. },
  1347. "input": {
  1348. "type": "structure",
  1349. "required": [
  1350. "ChannelArn",
  1351. "ChimeBearer"
  1352. ],
  1353. "members": {
  1354. "ChannelArn": {
  1355. "location": "uri",
  1356. "locationName": "channelArn"
  1357. },
  1358. "SortOrder": {
  1359. "location": "querystring",
  1360. "locationName": "sort-order"
  1361. },
  1362. "NotBefore": {
  1363. "location": "querystring",
  1364. "locationName": "not-before",
  1365. "type": "timestamp"
  1366. },
  1367. "NotAfter": {
  1368. "location": "querystring",
  1369. "locationName": "not-after",
  1370. "type": "timestamp"
  1371. },
  1372. "MaxResults": {
  1373. "location": "querystring",
  1374. "locationName": "max-results",
  1375. "type": "integer"
  1376. },
  1377. "NextToken": {
  1378. "shape": "S3o",
  1379. "location": "querystring",
  1380. "locationName": "next-token"
  1381. },
  1382. "ChimeBearer": {
  1383. "location": "header",
  1384. "locationName": "x-amz-chime-bearer"
  1385. },
  1386. "SubChannelId": {
  1387. "location": "querystring",
  1388. "locationName": "sub-channel-id"
  1389. }
  1390. }
  1391. },
  1392. "output": {
  1393. "type": "structure",
  1394. "members": {
  1395. "ChannelArn": {},
  1396. "NextToken": {
  1397. "shape": "S3o"
  1398. },
  1399. "ChannelMessages": {
  1400. "type": "list",
  1401. "member": {
  1402. "type": "structure",
  1403. "members": {
  1404. "MessageId": {},
  1405. "Content": {
  1406. "shape": "S33"
  1407. },
  1408. "Metadata": {
  1409. "shape": "Sm"
  1410. },
  1411. "Type": {},
  1412. "CreatedTimestamp": {
  1413. "type": "timestamp"
  1414. },
  1415. "LastUpdatedTimestamp": {
  1416. "type": "timestamp"
  1417. },
  1418. "LastEditedTimestamp": {
  1419. "type": "timestamp"
  1420. },
  1421. "Sender": {
  1422. "shape": "S9"
  1423. },
  1424. "Redacted": {
  1425. "type": "boolean"
  1426. },
  1427. "Status": {
  1428. "shape": "S36"
  1429. },
  1430. "MessageAttributes": {
  1431. "shape": "Sr"
  1432. },
  1433. "ContentType": {
  1434. "shape": "Sw"
  1435. },
  1436. "Target": {
  1437. "shape": "S39"
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "SubChannelId": {}
  1443. }
  1444. }
  1445. },
  1446. "ListChannelModerators": {
  1447. "http": {
  1448. "method": "GET",
  1449. "requestUri": "/channels/{channelArn}/moderators",
  1450. "responseCode": 200
  1451. },
  1452. "input": {
  1453. "type": "structure",
  1454. "required": [
  1455. "ChannelArn",
  1456. "ChimeBearer"
  1457. ],
  1458. "members": {
  1459. "ChannelArn": {
  1460. "location": "uri",
  1461. "locationName": "channelArn"
  1462. },
  1463. "MaxResults": {
  1464. "location": "querystring",
  1465. "locationName": "max-results",
  1466. "type": "integer"
  1467. },
  1468. "NextToken": {
  1469. "shape": "S3o",
  1470. "location": "querystring",
  1471. "locationName": "next-token"
  1472. },
  1473. "ChimeBearer": {
  1474. "location": "header",
  1475. "locationName": "x-amz-chime-bearer"
  1476. }
  1477. }
  1478. },
  1479. "output": {
  1480. "type": "structure",
  1481. "members": {
  1482. "ChannelArn": {},
  1483. "NextToken": {
  1484. "shape": "S3o"
  1485. },
  1486. "ChannelModerators": {
  1487. "type": "list",
  1488. "member": {
  1489. "type": "structure",
  1490. "members": {
  1491. "Moderator": {
  1492. "shape": "S9"
  1493. }
  1494. }
  1495. }
  1496. }
  1497. }
  1498. }
  1499. },
  1500. "ListChannels": {
  1501. "http": {
  1502. "method": "GET",
  1503. "requestUri": "/channels",
  1504. "responseCode": 200
  1505. },
  1506. "input": {
  1507. "type": "structure",
  1508. "required": [
  1509. "AppInstanceArn",
  1510. "ChimeBearer"
  1511. ],
  1512. "members": {
  1513. "AppInstanceArn": {
  1514. "location": "querystring",
  1515. "locationName": "app-instance-arn"
  1516. },
  1517. "Privacy": {
  1518. "location": "querystring",
  1519. "locationName": "privacy"
  1520. },
  1521. "MaxResults": {
  1522. "location": "querystring",
  1523. "locationName": "max-results",
  1524. "type": "integer"
  1525. },
  1526. "NextToken": {
  1527. "shape": "S3o",
  1528. "location": "querystring",
  1529. "locationName": "next-token"
  1530. },
  1531. "ChimeBearer": {
  1532. "location": "header",
  1533. "locationName": "x-amz-chime-bearer"
  1534. }
  1535. }
  1536. },
  1537. "output": {
  1538. "type": "structure",
  1539. "members": {
  1540. "Channels": {
  1541. "shape": "S4e"
  1542. },
  1543. "NextToken": {
  1544. "shape": "S3o"
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "ListChannelsAssociatedWithChannelFlow": {
  1550. "http": {
  1551. "method": "GET",
  1552. "requestUri": "/channels?scope=channel-flow-associations",
  1553. "responseCode": 200
  1554. },
  1555. "input": {
  1556. "type": "structure",
  1557. "required": [
  1558. "ChannelFlowArn"
  1559. ],
  1560. "members": {
  1561. "ChannelFlowArn": {
  1562. "location": "querystring",
  1563. "locationName": "channel-flow-arn"
  1564. },
  1565. "MaxResults": {
  1566. "location": "querystring",
  1567. "locationName": "max-results",
  1568. "type": "integer"
  1569. },
  1570. "NextToken": {
  1571. "shape": "S3o",
  1572. "location": "querystring",
  1573. "locationName": "next-token"
  1574. }
  1575. }
  1576. },
  1577. "output": {
  1578. "type": "structure",
  1579. "members": {
  1580. "Channels": {
  1581. "type": "list",
  1582. "member": {
  1583. "type": "structure",
  1584. "members": {
  1585. "Name": {
  1586. "shape": "Sz"
  1587. },
  1588. "ChannelArn": {},
  1589. "Mode": {},
  1590. "Privacy": {},
  1591. "Metadata": {
  1592. "shape": "Sm"
  1593. }
  1594. }
  1595. }
  1596. },
  1597. "NextToken": {
  1598. "shape": "S3o"
  1599. }
  1600. }
  1601. }
  1602. },
  1603. "ListChannelsModeratedByAppInstanceUser": {
  1604. "http": {
  1605. "method": "GET",
  1606. "requestUri": "/channels?scope=app-instance-user-moderated-channels",
  1607. "responseCode": 200
  1608. },
  1609. "input": {
  1610. "type": "structure",
  1611. "required": [
  1612. "ChimeBearer"
  1613. ],
  1614. "members": {
  1615. "AppInstanceUserArn": {
  1616. "location": "querystring",
  1617. "locationName": "app-instance-user-arn"
  1618. },
  1619. "MaxResults": {
  1620. "location": "querystring",
  1621. "locationName": "max-results",
  1622. "type": "integer"
  1623. },
  1624. "NextToken": {
  1625. "shape": "S3o",
  1626. "location": "querystring",
  1627. "locationName": "next-token"
  1628. },
  1629. "ChimeBearer": {
  1630. "location": "header",
  1631. "locationName": "x-amz-chime-bearer"
  1632. }
  1633. }
  1634. },
  1635. "output": {
  1636. "type": "structure",
  1637. "members": {
  1638. "Channels": {
  1639. "type": "list",
  1640. "member": {
  1641. "shape": "S2p"
  1642. }
  1643. },
  1644. "NextToken": {
  1645. "shape": "S3o"
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "ListSubChannels": {
  1651. "http": {
  1652. "method": "GET",
  1653. "requestUri": "/channels/{channelArn}/subchannels",
  1654. "responseCode": 200
  1655. },
  1656. "input": {
  1657. "type": "structure",
  1658. "required": [
  1659. "ChannelArn",
  1660. "ChimeBearer"
  1661. ],
  1662. "members": {
  1663. "ChannelArn": {
  1664. "location": "uri",
  1665. "locationName": "channelArn"
  1666. },
  1667. "ChimeBearer": {
  1668. "location": "header",
  1669. "locationName": "x-amz-chime-bearer"
  1670. },
  1671. "MaxResults": {
  1672. "location": "querystring",
  1673. "locationName": "max-results",
  1674. "type": "integer"
  1675. },
  1676. "NextToken": {
  1677. "shape": "S3o",
  1678. "location": "querystring",
  1679. "locationName": "next-token"
  1680. }
  1681. }
  1682. },
  1683. "output": {
  1684. "type": "structure",
  1685. "members": {
  1686. "ChannelArn": {},
  1687. "SubChannels": {
  1688. "type": "list",
  1689. "member": {
  1690. "type": "structure",
  1691. "members": {
  1692. "SubChannelId": {},
  1693. "MembershipCount": {
  1694. "type": "integer"
  1695. }
  1696. }
  1697. }
  1698. },
  1699. "NextToken": {
  1700. "shape": "S3o"
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "ListTagsForResource": {
  1706. "http": {
  1707. "method": "GET",
  1708. "requestUri": "/tags",
  1709. "responseCode": 200
  1710. },
  1711. "input": {
  1712. "type": "structure",
  1713. "required": [
  1714. "ResourceARN"
  1715. ],
  1716. "members": {
  1717. "ResourceARN": {
  1718. "location": "querystring",
  1719. "locationName": "arn"
  1720. }
  1721. }
  1722. },
  1723. "output": {
  1724. "type": "structure",
  1725. "members": {
  1726. "Tags": {
  1727. "shape": "S13"
  1728. }
  1729. }
  1730. }
  1731. },
  1732. "PutChannelExpirationSettings": {
  1733. "http": {
  1734. "method": "PUT",
  1735. "requestUri": "/channels/{channelArn}/expiration-settings",
  1736. "responseCode": 200
  1737. },
  1738. "input": {
  1739. "type": "structure",
  1740. "required": [
  1741. "ChannelArn"
  1742. ],
  1743. "members": {
  1744. "ChannelArn": {
  1745. "location": "uri",
  1746. "locationName": "channelArn"
  1747. },
  1748. "ChimeBearer": {
  1749. "location": "header",
  1750. "locationName": "x-amz-chime-bearer"
  1751. },
  1752. "ExpirationSettings": {
  1753. "shape": "S1e"
  1754. }
  1755. }
  1756. },
  1757. "output": {
  1758. "type": "structure",
  1759. "members": {
  1760. "ChannelArn": {},
  1761. "ExpirationSettings": {
  1762. "shape": "S1e"
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "PutChannelMembershipPreferences": {
  1768. "http": {
  1769. "method": "PUT",
  1770. "requestUri": "/channels/{channelArn}/memberships/{memberArn}/preferences",
  1771. "responseCode": 200
  1772. },
  1773. "input": {
  1774. "type": "structure",
  1775. "required": [
  1776. "ChannelArn",
  1777. "MemberArn",
  1778. "ChimeBearer",
  1779. "Preferences"
  1780. ],
  1781. "members": {
  1782. "ChannelArn": {
  1783. "location": "uri",
  1784. "locationName": "channelArn"
  1785. },
  1786. "MemberArn": {
  1787. "location": "uri",
  1788. "locationName": "memberArn"
  1789. },
  1790. "ChimeBearer": {
  1791. "location": "header",
  1792. "locationName": "x-amz-chime-bearer"
  1793. },
  1794. "Preferences": {
  1795. "shape": "S2w"
  1796. }
  1797. }
  1798. },
  1799. "output": {
  1800. "type": "structure",
  1801. "members": {
  1802. "ChannelArn": {},
  1803. "Member": {
  1804. "shape": "S9"
  1805. },
  1806. "Preferences": {
  1807. "shape": "S2w"
  1808. }
  1809. }
  1810. }
  1811. },
  1812. "PutMessagingStreamingConfigurations": {
  1813. "http": {
  1814. "method": "PUT",
  1815. "requestUri": "/app-instances/{appInstanceArn}/streaming-configurations",
  1816. "responseCode": 200
  1817. },
  1818. "input": {
  1819. "type": "structure",
  1820. "required": [
  1821. "AppInstanceArn",
  1822. "StreamingConfigurations"
  1823. ],
  1824. "members": {
  1825. "AppInstanceArn": {
  1826. "location": "uri",
  1827. "locationName": "appInstanceArn"
  1828. },
  1829. "StreamingConfigurations": {
  1830. "shape": "S3j"
  1831. }
  1832. }
  1833. },
  1834. "output": {
  1835. "type": "structure",
  1836. "members": {
  1837. "StreamingConfigurations": {
  1838. "shape": "S3j"
  1839. }
  1840. }
  1841. }
  1842. },
  1843. "RedactChannelMessage": {
  1844. "http": {
  1845. "requestUri": "/channels/{channelArn}/messages/{messageId}?operation=redact",
  1846. "responseCode": 200
  1847. },
  1848. "input": {
  1849. "type": "structure",
  1850. "required": [
  1851. "ChannelArn",
  1852. "MessageId",
  1853. "ChimeBearer"
  1854. ],
  1855. "members": {
  1856. "ChannelArn": {
  1857. "location": "uri",
  1858. "locationName": "channelArn"
  1859. },
  1860. "MessageId": {
  1861. "location": "uri",
  1862. "locationName": "messageId"
  1863. },
  1864. "ChimeBearer": {
  1865. "location": "header",
  1866. "locationName": "x-amz-chime-bearer"
  1867. },
  1868. "SubChannelId": {}
  1869. }
  1870. },
  1871. "output": {
  1872. "type": "structure",
  1873. "members": {
  1874. "ChannelArn": {},
  1875. "MessageId": {},
  1876. "SubChannelId": {}
  1877. }
  1878. }
  1879. },
  1880. "SearchChannels": {
  1881. "http": {
  1882. "requestUri": "/channels?operation=search",
  1883. "responseCode": 200
  1884. },
  1885. "input": {
  1886. "type": "structure",
  1887. "required": [
  1888. "Fields"
  1889. ],
  1890. "members": {
  1891. "ChimeBearer": {
  1892. "location": "header",
  1893. "locationName": "x-amz-chime-bearer"
  1894. },
  1895. "Fields": {
  1896. "type": "list",
  1897. "member": {
  1898. "type": "structure",
  1899. "required": [
  1900. "Key",
  1901. "Values",
  1902. "Operator"
  1903. ],
  1904. "members": {
  1905. "Key": {},
  1906. "Values": {
  1907. "type": "list",
  1908. "member": {}
  1909. },
  1910. "Operator": {}
  1911. }
  1912. }
  1913. },
  1914. "MaxResults": {
  1915. "location": "querystring",
  1916. "locationName": "max-results",
  1917. "type": "integer"
  1918. },
  1919. "NextToken": {
  1920. "shape": "S3o",
  1921. "location": "querystring",
  1922. "locationName": "next-token"
  1923. }
  1924. }
  1925. },
  1926. "output": {
  1927. "type": "structure",
  1928. "members": {
  1929. "Channels": {
  1930. "shape": "S4e"
  1931. },
  1932. "NextToken": {
  1933. "shape": "S3o"
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "SendChannelMessage": {
  1939. "http": {
  1940. "requestUri": "/channels/{channelArn}/messages",
  1941. "responseCode": 201
  1942. },
  1943. "input": {
  1944. "type": "structure",
  1945. "required": [
  1946. "ChannelArn",
  1947. "Content",
  1948. "Type",
  1949. "Persistence",
  1950. "ClientRequestToken",
  1951. "ChimeBearer"
  1952. ],
  1953. "members": {
  1954. "ChannelArn": {
  1955. "location": "uri",
  1956. "locationName": "channelArn"
  1957. },
  1958. "Content": {
  1959. "shape": "Sl"
  1960. },
  1961. "Type": {},
  1962. "Persistence": {},
  1963. "Metadata": {
  1964. "shape": "Sm"
  1965. },
  1966. "ClientRequestToken": {
  1967. "shape": "S12",
  1968. "idempotencyToken": true
  1969. },
  1970. "ChimeBearer": {
  1971. "location": "header",
  1972. "locationName": "x-amz-chime-bearer"
  1973. },
  1974. "PushNotification": {
  1975. "shape": "Sn"
  1976. },
  1977. "MessageAttributes": {
  1978. "shape": "Sr"
  1979. },
  1980. "SubChannelId": {},
  1981. "ContentType": {
  1982. "shape": "Sw"
  1983. },
  1984. "Target": {
  1985. "shape": "S39"
  1986. }
  1987. }
  1988. },
  1989. "output": {
  1990. "type": "structure",
  1991. "members": {
  1992. "ChannelArn": {},
  1993. "MessageId": {},
  1994. "Status": {
  1995. "shape": "S36"
  1996. },
  1997. "SubChannelId": {}
  1998. }
  1999. }
  2000. },
  2001. "TagResource": {
  2002. "http": {
  2003. "requestUri": "/tags?operation=tag-resource",
  2004. "responseCode": 204
  2005. },
  2006. "input": {
  2007. "type": "structure",
  2008. "required": [
  2009. "ResourceARN",
  2010. "Tags"
  2011. ],
  2012. "members": {
  2013. "ResourceARN": {},
  2014. "Tags": {
  2015. "shape": "S13"
  2016. }
  2017. }
  2018. }
  2019. },
  2020. "UntagResource": {
  2021. "http": {
  2022. "requestUri": "/tags?operation=untag-resource",
  2023. "responseCode": 204
  2024. },
  2025. "input": {
  2026. "type": "structure",
  2027. "required": [
  2028. "ResourceARN",
  2029. "TagKeys"
  2030. ],
  2031. "members": {
  2032. "ResourceARN": {},
  2033. "TagKeys": {
  2034. "type": "list",
  2035. "member": {
  2036. "shape": "S15"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "UpdateChannel": {
  2043. "http": {
  2044. "method": "PUT",
  2045. "requestUri": "/channels/{channelArn}",
  2046. "responseCode": 200
  2047. },
  2048. "input": {
  2049. "type": "structure",
  2050. "required": [
  2051. "ChannelArn",
  2052. "ChimeBearer"
  2053. ],
  2054. "members": {
  2055. "ChannelArn": {
  2056. "location": "uri",
  2057. "locationName": "channelArn"
  2058. },
  2059. "Name": {
  2060. "shape": "Sz"
  2061. },
  2062. "Mode": {},
  2063. "Metadata": {
  2064. "shape": "Sm"
  2065. },
  2066. "ChimeBearer": {
  2067. "location": "header",
  2068. "locationName": "x-amz-chime-bearer"
  2069. }
  2070. }
  2071. },
  2072. "output": {
  2073. "type": "structure",
  2074. "members": {
  2075. "ChannelArn": {}
  2076. }
  2077. }
  2078. },
  2079. "UpdateChannelFlow": {
  2080. "http": {
  2081. "method": "PUT",
  2082. "requestUri": "/channel-flows/{channelFlowArn}",
  2083. "responseCode": 200
  2084. },
  2085. "input": {
  2086. "type": "structure",
  2087. "required": [
  2088. "ChannelFlowArn",
  2089. "Processors",
  2090. "Name"
  2091. ],
  2092. "members": {
  2093. "ChannelFlowArn": {
  2094. "location": "uri",
  2095. "locationName": "channelFlowArn"
  2096. },
  2097. "Processors": {
  2098. "shape": "S1l"
  2099. },
  2100. "Name": {
  2101. "shape": "Sz"
  2102. }
  2103. }
  2104. },
  2105. "output": {
  2106. "type": "structure",
  2107. "members": {
  2108. "ChannelFlowArn": {}
  2109. }
  2110. }
  2111. },
  2112. "UpdateChannelMessage": {
  2113. "http": {
  2114. "method": "PUT",
  2115. "requestUri": "/channels/{channelArn}/messages/{messageId}",
  2116. "responseCode": 200
  2117. },
  2118. "input": {
  2119. "type": "structure",
  2120. "required": [
  2121. "ChannelArn",
  2122. "MessageId",
  2123. "Content",
  2124. "ChimeBearer"
  2125. ],
  2126. "members": {
  2127. "ChannelArn": {
  2128. "location": "uri",
  2129. "locationName": "channelArn"
  2130. },
  2131. "MessageId": {
  2132. "location": "uri",
  2133. "locationName": "messageId"
  2134. },
  2135. "Content": {
  2136. "shape": "Sl"
  2137. },
  2138. "Metadata": {
  2139. "shape": "Sm"
  2140. },
  2141. "ChimeBearer": {
  2142. "location": "header",
  2143. "locationName": "x-amz-chime-bearer"
  2144. },
  2145. "SubChannelId": {},
  2146. "ContentType": {
  2147. "shape": "Sw"
  2148. }
  2149. }
  2150. },
  2151. "output": {
  2152. "type": "structure",
  2153. "members": {
  2154. "ChannelArn": {},
  2155. "MessageId": {},
  2156. "Status": {
  2157. "shape": "S36"
  2158. },
  2159. "SubChannelId": {}
  2160. }
  2161. }
  2162. },
  2163. "UpdateChannelReadMarker": {
  2164. "http": {
  2165. "method": "PUT",
  2166. "requestUri": "/channels/{channelArn}/readMarker",
  2167. "responseCode": 200
  2168. },
  2169. "input": {
  2170. "type": "structure",
  2171. "required": [
  2172. "ChannelArn",
  2173. "ChimeBearer"
  2174. ],
  2175. "members": {
  2176. "ChannelArn": {
  2177. "location": "uri",
  2178. "locationName": "channelArn"
  2179. },
  2180. "ChimeBearer": {
  2181. "location": "header",
  2182. "locationName": "x-amz-chime-bearer"
  2183. }
  2184. }
  2185. },
  2186. "output": {
  2187. "type": "structure",
  2188. "members": {
  2189. "ChannelArn": {}
  2190. }
  2191. }
  2192. }
  2193. },
  2194. "shapes": {
  2195. "S9": {
  2196. "type": "structure",
  2197. "members": {
  2198. "Arn": {},
  2199. "Name": {
  2200. "type": "string",
  2201. "sensitive": true
  2202. }
  2203. }
  2204. },
  2205. "Sl": {
  2206. "type": "string",
  2207. "sensitive": true
  2208. },
  2209. "Sm": {
  2210. "type": "string",
  2211. "sensitive": true
  2212. },
  2213. "Sn": {
  2214. "type": "structure",
  2215. "members": {
  2216. "Title": {
  2217. "type": "string",
  2218. "sensitive": true
  2219. },
  2220. "Body": {
  2221. "type": "string",
  2222. "sensitive": true
  2223. },
  2224. "Type": {}
  2225. }
  2226. },
  2227. "Sr": {
  2228. "type": "map",
  2229. "key": {
  2230. "type": "string",
  2231. "sensitive": true
  2232. },
  2233. "value": {
  2234. "type": "structure",
  2235. "members": {
  2236. "StringValues": {
  2237. "type": "list",
  2238. "member": {
  2239. "type": "string",
  2240. "sensitive": true
  2241. }
  2242. }
  2243. }
  2244. }
  2245. },
  2246. "Sw": {
  2247. "type": "string",
  2248. "sensitive": true
  2249. },
  2250. "Sz": {
  2251. "type": "string",
  2252. "sensitive": true
  2253. },
  2254. "S12": {
  2255. "type": "string",
  2256. "sensitive": true
  2257. },
  2258. "S13": {
  2259. "type": "list",
  2260. "member": {
  2261. "type": "structure",
  2262. "required": [
  2263. "Key",
  2264. "Value"
  2265. ],
  2266. "members": {
  2267. "Key": {
  2268. "shape": "S15"
  2269. },
  2270. "Value": {
  2271. "type": "string",
  2272. "sensitive": true
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "S15": {
  2278. "type": "string",
  2279. "sensitive": true
  2280. },
  2281. "S1a": {
  2282. "type": "structure",
  2283. "required": [
  2284. "MaximumSubChannels",
  2285. "TargetMembershipsPerSubChannel",
  2286. "MinimumMembershipPercentage"
  2287. ],
  2288. "members": {
  2289. "MaximumSubChannels": {
  2290. "type": "integer"
  2291. },
  2292. "TargetMembershipsPerSubChannel": {
  2293. "type": "integer"
  2294. },
  2295. "MinimumMembershipPercentage": {
  2296. "type": "integer"
  2297. }
  2298. }
  2299. },
  2300. "S1e": {
  2301. "type": "structure",
  2302. "required": [
  2303. "ExpirationDays",
  2304. "ExpirationCriterion"
  2305. ],
  2306. "members": {
  2307. "ExpirationDays": {
  2308. "type": "integer"
  2309. },
  2310. "ExpirationCriterion": {}
  2311. }
  2312. },
  2313. "S1l": {
  2314. "type": "list",
  2315. "member": {
  2316. "type": "structure",
  2317. "required": [
  2318. "Name",
  2319. "Configuration",
  2320. "ExecutionOrder",
  2321. "FallbackAction"
  2322. ],
  2323. "members": {
  2324. "Name": {
  2325. "shape": "Sz"
  2326. },
  2327. "Configuration": {
  2328. "type": "structure",
  2329. "required": [
  2330. "Lambda"
  2331. ],
  2332. "members": {
  2333. "Lambda": {
  2334. "type": "structure",
  2335. "required": [
  2336. "ResourceArn",
  2337. "InvocationType"
  2338. ],
  2339. "members": {
  2340. "ResourceArn": {},
  2341. "InvocationType": {}
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "ExecutionOrder": {
  2347. "type": "integer"
  2348. },
  2349. "FallbackAction": {}
  2350. }
  2351. }
  2352. },
  2353. "S2k": {
  2354. "type": "structure",
  2355. "members": {
  2356. "ChannelSummary": {
  2357. "shape": "S2l"
  2358. },
  2359. "AppInstanceUserMembershipSummary": {
  2360. "type": "structure",
  2361. "members": {
  2362. "Type": {},
  2363. "ReadMarkerTimestamp": {
  2364. "type": "timestamp"
  2365. },
  2366. "SubChannelId": {}
  2367. }
  2368. }
  2369. }
  2370. },
  2371. "S2l": {
  2372. "type": "structure",
  2373. "members": {
  2374. "Name": {
  2375. "shape": "Sz"
  2376. },
  2377. "ChannelArn": {},
  2378. "Mode": {},
  2379. "Privacy": {},
  2380. "Metadata": {
  2381. "shape": "Sm"
  2382. },
  2383. "LastMessageTimestamp": {
  2384. "type": "timestamp"
  2385. }
  2386. }
  2387. },
  2388. "S2p": {
  2389. "type": "structure",
  2390. "members": {
  2391. "ChannelSummary": {
  2392. "shape": "S2l"
  2393. }
  2394. }
  2395. },
  2396. "S2w": {
  2397. "type": "structure",
  2398. "members": {
  2399. "PushNotifications": {
  2400. "type": "structure",
  2401. "required": [
  2402. "AllowNotifications"
  2403. ],
  2404. "members": {
  2405. "AllowNotifications": {},
  2406. "FilterRule": {
  2407. "type": "string",
  2408. "sensitive": true
  2409. }
  2410. }
  2411. }
  2412. }
  2413. },
  2414. "S33": {
  2415. "type": "string",
  2416. "sensitive": true
  2417. },
  2418. "S36": {
  2419. "type": "structure",
  2420. "members": {
  2421. "Value": {},
  2422. "Detail": {}
  2423. }
  2424. },
  2425. "S39": {
  2426. "type": "list",
  2427. "member": {
  2428. "type": "structure",
  2429. "members": {
  2430. "MemberArn": {}
  2431. }
  2432. }
  2433. },
  2434. "S3j": {
  2435. "type": "list",
  2436. "member": {
  2437. "type": "structure",
  2438. "required": [
  2439. "DataType",
  2440. "ResourceArn"
  2441. ],
  2442. "members": {
  2443. "DataType": {},
  2444. "ResourceArn": {}
  2445. }
  2446. }
  2447. },
  2448. "S3o": {
  2449. "type": "string",
  2450. "sensitive": true
  2451. },
  2452. "S4e": {
  2453. "type": "list",
  2454. "member": {
  2455. "shape": "S2l"
  2456. }
  2457. }
  2458. }
  2459. }