chatbot-2017-10-11.min.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-10-11",
  5. "endpointPrefix": "chatbot",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AWS Chatbot",
  9. "serviceId": "chatbot",
  10. "signatureVersion": "v4",
  11. "uid": "chatbot-2017-10-11"
  12. },
  13. "operations": {
  14. "CreateChimeWebhookConfiguration": {
  15. "http": {
  16. "requestUri": "/create-chime-webhook-configuration",
  17. "responseCode": 201
  18. },
  19. "input": {
  20. "type": "structure",
  21. "required": [
  22. "WebhookDescription",
  23. "WebhookUrl",
  24. "SnsTopicArns",
  25. "IamRoleArn",
  26. "ConfigurationName"
  27. ],
  28. "members": {
  29. "WebhookDescription": {},
  30. "WebhookUrl": {},
  31. "SnsTopicArns": {
  32. "shape": "S4"
  33. },
  34. "IamRoleArn": {},
  35. "ConfigurationName": {},
  36. "LoggingLevel": {}
  37. }
  38. },
  39. "output": {
  40. "type": "structure",
  41. "members": {
  42. "WebhookConfiguration": {
  43. "shape": "S9"
  44. }
  45. }
  46. }
  47. },
  48. "CreateMicrosoftTeamsChannelConfiguration": {
  49. "http": {
  50. "requestUri": "/create-ms-teams-channel-configuration",
  51. "responseCode": 201
  52. },
  53. "input": {
  54. "type": "structure",
  55. "required": [
  56. "ChannelId",
  57. "TeamId",
  58. "TenantId",
  59. "IamRoleArn",
  60. "ConfigurationName"
  61. ],
  62. "members": {
  63. "ChannelId": {},
  64. "ChannelName": {},
  65. "TeamId": {},
  66. "TeamName": {},
  67. "TenantId": {},
  68. "SnsTopicArns": {
  69. "shape": "S4"
  70. },
  71. "IamRoleArn": {},
  72. "ConfigurationName": {},
  73. "LoggingLevel": {},
  74. "GuardrailPolicyArns": {
  75. "shape": "Sg"
  76. },
  77. "UserAuthorizationRequired": {
  78. "type": "boolean"
  79. }
  80. }
  81. },
  82. "output": {
  83. "type": "structure",
  84. "members": {
  85. "ChannelConfiguration": {
  86. "shape": "Sk"
  87. }
  88. }
  89. }
  90. },
  91. "CreateSlackChannelConfiguration": {
  92. "http": {
  93. "requestUri": "/create-slack-channel-configuration",
  94. "responseCode": 201
  95. },
  96. "input": {
  97. "type": "structure",
  98. "required": [
  99. "SlackTeamId",
  100. "SlackChannelId",
  101. "IamRoleArn",
  102. "ConfigurationName"
  103. ],
  104. "members": {
  105. "SlackTeamId": {},
  106. "SlackChannelId": {},
  107. "SlackChannelName": {},
  108. "SnsTopicArns": {
  109. "shape": "S4"
  110. },
  111. "IamRoleArn": {},
  112. "ConfigurationName": {},
  113. "LoggingLevel": {},
  114. "GuardrailPolicyArns": {
  115. "shape": "Sg"
  116. },
  117. "UserAuthorizationRequired": {
  118. "type": "boolean"
  119. }
  120. }
  121. },
  122. "output": {
  123. "type": "structure",
  124. "members": {
  125. "ChannelConfiguration": {
  126. "shape": "Sr"
  127. }
  128. }
  129. }
  130. },
  131. "DeleteChimeWebhookConfiguration": {
  132. "http": {
  133. "requestUri": "/delete-chime-webhook-configuration",
  134. "responseCode": 204
  135. },
  136. "input": {
  137. "type": "structure",
  138. "required": [
  139. "ChatConfigurationArn"
  140. ],
  141. "members": {
  142. "ChatConfigurationArn": {}
  143. }
  144. },
  145. "output": {
  146. "type": "structure",
  147. "members": {}
  148. }
  149. },
  150. "DeleteMicrosoftTeamsChannelConfiguration": {
  151. "http": {
  152. "requestUri": "/delete-ms-teams-channel-configuration",
  153. "responseCode": 204
  154. },
  155. "input": {
  156. "type": "structure",
  157. "required": [
  158. "ChatConfigurationArn"
  159. ],
  160. "members": {
  161. "ChatConfigurationArn": {}
  162. }
  163. },
  164. "output": {
  165. "type": "structure",
  166. "members": {}
  167. }
  168. },
  169. "DeleteMicrosoftTeamsConfiguredTeam": {
  170. "http": {
  171. "requestUri": "/delete-ms-teams-configured-teams",
  172. "responseCode": 204
  173. },
  174. "input": {
  175. "type": "structure",
  176. "required": [
  177. "TeamId"
  178. ],
  179. "members": {
  180. "TeamId": {}
  181. }
  182. },
  183. "output": {
  184. "type": "structure",
  185. "members": {}
  186. }
  187. },
  188. "DeleteMicrosoftTeamsUserIdentity": {
  189. "http": {
  190. "requestUri": "/delete-ms-teams-user-identity",
  191. "responseCode": 204
  192. },
  193. "input": {
  194. "type": "structure",
  195. "required": [
  196. "ChatConfigurationArn",
  197. "UserId"
  198. ],
  199. "members": {
  200. "ChatConfigurationArn": {},
  201. "UserId": {}
  202. }
  203. },
  204. "output": {
  205. "type": "structure",
  206. "members": {}
  207. }
  208. },
  209. "DeleteSlackChannelConfiguration": {
  210. "http": {
  211. "requestUri": "/delete-slack-channel-configuration",
  212. "responseCode": 204
  213. },
  214. "input": {
  215. "type": "structure",
  216. "required": [
  217. "ChatConfigurationArn"
  218. ],
  219. "members": {
  220. "ChatConfigurationArn": {}
  221. }
  222. },
  223. "output": {
  224. "type": "structure",
  225. "members": {}
  226. }
  227. },
  228. "DeleteSlackUserIdentity": {
  229. "http": {
  230. "requestUri": "/delete-slack-user-identity",
  231. "responseCode": 204
  232. },
  233. "input": {
  234. "type": "structure",
  235. "required": [
  236. "ChatConfigurationArn",
  237. "SlackTeamId",
  238. "SlackUserId"
  239. ],
  240. "members": {
  241. "ChatConfigurationArn": {},
  242. "SlackTeamId": {},
  243. "SlackUserId": {}
  244. }
  245. },
  246. "output": {
  247. "type": "structure",
  248. "members": {}
  249. }
  250. },
  251. "DeleteSlackWorkspaceAuthorization": {
  252. "http": {
  253. "requestUri": "/delete-slack-workspace-authorization",
  254. "responseCode": 204
  255. },
  256. "input": {
  257. "type": "structure",
  258. "required": [
  259. "SlackTeamId"
  260. ],
  261. "members": {
  262. "SlackTeamId": {}
  263. }
  264. },
  265. "output": {
  266. "type": "structure",
  267. "members": {}
  268. }
  269. },
  270. "DescribeChimeWebhookConfigurations": {
  271. "http": {
  272. "requestUri": "/describe-chime-webhook-configurations",
  273. "responseCode": 200
  274. },
  275. "input": {
  276. "type": "structure",
  277. "members": {
  278. "MaxResults": {
  279. "type": "integer"
  280. },
  281. "NextToken": {},
  282. "ChatConfigurationArn": {}
  283. }
  284. },
  285. "output": {
  286. "type": "structure",
  287. "members": {
  288. "NextToken": {},
  289. "WebhookConfigurations": {
  290. "type": "list",
  291. "member": {
  292. "shape": "S9"
  293. }
  294. }
  295. }
  296. }
  297. },
  298. "DescribeSlackChannelConfigurations": {
  299. "http": {
  300. "requestUri": "/describe-slack-channel-configurations",
  301. "responseCode": 200
  302. },
  303. "input": {
  304. "type": "structure",
  305. "members": {
  306. "MaxResults": {
  307. "type": "integer"
  308. },
  309. "NextToken": {},
  310. "ChatConfigurationArn": {}
  311. }
  312. },
  313. "output": {
  314. "type": "structure",
  315. "members": {
  316. "NextToken": {},
  317. "SlackChannelConfigurations": {
  318. "type": "list",
  319. "member": {
  320. "shape": "Sr"
  321. }
  322. }
  323. }
  324. }
  325. },
  326. "DescribeSlackUserIdentities": {
  327. "http": {
  328. "requestUri": "/describe-slack-user-identities",
  329. "responseCode": 200
  330. },
  331. "input": {
  332. "type": "structure",
  333. "members": {
  334. "ChatConfigurationArn": {},
  335. "NextToken": {},
  336. "MaxResults": {
  337. "type": "integer"
  338. }
  339. }
  340. },
  341. "output": {
  342. "type": "structure",
  343. "members": {
  344. "SlackUserIdentities": {
  345. "type": "list",
  346. "member": {
  347. "type": "structure",
  348. "required": [
  349. "IamRoleArn",
  350. "ChatConfigurationArn",
  351. "SlackTeamId",
  352. "SlackUserId"
  353. ],
  354. "members": {
  355. "IamRoleArn": {},
  356. "ChatConfigurationArn": {},
  357. "SlackTeamId": {},
  358. "SlackUserId": {},
  359. "AwsUserIdentity": {}
  360. }
  361. }
  362. },
  363. "NextToken": {}
  364. }
  365. }
  366. },
  367. "DescribeSlackWorkspaces": {
  368. "http": {
  369. "requestUri": "/describe-slack-workspaces",
  370. "responseCode": 200
  371. },
  372. "input": {
  373. "type": "structure",
  374. "members": {
  375. "MaxResults": {
  376. "type": "integer"
  377. },
  378. "NextToken": {}
  379. }
  380. },
  381. "output": {
  382. "type": "structure",
  383. "members": {
  384. "SlackWorkspaces": {
  385. "type": "list",
  386. "member": {
  387. "type": "structure",
  388. "required": [
  389. "SlackTeamId",
  390. "SlackTeamName"
  391. ],
  392. "members": {
  393. "SlackTeamId": {},
  394. "SlackTeamName": {}
  395. }
  396. }
  397. },
  398. "NextToken": {}
  399. }
  400. }
  401. },
  402. "GetAccountPreferences": {
  403. "http": {
  404. "requestUri": "/get-account-preferences",
  405. "responseCode": 200
  406. },
  407. "input": {
  408. "type": "structure",
  409. "members": {}
  410. },
  411. "output": {
  412. "type": "structure",
  413. "members": {
  414. "AccountPreferences": {
  415. "shape": "S1r"
  416. }
  417. }
  418. }
  419. },
  420. "GetMicrosoftTeamsChannelConfiguration": {
  421. "http": {
  422. "requestUri": "/get-ms-teams-channel-configuration",
  423. "responseCode": 200
  424. },
  425. "input": {
  426. "type": "structure",
  427. "required": [
  428. "ChatConfigurationArn"
  429. ],
  430. "members": {
  431. "ChatConfigurationArn": {}
  432. }
  433. },
  434. "output": {
  435. "type": "structure",
  436. "members": {
  437. "ChannelConfiguration": {
  438. "shape": "Sk"
  439. }
  440. }
  441. }
  442. },
  443. "ListMicrosoftTeamsChannelConfigurations": {
  444. "http": {
  445. "requestUri": "/list-ms-teams-channel-configurations",
  446. "responseCode": 200
  447. },
  448. "input": {
  449. "type": "structure",
  450. "members": {
  451. "MaxResults": {
  452. "type": "integer"
  453. },
  454. "NextToken": {},
  455. "TeamId": {}
  456. }
  457. },
  458. "output": {
  459. "type": "structure",
  460. "members": {
  461. "NextToken": {},
  462. "TeamChannelConfigurations": {
  463. "type": "list",
  464. "member": {
  465. "shape": "Sk"
  466. }
  467. }
  468. }
  469. }
  470. },
  471. "ListMicrosoftTeamsConfiguredTeams": {
  472. "http": {
  473. "requestUri": "/list-ms-teams-configured-teams",
  474. "responseCode": 200
  475. },
  476. "input": {
  477. "type": "structure",
  478. "members": {
  479. "MaxResults": {
  480. "type": "integer"
  481. },
  482. "NextToken": {}
  483. }
  484. },
  485. "output": {
  486. "type": "structure",
  487. "members": {
  488. "ConfiguredTeams": {
  489. "type": "list",
  490. "member": {
  491. "type": "structure",
  492. "required": [
  493. "TenantId",
  494. "TeamId"
  495. ],
  496. "members": {
  497. "TenantId": {},
  498. "TeamId": {},
  499. "TeamName": {}
  500. }
  501. }
  502. },
  503. "NextToken": {}
  504. }
  505. }
  506. },
  507. "ListMicrosoftTeamsUserIdentities": {
  508. "http": {
  509. "requestUri": "/list-ms-teams-user-identities",
  510. "responseCode": 200
  511. },
  512. "input": {
  513. "type": "structure",
  514. "members": {
  515. "ChatConfigurationArn": {},
  516. "NextToken": {},
  517. "MaxResults": {
  518. "type": "integer"
  519. }
  520. }
  521. },
  522. "output": {
  523. "type": "structure",
  524. "members": {
  525. "TeamsUserIdentities": {
  526. "type": "list",
  527. "member": {
  528. "type": "structure",
  529. "required": [
  530. "IamRoleArn",
  531. "ChatConfigurationArn",
  532. "TeamId"
  533. ],
  534. "members": {
  535. "IamRoleArn": {},
  536. "ChatConfigurationArn": {},
  537. "TeamId": {},
  538. "UserId": {},
  539. "AwsUserIdentity": {},
  540. "TeamsChannelId": {},
  541. "TeamsTenantId": {}
  542. }
  543. }
  544. },
  545. "NextToken": {}
  546. }
  547. }
  548. },
  549. "UpdateAccountPreferences": {
  550. "http": {
  551. "requestUri": "/update-account-preferences",
  552. "responseCode": 200
  553. },
  554. "input": {
  555. "type": "structure",
  556. "members": {
  557. "UserAuthorizationRequired": {
  558. "type": "boolean"
  559. },
  560. "TrainingDataCollectionEnabled": {
  561. "type": "boolean"
  562. }
  563. }
  564. },
  565. "output": {
  566. "type": "structure",
  567. "members": {
  568. "AccountPreferences": {
  569. "shape": "S1r"
  570. }
  571. }
  572. }
  573. },
  574. "UpdateChimeWebhookConfiguration": {
  575. "http": {
  576. "requestUri": "/update-chime-webhook-configuration",
  577. "responseCode": 200
  578. },
  579. "input": {
  580. "type": "structure",
  581. "required": [
  582. "ChatConfigurationArn"
  583. ],
  584. "members": {
  585. "ChatConfigurationArn": {},
  586. "WebhookDescription": {},
  587. "WebhookUrl": {},
  588. "SnsTopicArns": {
  589. "shape": "S4"
  590. },
  591. "IamRoleArn": {},
  592. "LoggingLevel": {}
  593. }
  594. },
  595. "output": {
  596. "type": "structure",
  597. "members": {
  598. "WebhookConfiguration": {
  599. "shape": "S9"
  600. }
  601. }
  602. }
  603. },
  604. "UpdateMicrosoftTeamsChannelConfiguration": {
  605. "http": {
  606. "requestUri": "/update-ms-teams-channel-configuration",
  607. "responseCode": 200
  608. },
  609. "input": {
  610. "type": "structure",
  611. "required": [
  612. "ChatConfigurationArn",
  613. "ChannelId"
  614. ],
  615. "members": {
  616. "ChatConfigurationArn": {},
  617. "ChannelId": {},
  618. "ChannelName": {},
  619. "SnsTopicArns": {
  620. "shape": "S4"
  621. },
  622. "IamRoleArn": {},
  623. "LoggingLevel": {},
  624. "GuardrailPolicyArns": {
  625. "shape": "Sg"
  626. },
  627. "UserAuthorizationRequired": {
  628. "type": "boolean"
  629. }
  630. }
  631. },
  632. "output": {
  633. "type": "structure",
  634. "members": {
  635. "ChannelConfiguration": {
  636. "shape": "Sk"
  637. }
  638. }
  639. }
  640. },
  641. "UpdateSlackChannelConfiguration": {
  642. "http": {
  643. "requestUri": "/update-slack-channel-configuration",
  644. "responseCode": 200
  645. },
  646. "input": {
  647. "type": "structure",
  648. "required": [
  649. "ChatConfigurationArn",
  650. "SlackChannelId"
  651. ],
  652. "members": {
  653. "ChatConfigurationArn": {},
  654. "SlackChannelId": {},
  655. "SlackChannelName": {},
  656. "SnsTopicArns": {
  657. "shape": "S4"
  658. },
  659. "IamRoleArn": {},
  660. "LoggingLevel": {},
  661. "GuardrailPolicyArns": {
  662. "shape": "Sg"
  663. },
  664. "UserAuthorizationRequired": {
  665. "type": "boolean"
  666. }
  667. }
  668. },
  669. "output": {
  670. "type": "structure",
  671. "members": {
  672. "ChannelConfiguration": {
  673. "shape": "Sr"
  674. }
  675. }
  676. }
  677. }
  678. },
  679. "shapes": {
  680. "S4": {
  681. "type": "list",
  682. "member": {}
  683. },
  684. "S9": {
  685. "type": "structure",
  686. "required": [
  687. "WebhookDescription",
  688. "ChatConfigurationArn",
  689. "IamRoleArn",
  690. "SnsTopicArns"
  691. ],
  692. "members": {
  693. "WebhookDescription": {},
  694. "ChatConfigurationArn": {},
  695. "IamRoleArn": {},
  696. "SnsTopicArns": {
  697. "shape": "S4"
  698. },
  699. "ConfigurationName": {},
  700. "LoggingLevel": {}
  701. }
  702. },
  703. "Sg": {
  704. "type": "list",
  705. "member": {}
  706. },
  707. "Sk": {
  708. "type": "structure",
  709. "required": [
  710. "ChannelId",
  711. "TeamId",
  712. "TenantId",
  713. "ChatConfigurationArn",
  714. "IamRoleArn",
  715. "SnsTopicArns"
  716. ],
  717. "members": {
  718. "ChannelId": {},
  719. "ChannelName": {},
  720. "TeamId": {},
  721. "TeamName": {},
  722. "TenantId": {},
  723. "ChatConfigurationArn": {},
  724. "IamRoleArn": {},
  725. "SnsTopicArns": {
  726. "shape": "S4"
  727. },
  728. "ConfigurationName": {},
  729. "LoggingLevel": {},
  730. "GuardrailPolicyArns": {
  731. "shape": "Sg"
  732. },
  733. "UserAuthorizationRequired": {
  734. "type": "boolean"
  735. }
  736. }
  737. },
  738. "Sr": {
  739. "type": "structure",
  740. "required": [
  741. "SlackTeamName",
  742. "SlackTeamId",
  743. "SlackChannelId",
  744. "SlackChannelName",
  745. "ChatConfigurationArn",
  746. "IamRoleArn",
  747. "SnsTopicArns"
  748. ],
  749. "members": {
  750. "SlackTeamName": {},
  751. "SlackTeamId": {},
  752. "SlackChannelId": {},
  753. "SlackChannelName": {},
  754. "ChatConfigurationArn": {},
  755. "IamRoleArn": {},
  756. "SnsTopicArns": {
  757. "shape": "S4"
  758. },
  759. "ConfigurationName": {},
  760. "LoggingLevel": {},
  761. "GuardrailPolicyArns": {
  762. "shape": "Sg"
  763. },
  764. "UserAuthorizationRequired": {
  765. "type": "boolean"
  766. }
  767. }
  768. },
  769. "S1r": {
  770. "type": "structure",
  771. "members": {
  772. "UserAuthorizationRequired": {
  773. "type": "boolean"
  774. },
  775. "TrainingDataCollectionEnabled": {
  776. "type": "boolean"
  777. }
  778. }
  779. }
  780. }
  781. }