@aws-sdk/client-chatbot 3.517.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +389 -0
  3. package/dist-cjs/Chatbot.js +57 -0
  4. package/dist-cjs/ChatbotClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateChimeWebhookConfigurationCommand.js +28 -0
  8. package/dist-cjs/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  9. package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteChimeWebhookConfigurationCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +28 -0
  13. package/dist-cjs/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +28 -0
  14. package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +28 -0
  15. package/dist-cjs/commands/DeleteSlackUserIdentityCommand.js +28 -0
  16. package/dist-cjs/commands/DeleteSlackWorkspaceAuthorizationCommand.js +28 -0
  17. package/dist-cjs/commands/DescribeChimeWebhookConfigurationsCommand.js +28 -0
  18. package/dist-cjs/commands/DescribeSlackChannelConfigurationsCommand.js +28 -0
  19. package/dist-cjs/commands/DescribeSlackUserIdentitiesCommand.js +28 -0
  20. package/dist-cjs/commands/DescribeSlackWorkspacesCommand.js +28 -0
  21. package/dist-cjs/commands/GetAccountPreferencesCommand.js +28 -0
  22. package/dist-cjs/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  23. package/dist-cjs/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +28 -0
  24. package/dist-cjs/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +28 -0
  25. package/dist-cjs/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +28 -0
  26. package/dist-cjs/commands/UpdateAccountPreferencesCommand.js +28 -0
  27. package/dist-cjs/commands/UpdateChimeWebhookConfigurationCommand.js +28 -0
  28. package/dist-cjs/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  29. package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +28 -0
  30. package/dist-cjs/commands/index.js +26 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +12 -0
  36. package/dist-cjs/models/ChatbotServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +392 -0
  39. package/dist-cjs/pagination/DescribeChimeWebhookConfigurationsPaginator.js +7 -0
  40. package/dist-cjs/pagination/DescribeSlackChannelConfigurationsPaginator.js +7 -0
  41. package/dist-cjs/pagination/DescribeSlackUserIdentitiesPaginator.js +7 -0
  42. package/dist-cjs/pagination/DescribeSlackWorkspacesPaginator.js +7 -0
  43. package/dist-cjs/pagination/Interfaces.js +2 -0
  44. package/dist-cjs/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +7 -0
  47. package/dist-cjs/pagination/index.js +11 -0
  48. package/dist-cjs/protocols/Aws_restJson1.js +1226 -0
  49. package/dist-cjs/runtimeConfig.browser.js +39 -0
  50. package/dist-cjs/runtimeConfig.js +49 -0
  51. package/dist-cjs/runtimeConfig.native.js +15 -0
  52. package/dist-cjs/runtimeConfig.shared.js +34 -0
  53. package/dist-cjs/runtimeExtensions.js +25 -0
  54. package/dist-es/Chatbot.js +53 -0
  55. package/dist-es/ChatbotClient.js +52 -0
  56. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  57. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  58. package/dist-es/commands/CreateChimeWebhookConfigurationCommand.js +24 -0
  59. package/dist-es/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  60. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +24 -0
  61. package/dist-es/commands/DeleteChimeWebhookConfigurationCommand.js +24 -0
  62. package/dist-es/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  63. package/dist-es/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +24 -0
  64. package/dist-es/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +24 -0
  65. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +24 -0
  66. package/dist-es/commands/DeleteSlackUserIdentityCommand.js +24 -0
  67. package/dist-es/commands/DeleteSlackWorkspaceAuthorizationCommand.js +24 -0
  68. package/dist-es/commands/DescribeChimeWebhookConfigurationsCommand.js +24 -0
  69. package/dist-es/commands/DescribeSlackChannelConfigurationsCommand.js +24 -0
  70. package/dist-es/commands/DescribeSlackUserIdentitiesCommand.js +24 -0
  71. package/dist-es/commands/DescribeSlackWorkspacesCommand.js +24 -0
  72. package/dist-es/commands/GetAccountPreferencesCommand.js +24 -0
  73. package/dist-es/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  74. package/dist-es/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +24 -0
  75. package/dist-es/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +24 -0
  76. package/dist-es/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +24 -0
  77. package/dist-es/commands/UpdateAccountPreferencesCommand.js +24 -0
  78. package/dist-es/commands/UpdateChimeWebhookConfigurationCommand.js +24 -0
  79. package/dist-es/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  80. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +24 -0
  81. package/dist-es/commands/index.js +23 -0
  82. package/dist-es/endpoint/EndpointParameters.js +14 -0
  83. package/dist-es/endpoint/endpointResolver.js +8 -0
  84. package/dist-es/endpoint/ruleset.js +4 -0
  85. package/dist-es/extensionConfiguration.js +1 -0
  86. package/dist-es/index.js +7 -0
  87. package/dist-es/models/ChatbotServiceException.js +8 -0
  88. package/dist-es/models/index.js +1 -0
  89. package/dist-es/models/models_0.js +361 -0
  90. package/dist-es/pagination/DescribeChimeWebhookConfigurationsPaginator.js +4 -0
  91. package/dist-es/pagination/DescribeSlackChannelConfigurationsPaginator.js +4 -0
  92. package/dist-es/pagination/DescribeSlackUserIdentitiesPaginator.js +4 -0
  93. package/dist-es/pagination/DescribeSlackWorkspacesPaginator.js +4 -0
  94. package/dist-es/pagination/Interfaces.js +1 -0
  95. package/dist-es/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +4 -0
  96. package/dist-es/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +4 -0
  97. package/dist-es/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +4 -0
  98. package/dist-es/pagination/index.js +8 -0
  99. package/dist-es/protocols/Aws_restJson1.js +1177 -0
  100. package/dist-es/runtimeConfig.browser.js +34 -0
  101. package/dist-es/runtimeConfig.js +44 -0
  102. package/dist-es/runtimeConfig.native.js +11 -0
  103. package/dist-es/runtimeConfig.shared.js +30 -0
  104. package/dist-es/runtimeExtensions.js +21 -0
  105. package/dist-types/Chatbot.d.ts +171 -0
  106. package/dist-types/ChatbotClient.d.ts +194 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  109. package/dist-types/commands/CreateChimeWebhookConfigurationCommand.d.ts +89 -0
  110. package/dist-types/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +104 -0
  111. package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +101 -0
  112. package/dist-types/commands/DeleteChimeWebhookConfigurationCommand.d.ts +68 -0
  113. package/dist-types/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +68 -0
  114. package/dist-types/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +62 -0
  115. package/dist-types/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +66 -0
  116. package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +68 -0
  117. package/dist-types/commands/DeleteSlackUserIdentityCommand.d.ts +67 -0
  118. package/dist-types/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +62 -0
  119. package/dist-types/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +81 -0
  120. package/dist-types/commands/DescribeSlackChannelConfigurationsCommand.d.ts +88 -0
  121. package/dist-types/commands/DescribeSlackUserIdentitiesCommand.d.ts +78 -0
  122. package/dist-types/commands/DescribeSlackWorkspacesCommand.d.ts +74 -0
  123. package/dist-types/commands/GetAccountPreferencesCommand.d.ts +65 -0
  124. package/dist-types/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +84 -0
  125. package/dist-types/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +89 -0
  126. package/dist-types/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +75 -0
  127. package/dist-types/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +80 -0
  128. package/dist-types/commands/UpdateAccountPreferencesCommand.d.ts +71 -0
  129. package/dist-types/commands/UpdateChimeWebhookConfigurationCommand.d.ts +86 -0
  130. package/dist-types/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +98 -0
  131. package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +97 -0
  132. package/dist-types/commands/index.d.ts +23 -0
  133. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  134. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  135. package/dist-types/endpoint/ruleset.d.ts +2 -0
  136. package/dist-types/extensionConfiguration.d.ts +9 -0
  137. package/dist-types/index.d.ts +15 -0
  138. package/dist-types/models/ChatbotServiceException.d.ts +13 -0
  139. package/dist-types/models/index.d.ts +1 -0
  140. package/dist-types/models/models_0.d.ts +1395 -0
  141. package/dist-types/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +7 -0
  143. package/dist-types/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +7 -0
  144. package/dist-types/pagination/DescribeSlackWorkspacesPaginator.d.ts +7 -0
  145. package/dist-types/pagination/Interfaces.d.ts +8 -0
  146. package/dist-types/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +7 -0
  147. package/dist-types/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +7 -0
  148. package/dist-types/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +7 -0
  149. package/dist-types/pagination/index.d.ts +8 -0
  150. package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  152. package/dist-types/runtimeConfig.d.ts +48 -0
  153. package/dist-types/runtimeConfig.native.d.ts +47 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/ts3.4/Chatbot.d.ts +456 -0
  157. package/dist-types/ts3.4/ChatbotClient.d.ts +258 -0
  158. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  159. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  160. package/dist-types/ts3.4/commands/CreateChimeWebhookConfigurationCommand.d.ts +30 -0
  161. package/dist-types/ts3.4/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  162. package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +30 -0
  163. package/dist-types/ts3.4/commands/DeleteChimeWebhookConfigurationCommand.d.ts +30 -0
  164. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  165. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +30 -0
  166. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +30 -0
  167. package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +30 -0
  168. package/dist-types/ts3.4/commands/DeleteSlackUserIdentityCommand.d.ts +30 -0
  169. package/dist-types/ts3.4/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +30 -0
  170. package/dist-types/ts3.4/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +30 -0
  171. package/dist-types/ts3.4/commands/DescribeSlackChannelConfigurationsCommand.d.ts +30 -0
  172. package/dist-types/ts3.4/commands/DescribeSlackUserIdentitiesCommand.d.ts +30 -0
  173. package/dist-types/ts3.4/commands/DescribeSlackWorkspacesCommand.d.ts +30 -0
  174. package/dist-types/ts3.4/commands/GetAccountPreferencesCommand.d.ts +30 -0
  175. package/dist-types/ts3.4/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  176. package/dist-types/ts3.4/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +30 -0
  177. package/dist-types/ts3.4/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +30 -0
  178. package/dist-types/ts3.4/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +30 -0
  179. package/dist-types/ts3.4/commands/UpdateAccountPreferencesCommand.d.ts +30 -0
  180. package/dist-types/ts3.4/commands/UpdateChimeWebhookConfigurationCommand.d.ts +30 -0
  181. package/dist-types/ts3.4/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  182. package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +30 -0
  183. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  184. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  185. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  186. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  187. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  188. package/dist-types/ts3.4/index.d.ts +10 -0
  189. package/dist-types/ts3.4/models/ChatbotServiceException.d.ts +8 -0
  190. package/dist-types/ts3.4/models/index.d.ts +1 -0
  191. package/dist-types/ts3.4/models/models_0.d.ts +537 -0
  192. package/dist-types/ts3.4/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/DescribeSlackWorkspacesPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  197. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +11 -0
  198. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +11 -0
  199. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  201. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
  202. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  203. package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
  204. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  205. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  206. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  207. package/package.json +101 -0
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeSlackChannelConfigurationsCommand, se_DescribeSlackChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeSlackChannelConfigurationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "DescribeSlackChannelConfigurations", {})
19
+ .n("ChatbotClient", "DescribeSlackChannelConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSlackChannelConfigurationsCommand)
22
+ .de(de_DescribeSlackChannelConfigurationsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeSlackUserIdentitiesCommand, se_DescribeSlackUserIdentitiesCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeSlackUserIdentitiesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "DescribeSlackUserIdentities", {})
19
+ .n("ChatbotClient", "DescribeSlackUserIdentitiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSlackUserIdentitiesCommand)
22
+ .de(de_DescribeSlackUserIdentitiesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeSlackWorkspacesCommand, se_DescribeSlackWorkspacesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeSlackWorkspacesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "DescribeSlackWorkspaces", {})
19
+ .n("ChatbotClient", "DescribeSlackWorkspacesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSlackWorkspacesCommand)
22
+ .de(de_DescribeSlackWorkspacesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetAccountPreferencesCommand, se_GetAccountPreferencesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetAccountPreferencesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "GetAccountPreferences", {})
19
+ .n("ChatbotClient", "GetAccountPreferencesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAccountPreferencesCommand)
22
+ .de(de_GetAccountPreferencesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetMicrosoftTeamsChannelConfigurationCommand, se_GetMicrosoftTeamsChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetMicrosoftTeamsChannelConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "GetMicrosoftTeamsChannelConfiguration", {})
19
+ .n("ChatbotClient", "GetMicrosoftTeamsChannelConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMicrosoftTeamsChannelConfigurationCommand)
22
+ .de(de_GetMicrosoftTeamsChannelConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMicrosoftTeamsChannelConfigurationsCommand, se_ListMicrosoftTeamsChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMicrosoftTeamsChannelConfigurationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {})
19
+ .n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListMicrosoftTeamsChannelConfigurationsCommand)
22
+ .de(de_ListMicrosoftTeamsChannelConfigurationsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMicrosoftTeamsConfiguredTeamsCommand, se_ListMicrosoftTeamsConfiguredTeamsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMicrosoftTeamsConfiguredTeamsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {})
19
+ .n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListMicrosoftTeamsConfiguredTeamsCommand)
22
+ .de(de_ListMicrosoftTeamsConfiguredTeamsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMicrosoftTeamsUserIdentitiesCommand, se_ListMicrosoftTeamsUserIdentitiesCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMicrosoftTeamsUserIdentitiesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {})
19
+ .n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListMicrosoftTeamsUserIdentitiesCommand)
22
+ .de(de_ListMicrosoftTeamsUserIdentitiesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAccountPreferencesCommand, se_UpdateAccountPreferencesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAccountPreferencesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {})
19
+ .n("ChatbotClient", "UpdateAccountPreferencesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateAccountPreferencesCommand)
22
+ .de(de_UpdateAccountPreferencesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateChimeWebhookConfigurationCommand, se_UpdateChimeWebhookConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateChimeWebhookConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {})
19
+ .n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateChimeWebhookConfigurationCommand)
22
+ .de(de_UpdateChimeWebhookConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateMicrosoftTeamsChannelConfigurationCommand, se_UpdateMicrosoftTeamsChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateMicrosoftTeamsChannelConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {})
19
+ .n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateMicrosoftTeamsChannelConfigurationCommand)
22
+ .de(de_UpdateMicrosoftTeamsChannelConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateSlackChannelConfigurationCommand, se_UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateSlackChannelConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {})
19
+ .n("ChatbotClient", "UpdateSlackChannelConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSlackChannelConfigurationCommand)
22
+ .de(de_UpdateSlackChannelConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,23 @@
1
+ export * from "./CreateChimeWebhookConfigurationCommand";
2
+ export * from "./CreateMicrosoftTeamsChannelConfigurationCommand";
3
+ export * from "./CreateSlackChannelConfigurationCommand";
4
+ export * from "./DeleteChimeWebhookConfigurationCommand";
5
+ export * from "./DeleteMicrosoftTeamsChannelConfigurationCommand";
6
+ export * from "./DeleteMicrosoftTeamsConfiguredTeamCommand";
7
+ export * from "./DeleteMicrosoftTeamsUserIdentityCommand";
8
+ export * from "./DeleteSlackChannelConfigurationCommand";
9
+ export * from "./DeleteSlackUserIdentityCommand";
10
+ export * from "./DeleteSlackWorkspaceAuthorizationCommand";
11
+ export * from "./DescribeChimeWebhookConfigurationsCommand";
12
+ export * from "./DescribeSlackChannelConfigurationsCommand";
13
+ export * from "./DescribeSlackUserIdentitiesCommand";
14
+ export * from "./DescribeSlackWorkspacesCommand";
15
+ export * from "./GetAccountPreferencesCommand";
16
+ export * from "./GetMicrosoftTeamsChannelConfigurationCommand";
17
+ export * from "./ListMicrosoftTeamsChannelConfigurationsCommand";
18
+ export * from "./ListMicrosoftTeamsConfiguredTeamsCommand";
19
+ export * from "./ListMicrosoftTeamsUserIdentitiesCommand";
20
+ export * from "./UpdateAccountPreferencesCommand";
21
+ export * from "./UpdateChimeWebhookConfigurationCommand";
22
+ export * from "./UpdateMicrosoftTeamsChannelConfigurationCommand";
23
+ export * from "./UpdateSlackChannelConfigurationCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "chatbot",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://chatbot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://chatbot-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://chatbot.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://chatbot.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from "./ChatbotClient";
2
+ export * from "./Chatbot";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ import "@aws-sdk/util-endpoints";
7
+ export { ChatbotServiceException } from "./models/ChatbotServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class ChatbotServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, ChatbotServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";