@aws-sdk/client-chatbot 3.891.0 → 3.894.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 (58) hide show
  1. package/dist-cjs/index.js +3275 -10
  2. package/package.json +19 -19
  3. package/dist-cjs/Chatbot.js +0 -79
  4. package/dist-cjs/ChatbotClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/AssociateToConfigurationCommand.js +0 -26
  7. package/dist-cjs/commands/CreateChimeWebhookConfigurationCommand.js +0 -27
  8. package/dist-cjs/commands/CreateCustomActionCommand.js +0 -26
  9. package/dist-cjs/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +0 -27
  10. package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteChimeWebhookConfigurationCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteCustomActionCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +0 -26
  15. package/dist-cjs/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +0 -26
  16. package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteSlackUserIdentityCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteSlackWorkspaceAuthorizationCommand.js +0 -26
  19. package/dist-cjs/commands/DescribeChimeWebhookConfigurationsCommand.js +0 -27
  20. package/dist-cjs/commands/DescribeSlackChannelConfigurationsCommand.js +0 -27
  21. package/dist-cjs/commands/DescribeSlackUserIdentitiesCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeSlackWorkspacesCommand.js +0 -26
  23. package/dist-cjs/commands/DisassociateFromConfigurationCommand.js +0 -26
  24. package/dist-cjs/commands/GetAccountPreferencesCommand.js +0 -26
  25. package/dist-cjs/commands/GetCustomActionCommand.js +0 -26
  26. package/dist-cjs/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +0 -27
  27. package/dist-cjs/commands/ListAssociationsCommand.js +0 -26
  28. package/dist-cjs/commands/ListCustomActionsCommand.js +0 -26
  29. package/dist-cjs/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +0 -27
  30. package/dist-cjs/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +0 -26
  31. package/dist-cjs/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +0 -26
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  33. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  34. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  35. package/dist-cjs/commands/UpdateAccountPreferencesCommand.js +0 -26
  36. package/dist-cjs/commands/UpdateChimeWebhookConfigurationCommand.js +0 -27
  37. package/dist-cjs/commands/UpdateCustomActionCommand.js +0 -26
  38. package/dist-cjs/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +0 -27
  39. package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +0 -27
  40. package/dist-cjs/commands/index.js +0 -37
  41. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  42. package/dist-cjs/extensionConfiguration.js +0 -2
  43. package/dist-cjs/models/ChatbotServiceException.js +0 -12
  44. package/dist-cjs/models/index.js +0 -4
  45. package/dist-cjs/models/models_0.js +0 -595
  46. package/dist-cjs/pagination/DescribeChimeWebhookConfigurationsPaginator.js +0 -7
  47. package/dist-cjs/pagination/DescribeSlackChannelConfigurationsPaginator.js +0 -7
  48. package/dist-cjs/pagination/DescribeSlackUserIdentitiesPaginator.js +0 -7
  49. package/dist-cjs/pagination/DescribeSlackWorkspacesPaginator.js +0 -7
  50. package/dist-cjs/pagination/Interfaces.js +0 -2
  51. package/dist-cjs/pagination/ListAssociationsPaginator.js +0 -7
  52. package/dist-cjs/pagination/ListCustomActionsPaginator.js +0 -7
  53. package/dist-cjs/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +0 -7
  54. package/dist-cjs/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +0 -7
  55. package/dist-cjs/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +0 -7
  56. package/dist-cjs/pagination/index.js +0 -13
  57. package/dist-cjs/protocols/Aws_restJson1.js +0 -1564
  58. package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,3276 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChatbotServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./ChatbotClient"), exports);
6
- tslib_1.__exportStar(require("./Chatbot"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- var ChatbotServiceException_1 = require("./models/ChatbotServiceException");
11
- Object.defineProperty(exports, "ChatbotServiceException", { enumerable: true, get: function () { return ChatbotServiceException_1.ChatbotServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ AssociateToConfigurationCommand: () => AssociateToConfigurationCommand,
25
+ Chatbot: () => Chatbot,
26
+ ChatbotClient: () => ChatbotClient,
27
+ ChatbotServiceException: () => ChatbotServiceException,
28
+ ChimeWebhookConfigurationFilterSensitiveLog: () => ChimeWebhookConfigurationFilterSensitiveLog,
29
+ ConflictException: () => ConflictException,
30
+ CreateChimeWebhookConfigurationCommand: () => CreateChimeWebhookConfigurationCommand,
31
+ CreateChimeWebhookConfigurationException: () => CreateChimeWebhookConfigurationException,
32
+ CreateChimeWebhookConfigurationRequestFilterSensitiveLog: () => CreateChimeWebhookConfigurationRequestFilterSensitiveLog,
33
+ CreateChimeWebhookConfigurationResultFilterSensitiveLog: () => CreateChimeWebhookConfigurationResultFilterSensitiveLog,
34
+ CreateCustomActionCommand: () => CreateCustomActionCommand,
35
+ CreateMicrosoftTeamsChannelConfigurationCommand: () => CreateMicrosoftTeamsChannelConfigurationCommand,
36
+ CreateSlackChannelConfigurationCommand: () => CreateSlackChannelConfigurationCommand,
37
+ CreateSlackChannelConfigurationException: () => CreateSlackChannelConfigurationException,
38
+ CreateSlackChannelConfigurationRequestFilterSensitiveLog: () => CreateSlackChannelConfigurationRequestFilterSensitiveLog,
39
+ CreateSlackChannelConfigurationResultFilterSensitiveLog: () => CreateSlackChannelConfigurationResultFilterSensitiveLog,
40
+ CreateTeamsChannelConfigurationException: () => CreateTeamsChannelConfigurationException,
41
+ CreateTeamsChannelConfigurationRequestFilterSensitiveLog: () => CreateTeamsChannelConfigurationRequestFilterSensitiveLog,
42
+ CreateTeamsChannelConfigurationResultFilterSensitiveLog: () => CreateTeamsChannelConfigurationResultFilterSensitiveLog,
43
+ CustomActionAttachmentCriteriaOperator: () => CustomActionAttachmentCriteriaOperator,
44
+ DeleteChimeWebhookConfigurationCommand: () => DeleteChimeWebhookConfigurationCommand,
45
+ DeleteChimeWebhookConfigurationException: () => DeleteChimeWebhookConfigurationException,
46
+ DeleteCustomActionCommand: () => DeleteCustomActionCommand,
47
+ DeleteMicrosoftTeamsChannelConfigurationCommand: () => DeleteMicrosoftTeamsChannelConfigurationCommand,
48
+ DeleteMicrosoftTeamsConfiguredTeamCommand: () => DeleteMicrosoftTeamsConfiguredTeamCommand,
49
+ DeleteMicrosoftTeamsUserIdentityCommand: () => DeleteMicrosoftTeamsUserIdentityCommand,
50
+ DeleteMicrosoftTeamsUserIdentityException: () => DeleteMicrosoftTeamsUserIdentityException,
51
+ DeleteSlackChannelConfigurationCommand: () => DeleteSlackChannelConfigurationCommand,
52
+ DeleteSlackChannelConfigurationException: () => DeleteSlackChannelConfigurationException,
53
+ DeleteSlackUserIdentityCommand: () => DeleteSlackUserIdentityCommand,
54
+ DeleteSlackUserIdentityException: () => DeleteSlackUserIdentityException,
55
+ DeleteSlackWorkspaceAuthorizationCommand: () => DeleteSlackWorkspaceAuthorizationCommand,
56
+ DeleteSlackWorkspaceAuthorizationFault: () => DeleteSlackWorkspaceAuthorizationFault,
57
+ DeleteTeamsChannelConfigurationException: () => DeleteTeamsChannelConfigurationException,
58
+ DeleteTeamsConfiguredTeamException: () => DeleteTeamsConfiguredTeamException,
59
+ DescribeChimeWebhookConfigurationsCommand: () => DescribeChimeWebhookConfigurationsCommand,
60
+ DescribeChimeWebhookConfigurationsException: () => DescribeChimeWebhookConfigurationsException,
61
+ DescribeChimeWebhookConfigurationsResultFilterSensitiveLog: () => DescribeChimeWebhookConfigurationsResultFilterSensitiveLog,
62
+ DescribeSlackChannelConfigurationsCommand: () => DescribeSlackChannelConfigurationsCommand,
63
+ DescribeSlackChannelConfigurationsException: () => DescribeSlackChannelConfigurationsException,
64
+ DescribeSlackChannelConfigurationsResultFilterSensitiveLog: () => DescribeSlackChannelConfigurationsResultFilterSensitiveLog,
65
+ DescribeSlackUserIdentitiesCommand: () => DescribeSlackUserIdentitiesCommand,
66
+ DescribeSlackUserIdentitiesException: () => DescribeSlackUserIdentitiesException,
67
+ DescribeSlackWorkspacesCommand: () => DescribeSlackWorkspacesCommand,
68
+ DescribeSlackWorkspacesException: () => DescribeSlackWorkspacesException,
69
+ DisassociateFromConfigurationCommand: () => DisassociateFromConfigurationCommand,
70
+ GetAccountPreferencesCommand: () => GetAccountPreferencesCommand,
71
+ GetAccountPreferencesException: () => GetAccountPreferencesException,
72
+ GetCustomActionCommand: () => GetCustomActionCommand,
73
+ GetMicrosoftTeamsChannelConfigurationCommand: () => GetMicrosoftTeamsChannelConfigurationCommand,
74
+ GetTeamsChannelConfigurationException: () => GetTeamsChannelConfigurationException,
75
+ GetTeamsChannelConfigurationResultFilterSensitiveLog: () => GetTeamsChannelConfigurationResultFilterSensitiveLog,
76
+ InternalServiceError: () => InternalServiceError,
77
+ InvalidParameterException: () => InvalidParameterException,
78
+ InvalidRequestException: () => InvalidRequestException,
79
+ LimitExceededException: () => LimitExceededException,
80
+ ListAssociationsCommand: () => ListAssociationsCommand,
81
+ ListCustomActionsCommand: () => ListCustomActionsCommand,
82
+ ListMicrosoftTeamsChannelConfigurationsCommand: () => ListMicrosoftTeamsChannelConfigurationsCommand,
83
+ ListMicrosoftTeamsConfiguredTeamsCommand: () => ListMicrosoftTeamsConfiguredTeamsCommand,
84
+ ListMicrosoftTeamsConfiguredTeamsException: () => ListMicrosoftTeamsConfiguredTeamsException,
85
+ ListMicrosoftTeamsUserIdentitiesCommand: () => ListMicrosoftTeamsUserIdentitiesCommand,
86
+ ListMicrosoftTeamsUserIdentitiesException: () => ListMicrosoftTeamsUserIdentitiesException,
87
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
88
+ ListTeamsChannelConfigurationsException: () => ListTeamsChannelConfigurationsException,
89
+ ListTeamsChannelConfigurationsResultFilterSensitiveLog: () => ListTeamsChannelConfigurationsResultFilterSensitiveLog,
90
+ ResourceNotFoundException: () => ResourceNotFoundException,
91
+ ServiceUnavailableException: () => ServiceUnavailableException,
92
+ SlackChannelConfigurationFilterSensitiveLog: () => SlackChannelConfigurationFilterSensitiveLog,
93
+ TagResourceCommand: () => TagResourceCommand,
94
+ TeamsChannelConfigurationFilterSensitiveLog: () => TeamsChannelConfigurationFilterSensitiveLog,
95
+ TooManyTagsException: () => TooManyTagsException,
96
+ UnauthorizedException: () => UnauthorizedException,
97
+ UntagResourceCommand: () => UntagResourceCommand,
98
+ UpdateAccountPreferencesCommand: () => UpdateAccountPreferencesCommand,
99
+ UpdateAccountPreferencesException: () => UpdateAccountPreferencesException,
100
+ UpdateChimeWebhookConfigurationCommand: () => UpdateChimeWebhookConfigurationCommand,
101
+ UpdateChimeWebhookConfigurationException: () => UpdateChimeWebhookConfigurationException,
102
+ UpdateChimeWebhookConfigurationRequestFilterSensitiveLog: () => UpdateChimeWebhookConfigurationRequestFilterSensitiveLog,
103
+ UpdateChimeWebhookConfigurationResultFilterSensitiveLog: () => UpdateChimeWebhookConfigurationResultFilterSensitiveLog,
104
+ UpdateCustomActionCommand: () => UpdateCustomActionCommand,
105
+ UpdateMicrosoftTeamsChannelConfigurationCommand: () => UpdateMicrosoftTeamsChannelConfigurationCommand,
106
+ UpdateSlackChannelConfigurationCommand: () => UpdateSlackChannelConfigurationCommand,
107
+ UpdateSlackChannelConfigurationException: () => UpdateSlackChannelConfigurationException,
108
+ UpdateSlackChannelConfigurationRequestFilterSensitiveLog: () => UpdateSlackChannelConfigurationRequestFilterSensitiveLog,
109
+ UpdateSlackChannelConfigurationResultFilterSensitiveLog: () => UpdateSlackChannelConfigurationResultFilterSensitiveLog,
110
+ UpdateTeamsChannelConfigurationException: () => UpdateTeamsChannelConfigurationException,
111
+ UpdateTeamsChannelConfigurationRequestFilterSensitiveLog: () => UpdateTeamsChannelConfigurationRequestFilterSensitiveLog,
112
+ UpdateTeamsChannelConfigurationResultFilterSensitiveLog: () => UpdateTeamsChannelConfigurationResultFilterSensitiveLog,
113
+ __Client: () => import_smithy_client.Client,
114
+ paginateDescribeChimeWebhookConfigurations: () => paginateDescribeChimeWebhookConfigurations,
115
+ paginateDescribeSlackChannelConfigurations: () => paginateDescribeSlackChannelConfigurations,
116
+ paginateDescribeSlackUserIdentities: () => paginateDescribeSlackUserIdentities,
117
+ paginateDescribeSlackWorkspaces: () => paginateDescribeSlackWorkspaces,
118
+ paginateListAssociations: () => paginateListAssociations,
119
+ paginateListCustomActions: () => paginateListCustomActions,
120
+ paginateListMicrosoftTeamsChannelConfigurations: () => paginateListMicrosoftTeamsChannelConfigurations,
121
+ paginateListMicrosoftTeamsConfiguredTeams: () => paginateListMicrosoftTeamsConfiguredTeams,
122
+ paginateListMicrosoftTeamsUserIdentities: () => paginateListMicrosoftTeamsUserIdentities
123
+ });
124
+ module.exports = __toCommonJS(index_exports);
125
+
126
+ // src/ChatbotClient.ts
127
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
128
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
129
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
130
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
131
+ var import_config_resolver = require("@smithy/config-resolver");
132
+ var import_core = require("@smithy/core");
133
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
134
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
135
+ var import_middleware_retry = require("@smithy/middleware-retry");
136
+
137
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
138
+
139
+ // src/endpoint/EndpointParameters.ts
140
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
141
+ return Object.assign(options, {
142
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
143
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
144
+ defaultSigningName: "chatbot"
145
+ });
146
+ }, "resolveClientEndpointParameters");
147
+ var commonParams = {
148
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
149
+ Endpoint: { type: "builtInParams", name: "endpoint" },
150
+ Region: { type: "builtInParams", name: "region" },
151
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
152
+ };
153
+
154
+ // src/ChatbotClient.ts
155
+ var import_runtimeConfig = require("././runtimeConfig");
156
+
157
+ // src/runtimeExtensions.ts
158
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
159
+ var import_protocol_http = require("@smithy/protocol-http");
160
+ var import_smithy_client = require("@smithy/smithy-client");
161
+
162
+ // src/auth/httpAuthExtensionConfiguration.ts
163
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
164
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
165
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
166
+ let _credentials = runtimeConfig.credentials;
167
+ return {
168
+ setHttpAuthScheme(httpAuthScheme) {
169
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
170
+ if (index === -1) {
171
+ _httpAuthSchemes.push(httpAuthScheme);
172
+ } else {
173
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
174
+ }
175
+ },
176
+ httpAuthSchemes() {
177
+ return _httpAuthSchemes;
178
+ },
179
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
180
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
181
+ },
182
+ httpAuthSchemeProvider() {
183
+ return _httpAuthSchemeProvider;
184
+ },
185
+ setCredentials(credentials) {
186
+ _credentials = credentials;
187
+ },
188
+ credentials() {
189
+ return _credentials;
190
+ }
191
+ };
192
+ }, "getHttpAuthExtensionConfiguration");
193
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
194
+ return {
195
+ httpAuthSchemes: config.httpAuthSchemes(),
196
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
197
+ credentials: config.credentials()
198
+ };
199
+ }, "resolveHttpAuthRuntimeConfig");
200
+
201
+ // src/runtimeExtensions.ts
202
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
203
+ const extensionConfiguration = Object.assign(
204
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
205
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
206
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
207
+ getHttpAuthExtensionConfiguration(runtimeConfig)
208
+ );
209
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
210
+ return Object.assign(
211
+ runtimeConfig,
212
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
213
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
214
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
215
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
216
+ );
217
+ }, "resolveRuntimeExtensions");
218
+
219
+ // src/ChatbotClient.ts
220
+ var ChatbotClient = class extends import_smithy_client.Client {
221
+ static {
222
+ __name(this, "ChatbotClient");
223
+ }
224
+ /**
225
+ * The resolved configuration of ChatbotClient class. This is resolved and normalized from the {@link ChatbotClientConfig | constructor configuration interface}.
226
+ */
227
+ config;
228
+ constructor(...[configuration]) {
229
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
230
+ super(_config_0);
231
+ this.initConfig = _config_0;
232
+ const _config_1 = resolveClientEndpointParameters(_config_0);
233
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
234
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
235
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
236
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
237
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
238
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
239
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
240
+ this.config = _config_8;
241
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
242
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
243
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
244
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
245
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
246
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
247
+ this.middlewareStack.use(
248
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
249
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultChatbotHttpAuthSchemeParametersProvider,
250
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
251
+ "aws.auth#sigv4": config.credentials
252
+ }), "identityProviderConfigProvider")
253
+ })
254
+ );
255
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
256
+ }
257
+ /**
258
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
259
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
260
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
261
+ */
262
+ destroy() {
263
+ super.destroy();
264
+ }
265
+ };
266
+
267
+ // src/Chatbot.ts
268
+
269
+
270
+ // src/commands/AssociateToConfigurationCommand.ts
271
+
272
+ var import_middleware_serde = require("@smithy/middleware-serde");
273
+
274
+
275
+ // src/protocols/Aws_restJson1.ts
276
+ var import_core2 = require("@aws-sdk/core");
277
+
278
+
279
+ var import_uuid = require("uuid");
280
+
281
+ // src/models/ChatbotServiceException.ts
282
+
283
+ var ChatbotServiceException = class _ChatbotServiceException extends import_smithy_client.ServiceException {
284
+ static {
285
+ __name(this, "ChatbotServiceException");
286
+ }
287
+ /**
288
+ * @internal
289
+ */
290
+ constructor(options) {
291
+ super(options);
292
+ Object.setPrototypeOf(this, _ChatbotServiceException.prototype);
293
+ }
294
+ };
295
+
296
+ // src/models/models_0.ts
297
+
298
+ var InternalServiceError = class _InternalServiceError extends ChatbotServiceException {
299
+ static {
300
+ __name(this, "InternalServiceError");
301
+ }
302
+ name = "InternalServiceError";
303
+ $fault = "server";
304
+ Message;
305
+ /**
306
+ * @internal
307
+ */
308
+ constructor(opts) {
309
+ super({
310
+ name: "InternalServiceError",
311
+ $fault: "server",
312
+ ...opts
313
+ });
314
+ Object.setPrototypeOf(this, _InternalServiceError.prototype);
315
+ this.Message = opts.Message;
316
+ }
317
+ };
318
+ var InvalidRequestException = class _InvalidRequestException extends ChatbotServiceException {
319
+ static {
320
+ __name(this, "InvalidRequestException");
321
+ }
322
+ name = "InvalidRequestException";
323
+ $fault = "client";
324
+ /**
325
+ * @internal
326
+ */
327
+ constructor(opts) {
328
+ super({
329
+ name: "InvalidRequestException",
330
+ $fault: "client",
331
+ ...opts
332
+ });
333
+ Object.setPrototypeOf(this, _InvalidRequestException.prototype);
334
+ }
335
+ };
336
+ var UnauthorizedException = class _UnauthorizedException extends ChatbotServiceException {
337
+ static {
338
+ __name(this, "UnauthorizedException");
339
+ }
340
+ name = "UnauthorizedException";
341
+ $fault = "client";
342
+ /**
343
+ * @internal
344
+ */
345
+ constructor(opts) {
346
+ super({
347
+ name: "UnauthorizedException",
348
+ $fault: "client",
349
+ ...opts
350
+ });
351
+ Object.setPrototypeOf(this, _UnauthorizedException.prototype);
352
+ }
353
+ };
354
+ var ConflictException = class _ConflictException extends ChatbotServiceException {
355
+ static {
356
+ __name(this, "ConflictException");
357
+ }
358
+ name = "ConflictException";
359
+ $fault = "client";
360
+ /**
361
+ * @internal
362
+ */
363
+ constructor(opts) {
364
+ super({
365
+ name: "ConflictException",
366
+ $fault: "client",
367
+ ...opts
368
+ });
369
+ Object.setPrototypeOf(this, _ConflictException.prototype);
370
+ }
371
+ };
372
+ var CreateChimeWebhookConfigurationException = class _CreateChimeWebhookConfigurationException extends ChatbotServiceException {
373
+ static {
374
+ __name(this, "CreateChimeWebhookConfigurationException");
375
+ }
376
+ name = "CreateChimeWebhookConfigurationException";
377
+ $fault = "server";
378
+ Message;
379
+ /**
380
+ * @internal
381
+ */
382
+ constructor(opts) {
383
+ super({
384
+ name: "CreateChimeWebhookConfigurationException",
385
+ $fault: "server",
386
+ ...opts
387
+ });
388
+ Object.setPrototypeOf(this, _CreateChimeWebhookConfigurationException.prototype);
389
+ this.Message = opts.Message;
390
+ }
391
+ };
392
+ var InvalidParameterException = class _InvalidParameterException extends ChatbotServiceException {
393
+ static {
394
+ __name(this, "InvalidParameterException");
395
+ }
396
+ name = "InvalidParameterException";
397
+ $fault = "client";
398
+ /**
399
+ * @internal
400
+ */
401
+ constructor(opts) {
402
+ super({
403
+ name: "InvalidParameterException",
404
+ $fault: "client",
405
+ ...opts
406
+ });
407
+ Object.setPrototypeOf(this, _InvalidParameterException.prototype);
408
+ }
409
+ };
410
+ var LimitExceededException = class _LimitExceededException extends ChatbotServiceException {
411
+ static {
412
+ __name(this, "LimitExceededException");
413
+ }
414
+ name = "LimitExceededException";
415
+ $fault = "client";
416
+ /**
417
+ * @internal
418
+ */
419
+ constructor(opts) {
420
+ super({
421
+ name: "LimitExceededException",
422
+ $fault: "client",
423
+ ...opts
424
+ });
425
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
426
+ }
427
+ };
428
+ var CustomActionAttachmentCriteriaOperator = {
429
+ EQUALS: "EQUALS",
430
+ HAS_VALUE: "HAS_VALUE"
431
+ };
432
+ var CreateTeamsChannelConfigurationException = class _CreateTeamsChannelConfigurationException extends ChatbotServiceException {
433
+ static {
434
+ __name(this, "CreateTeamsChannelConfigurationException");
435
+ }
436
+ name = "CreateTeamsChannelConfigurationException";
437
+ $fault = "server";
438
+ Message;
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts) {
443
+ super({
444
+ name: "CreateTeamsChannelConfigurationException",
445
+ $fault: "server",
446
+ ...opts
447
+ });
448
+ Object.setPrototypeOf(this, _CreateTeamsChannelConfigurationException.prototype);
449
+ this.Message = opts.Message;
450
+ }
451
+ };
452
+ var CreateSlackChannelConfigurationException = class _CreateSlackChannelConfigurationException extends ChatbotServiceException {
453
+ static {
454
+ __name(this, "CreateSlackChannelConfigurationException");
455
+ }
456
+ name = "CreateSlackChannelConfigurationException";
457
+ $fault = "server";
458
+ Message;
459
+ /**
460
+ * @internal
461
+ */
462
+ constructor(opts) {
463
+ super({
464
+ name: "CreateSlackChannelConfigurationException",
465
+ $fault: "server",
466
+ ...opts
467
+ });
468
+ Object.setPrototypeOf(this, _CreateSlackChannelConfigurationException.prototype);
469
+ this.Message = opts.Message;
470
+ }
471
+ };
472
+ var ResourceNotFoundException = class _ResourceNotFoundException extends ChatbotServiceException {
473
+ static {
474
+ __name(this, "ResourceNotFoundException");
475
+ }
476
+ name = "ResourceNotFoundException";
477
+ $fault = "client";
478
+ Message;
479
+ /**
480
+ * @internal
481
+ */
482
+ constructor(opts) {
483
+ super({
484
+ name: "ResourceNotFoundException",
485
+ $fault: "client",
486
+ ...opts
487
+ });
488
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
489
+ this.Message = opts.Message;
490
+ }
491
+ };
492
+ var DeleteChimeWebhookConfigurationException = class _DeleteChimeWebhookConfigurationException extends ChatbotServiceException {
493
+ static {
494
+ __name(this, "DeleteChimeWebhookConfigurationException");
495
+ }
496
+ name = "DeleteChimeWebhookConfigurationException";
497
+ $fault = "server";
498
+ Message;
499
+ /**
500
+ * @internal
501
+ */
502
+ constructor(opts) {
503
+ super({
504
+ name: "DeleteChimeWebhookConfigurationException",
505
+ $fault: "server",
506
+ ...opts
507
+ });
508
+ Object.setPrototypeOf(this, _DeleteChimeWebhookConfigurationException.prototype);
509
+ this.Message = opts.Message;
510
+ }
511
+ };
512
+ var DeleteTeamsChannelConfigurationException = class _DeleteTeamsChannelConfigurationException extends ChatbotServiceException {
513
+ static {
514
+ __name(this, "DeleteTeamsChannelConfigurationException");
515
+ }
516
+ name = "DeleteTeamsChannelConfigurationException";
517
+ $fault = "server";
518
+ Message;
519
+ /**
520
+ * @internal
521
+ */
522
+ constructor(opts) {
523
+ super({
524
+ name: "DeleteTeamsChannelConfigurationException",
525
+ $fault: "server",
526
+ ...opts
527
+ });
528
+ Object.setPrototypeOf(this, _DeleteTeamsChannelConfigurationException.prototype);
529
+ this.Message = opts.Message;
530
+ }
531
+ };
532
+ var DeleteTeamsConfiguredTeamException = class _DeleteTeamsConfiguredTeamException extends ChatbotServiceException {
533
+ static {
534
+ __name(this, "DeleteTeamsConfiguredTeamException");
535
+ }
536
+ name = "DeleteTeamsConfiguredTeamException";
537
+ $fault = "server";
538
+ Message;
539
+ /**
540
+ * @internal
541
+ */
542
+ constructor(opts) {
543
+ super({
544
+ name: "DeleteTeamsConfiguredTeamException",
545
+ $fault: "server",
546
+ ...opts
547
+ });
548
+ Object.setPrototypeOf(this, _DeleteTeamsConfiguredTeamException.prototype);
549
+ this.Message = opts.Message;
550
+ }
551
+ };
552
+ var DeleteMicrosoftTeamsUserIdentityException = class _DeleteMicrosoftTeamsUserIdentityException extends ChatbotServiceException {
553
+ static {
554
+ __name(this, "DeleteMicrosoftTeamsUserIdentityException");
555
+ }
556
+ name = "DeleteMicrosoftTeamsUserIdentityException";
557
+ $fault = "server";
558
+ Message;
559
+ /**
560
+ * @internal
561
+ */
562
+ constructor(opts) {
563
+ super({
564
+ name: "DeleteMicrosoftTeamsUserIdentityException",
565
+ $fault: "server",
566
+ ...opts
567
+ });
568
+ Object.setPrototypeOf(this, _DeleteMicrosoftTeamsUserIdentityException.prototype);
569
+ this.Message = opts.Message;
570
+ }
571
+ };
572
+ var DeleteSlackChannelConfigurationException = class _DeleteSlackChannelConfigurationException extends ChatbotServiceException {
573
+ static {
574
+ __name(this, "DeleteSlackChannelConfigurationException");
575
+ }
576
+ name = "DeleteSlackChannelConfigurationException";
577
+ $fault = "server";
578
+ Message;
579
+ /**
580
+ * @internal
581
+ */
582
+ constructor(opts) {
583
+ super({
584
+ name: "DeleteSlackChannelConfigurationException",
585
+ $fault: "server",
586
+ ...opts
587
+ });
588
+ Object.setPrototypeOf(this, _DeleteSlackChannelConfigurationException.prototype);
589
+ this.Message = opts.Message;
590
+ }
591
+ };
592
+ var DeleteSlackUserIdentityException = class _DeleteSlackUserIdentityException extends ChatbotServiceException {
593
+ static {
594
+ __name(this, "DeleteSlackUserIdentityException");
595
+ }
596
+ name = "DeleteSlackUserIdentityException";
597
+ $fault = "server";
598
+ Message;
599
+ /**
600
+ * @internal
601
+ */
602
+ constructor(opts) {
603
+ super({
604
+ name: "DeleteSlackUserIdentityException",
605
+ $fault: "server",
606
+ ...opts
607
+ });
608
+ Object.setPrototypeOf(this, _DeleteSlackUserIdentityException.prototype);
609
+ this.Message = opts.Message;
610
+ }
611
+ };
612
+ var DeleteSlackWorkspaceAuthorizationFault = class _DeleteSlackWorkspaceAuthorizationFault extends ChatbotServiceException {
613
+ static {
614
+ __name(this, "DeleteSlackWorkspaceAuthorizationFault");
615
+ }
616
+ name = "DeleteSlackWorkspaceAuthorizationFault";
617
+ $fault = "server";
618
+ Message;
619
+ /**
620
+ * @internal
621
+ */
622
+ constructor(opts) {
623
+ super({
624
+ name: "DeleteSlackWorkspaceAuthorizationFault",
625
+ $fault: "server",
626
+ ...opts
627
+ });
628
+ Object.setPrototypeOf(this, _DeleteSlackWorkspaceAuthorizationFault.prototype);
629
+ this.Message = opts.Message;
630
+ }
631
+ };
632
+ var DescribeChimeWebhookConfigurationsException = class _DescribeChimeWebhookConfigurationsException extends ChatbotServiceException {
633
+ static {
634
+ __name(this, "DescribeChimeWebhookConfigurationsException");
635
+ }
636
+ name = "DescribeChimeWebhookConfigurationsException";
637
+ $fault = "server";
638
+ Message;
639
+ /**
640
+ * @internal
641
+ */
642
+ constructor(opts) {
643
+ super({
644
+ name: "DescribeChimeWebhookConfigurationsException",
645
+ $fault: "server",
646
+ ...opts
647
+ });
648
+ Object.setPrototypeOf(this, _DescribeChimeWebhookConfigurationsException.prototype);
649
+ this.Message = opts.Message;
650
+ }
651
+ };
652
+ var DescribeSlackChannelConfigurationsException = class _DescribeSlackChannelConfigurationsException extends ChatbotServiceException {
653
+ static {
654
+ __name(this, "DescribeSlackChannelConfigurationsException");
655
+ }
656
+ name = "DescribeSlackChannelConfigurationsException";
657
+ $fault = "server";
658
+ Message;
659
+ /**
660
+ * @internal
661
+ */
662
+ constructor(opts) {
663
+ super({
664
+ name: "DescribeSlackChannelConfigurationsException",
665
+ $fault: "server",
666
+ ...opts
667
+ });
668
+ Object.setPrototypeOf(this, _DescribeSlackChannelConfigurationsException.prototype);
669
+ this.Message = opts.Message;
670
+ }
671
+ };
672
+ var DescribeSlackUserIdentitiesException = class _DescribeSlackUserIdentitiesException extends ChatbotServiceException {
673
+ static {
674
+ __name(this, "DescribeSlackUserIdentitiesException");
675
+ }
676
+ name = "DescribeSlackUserIdentitiesException";
677
+ $fault = "server";
678
+ Message;
679
+ /**
680
+ * @internal
681
+ */
682
+ constructor(opts) {
683
+ super({
684
+ name: "DescribeSlackUserIdentitiesException",
685
+ $fault: "server",
686
+ ...opts
687
+ });
688
+ Object.setPrototypeOf(this, _DescribeSlackUserIdentitiesException.prototype);
689
+ this.Message = opts.Message;
690
+ }
691
+ };
692
+ var DescribeSlackWorkspacesException = class _DescribeSlackWorkspacesException extends ChatbotServiceException {
693
+ static {
694
+ __name(this, "DescribeSlackWorkspacesException");
695
+ }
696
+ name = "DescribeSlackWorkspacesException";
697
+ $fault = "server";
698
+ Message;
699
+ /**
700
+ * @internal
701
+ */
702
+ constructor(opts) {
703
+ super({
704
+ name: "DescribeSlackWorkspacesException",
705
+ $fault: "server",
706
+ ...opts
707
+ });
708
+ Object.setPrototypeOf(this, _DescribeSlackWorkspacesException.prototype);
709
+ this.Message = opts.Message;
710
+ }
711
+ };
712
+ var GetAccountPreferencesException = class _GetAccountPreferencesException extends ChatbotServiceException {
713
+ static {
714
+ __name(this, "GetAccountPreferencesException");
715
+ }
716
+ name = "GetAccountPreferencesException";
717
+ $fault = "server";
718
+ Message;
719
+ /**
720
+ * @internal
721
+ */
722
+ constructor(opts) {
723
+ super({
724
+ name: "GetAccountPreferencesException",
725
+ $fault: "server",
726
+ ...opts
727
+ });
728
+ Object.setPrototypeOf(this, _GetAccountPreferencesException.prototype);
729
+ this.Message = opts.Message;
730
+ }
731
+ };
732
+ var GetTeamsChannelConfigurationException = class _GetTeamsChannelConfigurationException extends ChatbotServiceException {
733
+ static {
734
+ __name(this, "GetTeamsChannelConfigurationException");
735
+ }
736
+ name = "GetTeamsChannelConfigurationException";
737
+ $fault = "server";
738
+ Message;
739
+ /**
740
+ * @internal
741
+ */
742
+ constructor(opts) {
743
+ super({
744
+ name: "GetTeamsChannelConfigurationException",
745
+ $fault: "server",
746
+ ...opts
747
+ });
748
+ Object.setPrototypeOf(this, _GetTeamsChannelConfigurationException.prototype);
749
+ this.Message = opts.Message;
750
+ }
751
+ };
752
+ var ListTeamsChannelConfigurationsException = class _ListTeamsChannelConfigurationsException extends ChatbotServiceException {
753
+ static {
754
+ __name(this, "ListTeamsChannelConfigurationsException");
755
+ }
756
+ name = "ListTeamsChannelConfigurationsException";
757
+ $fault = "server";
758
+ Message;
759
+ /**
760
+ * @internal
761
+ */
762
+ constructor(opts) {
763
+ super({
764
+ name: "ListTeamsChannelConfigurationsException",
765
+ $fault: "server",
766
+ ...opts
767
+ });
768
+ Object.setPrototypeOf(this, _ListTeamsChannelConfigurationsException.prototype);
769
+ this.Message = opts.Message;
770
+ }
771
+ };
772
+ var ListMicrosoftTeamsConfiguredTeamsException = class _ListMicrosoftTeamsConfiguredTeamsException extends ChatbotServiceException {
773
+ static {
774
+ __name(this, "ListMicrosoftTeamsConfiguredTeamsException");
775
+ }
776
+ name = "ListMicrosoftTeamsConfiguredTeamsException";
777
+ $fault = "server";
778
+ Message;
779
+ /**
780
+ * @internal
781
+ */
782
+ constructor(opts) {
783
+ super({
784
+ name: "ListMicrosoftTeamsConfiguredTeamsException",
785
+ $fault: "server",
786
+ ...opts
787
+ });
788
+ Object.setPrototypeOf(this, _ListMicrosoftTeamsConfiguredTeamsException.prototype);
789
+ this.Message = opts.Message;
790
+ }
791
+ };
792
+ var ListMicrosoftTeamsUserIdentitiesException = class _ListMicrosoftTeamsUserIdentitiesException extends ChatbotServiceException {
793
+ static {
794
+ __name(this, "ListMicrosoftTeamsUserIdentitiesException");
795
+ }
796
+ name = "ListMicrosoftTeamsUserIdentitiesException";
797
+ $fault = "server";
798
+ Message;
799
+ /**
800
+ * @internal
801
+ */
802
+ constructor(opts) {
803
+ super({
804
+ name: "ListMicrosoftTeamsUserIdentitiesException",
805
+ $fault: "server",
806
+ ...opts
807
+ });
808
+ Object.setPrototypeOf(this, _ListMicrosoftTeamsUserIdentitiesException.prototype);
809
+ this.Message = opts.Message;
810
+ }
811
+ };
812
+ var ServiceUnavailableException = class _ServiceUnavailableException extends ChatbotServiceException {
813
+ static {
814
+ __name(this, "ServiceUnavailableException");
815
+ }
816
+ name = "ServiceUnavailableException";
817
+ $fault = "client";
818
+ /**
819
+ * @internal
820
+ */
821
+ constructor(opts) {
822
+ super({
823
+ name: "ServiceUnavailableException",
824
+ $fault: "client",
825
+ ...opts
826
+ });
827
+ Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
828
+ }
829
+ };
830
+ var TooManyTagsException = class _TooManyTagsException extends ChatbotServiceException {
831
+ static {
832
+ __name(this, "TooManyTagsException");
833
+ }
834
+ name = "TooManyTagsException";
835
+ $fault = "client";
836
+ /**
837
+ * @internal
838
+ */
839
+ constructor(opts) {
840
+ super({
841
+ name: "TooManyTagsException",
842
+ $fault: "client",
843
+ ...opts
844
+ });
845
+ Object.setPrototypeOf(this, _TooManyTagsException.prototype);
846
+ }
847
+ };
848
+ var UpdateAccountPreferencesException = class _UpdateAccountPreferencesException extends ChatbotServiceException {
849
+ static {
850
+ __name(this, "UpdateAccountPreferencesException");
851
+ }
852
+ name = "UpdateAccountPreferencesException";
853
+ $fault = "server";
854
+ Message;
855
+ /**
856
+ * @internal
857
+ */
858
+ constructor(opts) {
859
+ super({
860
+ name: "UpdateAccountPreferencesException",
861
+ $fault: "server",
862
+ ...opts
863
+ });
864
+ Object.setPrototypeOf(this, _UpdateAccountPreferencesException.prototype);
865
+ this.Message = opts.Message;
866
+ }
867
+ };
868
+ var UpdateChimeWebhookConfigurationException = class _UpdateChimeWebhookConfigurationException extends ChatbotServiceException {
869
+ static {
870
+ __name(this, "UpdateChimeWebhookConfigurationException");
871
+ }
872
+ name = "UpdateChimeWebhookConfigurationException";
873
+ $fault = "server";
874
+ Message;
875
+ /**
876
+ * @internal
877
+ */
878
+ constructor(opts) {
879
+ super({
880
+ name: "UpdateChimeWebhookConfigurationException",
881
+ $fault: "server",
882
+ ...opts
883
+ });
884
+ Object.setPrototypeOf(this, _UpdateChimeWebhookConfigurationException.prototype);
885
+ this.Message = opts.Message;
886
+ }
887
+ };
888
+ var UpdateTeamsChannelConfigurationException = class _UpdateTeamsChannelConfigurationException extends ChatbotServiceException {
889
+ static {
890
+ __name(this, "UpdateTeamsChannelConfigurationException");
891
+ }
892
+ name = "UpdateTeamsChannelConfigurationException";
893
+ $fault = "server";
894
+ Message;
895
+ /**
896
+ * @internal
897
+ */
898
+ constructor(opts) {
899
+ super({
900
+ name: "UpdateTeamsChannelConfigurationException",
901
+ $fault: "server",
902
+ ...opts
903
+ });
904
+ Object.setPrototypeOf(this, _UpdateTeamsChannelConfigurationException.prototype);
905
+ this.Message = opts.Message;
906
+ }
907
+ };
908
+ var UpdateSlackChannelConfigurationException = class _UpdateSlackChannelConfigurationException extends ChatbotServiceException {
909
+ static {
910
+ __name(this, "UpdateSlackChannelConfigurationException");
911
+ }
912
+ name = "UpdateSlackChannelConfigurationException";
913
+ $fault = "server";
914
+ Message;
915
+ /**
916
+ * @internal
917
+ */
918
+ constructor(opts) {
919
+ super({
920
+ name: "UpdateSlackChannelConfigurationException",
921
+ $fault: "server",
922
+ ...opts
923
+ });
924
+ Object.setPrototypeOf(this, _UpdateSlackChannelConfigurationException.prototype);
925
+ this.Message = opts.Message;
926
+ }
927
+ };
928
+ var ChimeWebhookConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
929
+ ...obj,
930
+ ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING }
931
+ }), "ChimeWebhookConfigurationFilterSensitiveLog");
932
+ var CreateChimeWebhookConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
933
+ ...obj,
934
+ ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING },
935
+ ...obj.WebhookUrl && { WebhookUrl: import_smithy_client.SENSITIVE_STRING }
936
+ }), "CreateChimeWebhookConfigurationRequestFilterSensitiveLog");
937
+ var CreateChimeWebhookConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
938
+ ...obj,
939
+ ...obj.WebhookConfiguration && {
940
+ WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration)
941
+ }
942
+ }), "CreateChimeWebhookConfigurationResultFilterSensitiveLog");
943
+ var CreateTeamsChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
944
+ ...obj,
945
+ ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING },
946
+ ...obj.TeamName && { TeamName: import_smithy_client.SENSITIVE_STRING }
947
+ }), "CreateTeamsChannelConfigurationRequestFilterSensitiveLog");
948
+ var TeamsChannelConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
949
+ ...obj,
950
+ ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING },
951
+ ...obj.TeamName && { TeamName: import_smithy_client.SENSITIVE_STRING }
952
+ }), "TeamsChannelConfigurationFilterSensitiveLog");
953
+ var CreateTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
954
+ ...obj,
955
+ ...obj.ChannelConfiguration && {
956
+ ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)
957
+ }
958
+ }), "CreateTeamsChannelConfigurationResultFilterSensitiveLog");
959
+ var CreateSlackChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
960
+ ...obj,
961
+ ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }
962
+ }), "CreateSlackChannelConfigurationRequestFilterSensitiveLog");
963
+ var SlackChannelConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
964
+ ...obj,
965
+ ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }
966
+ }), "SlackChannelConfigurationFilterSensitiveLog");
967
+ var CreateSlackChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
968
+ ...obj,
969
+ ...obj.ChannelConfiguration && {
970
+ ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)
971
+ }
972
+ }), "CreateSlackChannelConfigurationResultFilterSensitiveLog");
973
+ var DescribeChimeWebhookConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
974
+ ...obj,
975
+ ...obj.WebhookConfigurations && {
976
+ WebhookConfigurations: obj.WebhookConfigurations.map((item) => ChimeWebhookConfigurationFilterSensitiveLog(item))
977
+ }
978
+ }), "DescribeChimeWebhookConfigurationsResultFilterSensitiveLog");
979
+ var DescribeSlackChannelConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
980
+ ...obj,
981
+ ...obj.SlackChannelConfigurations && {
982
+ SlackChannelConfigurations: obj.SlackChannelConfigurations.map(
983
+ (item) => SlackChannelConfigurationFilterSensitiveLog(item)
984
+ )
985
+ }
986
+ }), "DescribeSlackChannelConfigurationsResultFilterSensitiveLog");
987
+ var GetTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
988
+ ...obj,
989
+ ...obj.ChannelConfiguration && {
990
+ ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)
991
+ }
992
+ }), "GetTeamsChannelConfigurationResultFilterSensitiveLog");
993
+ var ListTeamsChannelConfigurationsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
994
+ ...obj,
995
+ ...obj.TeamChannelConfigurations && {
996
+ TeamChannelConfigurations: obj.TeamChannelConfigurations.map(
997
+ (item) => TeamsChannelConfigurationFilterSensitiveLog(item)
998
+ )
999
+ }
1000
+ }), "ListTeamsChannelConfigurationsResultFilterSensitiveLog");
1001
+ var UpdateChimeWebhookConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1002
+ ...obj,
1003
+ ...obj.WebhookDescription && { WebhookDescription: import_smithy_client.SENSITIVE_STRING },
1004
+ ...obj.WebhookUrl && { WebhookUrl: import_smithy_client.SENSITIVE_STRING }
1005
+ }), "UpdateChimeWebhookConfigurationRequestFilterSensitiveLog");
1006
+ var UpdateChimeWebhookConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1007
+ ...obj,
1008
+ ...obj.WebhookConfiguration && {
1009
+ WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration)
1010
+ }
1011
+ }), "UpdateChimeWebhookConfigurationResultFilterSensitiveLog");
1012
+ var UpdateTeamsChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1013
+ ...obj,
1014
+ ...obj.ChannelName && { ChannelName: import_smithy_client.SENSITIVE_STRING }
1015
+ }), "UpdateTeamsChannelConfigurationRequestFilterSensitiveLog");
1016
+ var UpdateTeamsChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1017
+ ...obj,
1018
+ ...obj.ChannelConfiguration && {
1019
+ ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)
1020
+ }
1021
+ }), "UpdateTeamsChannelConfigurationResultFilterSensitiveLog");
1022
+ var UpdateSlackChannelConfigurationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1023
+ ...obj,
1024
+ ...obj.SlackChannelName && { SlackChannelName: import_smithy_client.SENSITIVE_STRING }
1025
+ }), "UpdateSlackChannelConfigurationRequestFilterSensitiveLog");
1026
+ var UpdateSlackChannelConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1027
+ ...obj,
1028
+ ...obj.ChannelConfiguration && {
1029
+ ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration)
1030
+ }
1031
+ }), "UpdateSlackChannelConfigurationResultFilterSensitiveLog");
1032
+
1033
+ // src/protocols/Aws_restJson1.ts
1034
+ var se_AssociateToConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1035
+ const b = (0, import_core.requestBuilder)(input, context);
1036
+ const headers = {
1037
+ "content-type": "application/json"
1038
+ };
1039
+ b.bp("/associate-to-configuration");
1040
+ let body;
1041
+ body = JSON.stringify(
1042
+ (0, import_smithy_client.take)(input, {
1043
+ ChatConfiguration: [],
1044
+ Resource: []
1045
+ })
1046
+ );
1047
+ b.m("POST").h(headers).b(body);
1048
+ return b.build();
1049
+ }, "se_AssociateToConfigurationCommand");
1050
+ var se_CreateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1051
+ const b = (0, import_core.requestBuilder)(input, context);
1052
+ const headers = {
1053
+ "content-type": "application/json"
1054
+ };
1055
+ b.bp("/create-chime-webhook-configuration");
1056
+ let body;
1057
+ body = JSON.stringify(
1058
+ (0, import_smithy_client.take)(input, {
1059
+ ConfigurationName: [],
1060
+ IamRoleArn: [],
1061
+ LoggingLevel: [],
1062
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1063
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
1064
+ WebhookDescription: [],
1065
+ WebhookUrl: []
1066
+ })
1067
+ );
1068
+ b.m("POST").h(headers).b(body);
1069
+ return b.build();
1070
+ }, "se_CreateChimeWebhookConfigurationCommand");
1071
+ var se_CreateCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {
1072
+ const b = (0, import_core.requestBuilder)(input, context);
1073
+ const headers = {
1074
+ "content-type": "application/json"
1075
+ };
1076
+ b.bp("/create-custom-action");
1077
+ let body;
1078
+ body = JSON.stringify(
1079
+ (0, import_smithy_client.take)(input, {
1080
+ ActionName: [],
1081
+ AliasName: [],
1082
+ Attachments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attachments"),
1083
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1084
+ Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),
1085
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1086
+ })
1087
+ );
1088
+ b.m("POST").h(headers).b(body);
1089
+ return b.build();
1090
+ }, "se_CreateCustomActionCommand");
1091
+ var se_CreateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1092
+ const b = (0, import_core.requestBuilder)(input, context);
1093
+ const headers = {
1094
+ "content-type": "application/json"
1095
+ };
1096
+ b.bp("/create-ms-teams-channel-configuration");
1097
+ let body;
1098
+ body = JSON.stringify(
1099
+ (0, import_smithy_client.take)(input, {
1100
+ ChannelId: [],
1101
+ ChannelName: [],
1102
+ ConfigurationName: [],
1103
+ GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),
1104
+ IamRoleArn: [],
1105
+ LoggingLevel: [],
1106
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1107
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
1108
+ TeamId: [],
1109
+ TeamName: [],
1110
+ TenantId: [],
1111
+ UserAuthorizationRequired: []
1112
+ })
1113
+ );
1114
+ b.m("POST").h(headers).b(body);
1115
+ return b.build();
1116
+ }, "se_CreateMicrosoftTeamsChannelConfigurationCommand");
1117
+ var se_CreateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1118
+ const b = (0, import_core.requestBuilder)(input, context);
1119
+ const headers = {
1120
+ "content-type": "application/json"
1121
+ };
1122
+ b.bp("/create-slack-channel-configuration");
1123
+ let body;
1124
+ body = JSON.stringify(
1125
+ (0, import_smithy_client.take)(input, {
1126
+ ConfigurationName: [],
1127
+ GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),
1128
+ IamRoleArn: [],
1129
+ LoggingLevel: [],
1130
+ SlackChannelId: [],
1131
+ SlackChannelName: [],
1132
+ SlackTeamId: [],
1133
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1134
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
1135
+ UserAuthorizationRequired: []
1136
+ })
1137
+ );
1138
+ b.m("POST").h(headers).b(body);
1139
+ return b.build();
1140
+ }, "se_CreateSlackChannelConfigurationCommand");
1141
+ var se_DeleteChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1142
+ const b = (0, import_core.requestBuilder)(input, context);
1143
+ const headers = {
1144
+ "content-type": "application/json"
1145
+ };
1146
+ b.bp("/delete-chime-webhook-configuration");
1147
+ let body;
1148
+ body = JSON.stringify(
1149
+ (0, import_smithy_client.take)(input, {
1150
+ ChatConfigurationArn: []
1151
+ })
1152
+ );
1153
+ b.m("POST").h(headers).b(body);
1154
+ return b.build();
1155
+ }, "se_DeleteChimeWebhookConfigurationCommand");
1156
+ var se_DeleteCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {
1157
+ const b = (0, import_core.requestBuilder)(input, context);
1158
+ const headers = {
1159
+ "content-type": "application/json"
1160
+ };
1161
+ b.bp("/delete-custom-action");
1162
+ let body;
1163
+ body = JSON.stringify(
1164
+ (0, import_smithy_client.take)(input, {
1165
+ CustomActionArn: []
1166
+ })
1167
+ );
1168
+ b.m("POST").h(headers).b(body);
1169
+ return b.build();
1170
+ }, "se_DeleteCustomActionCommand");
1171
+ var se_DeleteMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1172
+ const b = (0, import_core.requestBuilder)(input, context);
1173
+ const headers = {
1174
+ "content-type": "application/json"
1175
+ };
1176
+ b.bp("/delete-ms-teams-channel-configuration");
1177
+ let body;
1178
+ body = JSON.stringify(
1179
+ (0, import_smithy_client.take)(input, {
1180
+ ChatConfigurationArn: []
1181
+ })
1182
+ );
1183
+ b.m("POST").h(headers).b(body);
1184
+ return b.build();
1185
+ }, "se_DeleteMicrosoftTeamsChannelConfigurationCommand");
1186
+ var se_DeleteMicrosoftTeamsConfiguredTeamCommand = /* @__PURE__ */ __name(async (input, context) => {
1187
+ const b = (0, import_core.requestBuilder)(input, context);
1188
+ const headers = {
1189
+ "content-type": "application/json"
1190
+ };
1191
+ b.bp("/delete-ms-teams-configured-teams");
1192
+ let body;
1193
+ body = JSON.stringify(
1194
+ (0, import_smithy_client.take)(input, {
1195
+ TeamId: []
1196
+ })
1197
+ );
1198
+ b.m("POST").h(headers).b(body);
1199
+ return b.build();
1200
+ }, "se_DeleteMicrosoftTeamsConfiguredTeamCommand");
1201
+ var se_DeleteMicrosoftTeamsUserIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
1202
+ const b = (0, import_core.requestBuilder)(input, context);
1203
+ const headers = {
1204
+ "content-type": "application/json"
1205
+ };
1206
+ b.bp("/delete-ms-teams-user-identity");
1207
+ let body;
1208
+ body = JSON.stringify(
1209
+ (0, import_smithy_client.take)(input, {
1210
+ ChatConfigurationArn: [],
1211
+ UserId: []
1212
+ })
1213
+ );
1214
+ b.m("POST").h(headers).b(body);
1215
+ return b.build();
1216
+ }, "se_DeleteMicrosoftTeamsUserIdentityCommand");
1217
+ var se_DeleteSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1218
+ const b = (0, import_core.requestBuilder)(input, context);
1219
+ const headers = {
1220
+ "content-type": "application/json"
1221
+ };
1222
+ b.bp("/delete-slack-channel-configuration");
1223
+ let body;
1224
+ body = JSON.stringify(
1225
+ (0, import_smithy_client.take)(input, {
1226
+ ChatConfigurationArn: []
1227
+ })
1228
+ );
1229
+ b.m("POST").h(headers).b(body);
1230
+ return b.build();
1231
+ }, "se_DeleteSlackChannelConfigurationCommand");
1232
+ var se_DeleteSlackUserIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
1233
+ const b = (0, import_core.requestBuilder)(input, context);
1234
+ const headers = {
1235
+ "content-type": "application/json"
1236
+ };
1237
+ b.bp("/delete-slack-user-identity");
1238
+ let body;
1239
+ body = JSON.stringify(
1240
+ (0, import_smithy_client.take)(input, {
1241
+ ChatConfigurationArn: [],
1242
+ SlackTeamId: [],
1243
+ SlackUserId: []
1244
+ })
1245
+ );
1246
+ b.m("POST").h(headers).b(body);
1247
+ return b.build();
1248
+ }, "se_DeleteSlackUserIdentityCommand");
1249
+ var se_DeleteSlackWorkspaceAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
1250
+ const b = (0, import_core.requestBuilder)(input, context);
1251
+ const headers = {
1252
+ "content-type": "application/json"
1253
+ };
1254
+ b.bp("/delete-slack-workspace-authorization");
1255
+ let body;
1256
+ body = JSON.stringify(
1257
+ (0, import_smithy_client.take)(input, {
1258
+ SlackTeamId: []
1259
+ })
1260
+ );
1261
+ b.m("POST").h(headers).b(body);
1262
+ return b.build();
1263
+ }, "se_DeleteSlackWorkspaceAuthorizationCommand");
1264
+ var se_DescribeChimeWebhookConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1265
+ const b = (0, import_core.requestBuilder)(input, context);
1266
+ const headers = {
1267
+ "content-type": "application/json"
1268
+ };
1269
+ b.bp("/describe-chime-webhook-configurations");
1270
+ let body;
1271
+ body = JSON.stringify(
1272
+ (0, import_smithy_client.take)(input, {
1273
+ ChatConfigurationArn: [],
1274
+ MaxResults: [],
1275
+ NextToken: []
1276
+ })
1277
+ );
1278
+ b.m("POST").h(headers).b(body);
1279
+ return b.build();
1280
+ }, "se_DescribeChimeWebhookConfigurationsCommand");
1281
+ var se_DescribeSlackChannelConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1282
+ const b = (0, import_core.requestBuilder)(input, context);
1283
+ const headers = {
1284
+ "content-type": "application/json"
1285
+ };
1286
+ b.bp("/describe-slack-channel-configurations");
1287
+ let body;
1288
+ body = JSON.stringify(
1289
+ (0, import_smithy_client.take)(input, {
1290
+ ChatConfigurationArn: [],
1291
+ MaxResults: [],
1292
+ NextToken: []
1293
+ })
1294
+ );
1295
+ b.m("POST").h(headers).b(body);
1296
+ return b.build();
1297
+ }, "se_DescribeSlackChannelConfigurationsCommand");
1298
+ var se_DescribeSlackUserIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
1299
+ const b = (0, import_core.requestBuilder)(input, context);
1300
+ const headers = {
1301
+ "content-type": "application/json"
1302
+ };
1303
+ b.bp("/describe-slack-user-identities");
1304
+ let body;
1305
+ body = JSON.stringify(
1306
+ (0, import_smithy_client.take)(input, {
1307
+ ChatConfigurationArn: [],
1308
+ MaxResults: [],
1309
+ NextToken: []
1310
+ })
1311
+ );
1312
+ b.m("POST").h(headers).b(body);
1313
+ return b.build();
1314
+ }, "se_DescribeSlackUserIdentitiesCommand");
1315
+ var se_DescribeSlackWorkspacesCommand = /* @__PURE__ */ __name(async (input, context) => {
1316
+ const b = (0, import_core.requestBuilder)(input, context);
1317
+ const headers = {
1318
+ "content-type": "application/json"
1319
+ };
1320
+ b.bp("/describe-slack-workspaces");
1321
+ let body;
1322
+ body = JSON.stringify(
1323
+ (0, import_smithy_client.take)(input, {
1324
+ MaxResults: [],
1325
+ NextToken: []
1326
+ })
1327
+ );
1328
+ b.m("POST").h(headers).b(body);
1329
+ return b.build();
1330
+ }, "se_DescribeSlackWorkspacesCommand");
1331
+ var se_DisassociateFromConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1332
+ const b = (0, import_core.requestBuilder)(input, context);
1333
+ const headers = {
1334
+ "content-type": "application/json"
1335
+ };
1336
+ b.bp("/disassociate-from-configuration");
1337
+ let body;
1338
+ body = JSON.stringify(
1339
+ (0, import_smithy_client.take)(input, {
1340
+ ChatConfiguration: [],
1341
+ Resource: []
1342
+ })
1343
+ );
1344
+ b.m("POST").h(headers).b(body);
1345
+ return b.build();
1346
+ }, "se_DisassociateFromConfigurationCommand");
1347
+ var se_GetAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
1348
+ const b = (0, import_core.requestBuilder)(input, context);
1349
+ const headers = {};
1350
+ b.bp("/get-account-preferences");
1351
+ let body;
1352
+ b.m("POST").h(headers).b(body);
1353
+ return b.build();
1354
+ }, "se_GetAccountPreferencesCommand");
1355
+ var se_GetCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {
1356
+ const b = (0, import_core.requestBuilder)(input, context);
1357
+ const headers = {
1358
+ "content-type": "application/json"
1359
+ };
1360
+ b.bp("/get-custom-action");
1361
+ let body;
1362
+ body = JSON.stringify(
1363
+ (0, import_smithy_client.take)(input, {
1364
+ CustomActionArn: []
1365
+ })
1366
+ );
1367
+ b.m("POST").h(headers).b(body);
1368
+ return b.build();
1369
+ }, "se_GetCustomActionCommand");
1370
+ var se_GetMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1371
+ const b = (0, import_core.requestBuilder)(input, context);
1372
+ const headers = {
1373
+ "content-type": "application/json"
1374
+ };
1375
+ b.bp("/get-ms-teams-channel-configuration");
1376
+ let body;
1377
+ body = JSON.stringify(
1378
+ (0, import_smithy_client.take)(input, {
1379
+ ChatConfigurationArn: []
1380
+ })
1381
+ );
1382
+ b.m("POST").h(headers).b(body);
1383
+ return b.build();
1384
+ }, "se_GetMicrosoftTeamsChannelConfigurationCommand");
1385
+ var se_ListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1386
+ const b = (0, import_core.requestBuilder)(input, context);
1387
+ const headers = {
1388
+ "content-type": "application/json"
1389
+ };
1390
+ b.bp("/list-associations");
1391
+ let body;
1392
+ body = JSON.stringify(
1393
+ (0, import_smithy_client.take)(input, {
1394
+ ChatConfiguration: [],
1395
+ MaxResults: [],
1396
+ NextToken: []
1397
+ })
1398
+ );
1399
+ b.m("POST").h(headers).b(body);
1400
+ return b.build();
1401
+ }, "se_ListAssociationsCommand");
1402
+ var se_ListCustomActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1403
+ const b = (0, import_core.requestBuilder)(input, context);
1404
+ const headers = {
1405
+ "content-type": "application/json"
1406
+ };
1407
+ b.bp("/list-custom-actions");
1408
+ let body;
1409
+ body = JSON.stringify(
1410
+ (0, import_smithy_client.take)(input, {
1411
+ MaxResults: [],
1412
+ NextToken: []
1413
+ })
1414
+ );
1415
+ b.m("POST").h(headers).b(body);
1416
+ return b.build();
1417
+ }, "se_ListCustomActionsCommand");
1418
+ var se_ListMicrosoftTeamsChannelConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1419
+ const b = (0, import_core.requestBuilder)(input, context);
1420
+ const headers = {
1421
+ "content-type": "application/json"
1422
+ };
1423
+ b.bp("/list-ms-teams-channel-configurations");
1424
+ let body;
1425
+ body = JSON.stringify(
1426
+ (0, import_smithy_client.take)(input, {
1427
+ MaxResults: [],
1428
+ NextToken: [],
1429
+ TeamId: []
1430
+ })
1431
+ );
1432
+ b.m("POST").h(headers).b(body);
1433
+ return b.build();
1434
+ }, "se_ListMicrosoftTeamsChannelConfigurationsCommand");
1435
+ var se_ListMicrosoftTeamsConfiguredTeamsCommand = /* @__PURE__ */ __name(async (input, context) => {
1436
+ const b = (0, import_core.requestBuilder)(input, context);
1437
+ const headers = {
1438
+ "content-type": "application/json"
1439
+ };
1440
+ b.bp("/list-ms-teams-configured-teams");
1441
+ let body;
1442
+ body = JSON.stringify(
1443
+ (0, import_smithy_client.take)(input, {
1444
+ MaxResults: [],
1445
+ NextToken: []
1446
+ })
1447
+ );
1448
+ b.m("POST").h(headers).b(body);
1449
+ return b.build();
1450
+ }, "se_ListMicrosoftTeamsConfiguredTeamsCommand");
1451
+ var se_ListMicrosoftTeamsUserIdentitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
1452
+ const b = (0, import_core.requestBuilder)(input, context);
1453
+ const headers = {
1454
+ "content-type": "application/json"
1455
+ };
1456
+ b.bp("/list-ms-teams-user-identities");
1457
+ let body;
1458
+ body = JSON.stringify(
1459
+ (0, import_smithy_client.take)(input, {
1460
+ ChatConfigurationArn: [],
1461
+ MaxResults: [],
1462
+ NextToken: []
1463
+ })
1464
+ );
1465
+ b.m("POST").h(headers).b(body);
1466
+ return b.build();
1467
+ }, "se_ListMicrosoftTeamsUserIdentitiesCommand");
1468
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1469
+ const b = (0, import_core.requestBuilder)(input, context);
1470
+ const headers = {
1471
+ "content-type": "application/json"
1472
+ };
1473
+ b.bp("/list-tags-for-resource");
1474
+ let body;
1475
+ body = JSON.stringify(
1476
+ (0, import_smithy_client.take)(input, {
1477
+ ResourceARN: []
1478
+ })
1479
+ );
1480
+ b.m("POST").h(headers).b(body);
1481
+ return b.build();
1482
+ }, "se_ListTagsForResourceCommand");
1483
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1484
+ const b = (0, import_core.requestBuilder)(input, context);
1485
+ const headers = {
1486
+ "content-type": "application/json"
1487
+ };
1488
+ b.bp("/tag-resource");
1489
+ let body;
1490
+ body = JSON.stringify(
1491
+ (0, import_smithy_client.take)(input, {
1492
+ ResourceARN: [],
1493
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1494
+ })
1495
+ );
1496
+ b.m("POST").h(headers).b(body);
1497
+ return b.build();
1498
+ }, "se_TagResourceCommand");
1499
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1500
+ const b = (0, import_core.requestBuilder)(input, context);
1501
+ const headers = {
1502
+ "content-type": "application/json"
1503
+ };
1504
+ b.bp("/untag-resource");
1505
+ let body;
1506
+ body = JSON.stringify(
1507
+ (0, import_smithy_client.take)(input, {
1508
+ ResourceARN: [],
1509
+ TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
1510
+ })
1511
+ );
1512
+ b.m("POST").h(headers).b(body);
1513
+ return b.build();
1514
+ }, "se_UntagResourceCommand");
1515
+ var se_UpdateAccountPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
1516
+ const b = (0, import_core.requestBuilder)(input, context);
1517
+ const headers = {
1518
+ "content-type": "application/json"
1519
+ };
1520
+ b.bp("/update-account-preferences");
1521
+ let body;
1522
+ body = JSON.stringify(
1523
+ (0, import_smithy_client.take)(input, {
1524
+ TrainingDataCollectionEnabled: [],
1525
+ UserAuthorizationRequired: []
1526
+ })
1527
+ );
1528
+ b.m("POST").h(headers).b(body);
1529
+ return b.build();
1530
+ }, "se_UpdateAccountPreferencesCommand");
1531
+ var se_UpdateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1532
+ const b = (0, import_core.requestBuilder)(input, context);
1533
+ const headers = {
1534
+ "content-type": "application/json"
1535
+ };
1536
+ b.bp("/update-chime-webhook-configuration");
1537
+ let body;
1538
+ body = JSON.stringify(
1539
+ (0, import_smithy_client.take)(input, {
1540
+ ChatConfigurationArn: [],
1541
+ IamRoleArn: [],
1542
+ LoggingLevel: [],
1543
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1544
+ WebhookDescription: [],
1545
+ WebhookUrl: []
1546
+ })
1547
+ );
1548
+ b.m("POST").h(headers).b(body);
1549
+ return b.build();
1550
+ }, "se_UpdateChimeWebhookConfigurationCommand");
1551
+ var se_UpdateCustomActionCommand = /* @__PURE__ */ __name(async (input, context) => {
1552
+ const b = (0, import_core.requestBuilder)(input, context);
1553
+ const headers = {
1554
+ "content-type": "application/json"
1555
+ };
1556
+ b.bp("/update-custom-action");
1557
+ let body;
1558
+ body = JSON.stringify(
1559
+ (0, import_smithy_client.take)(input, {
1560
+ AliasName: [],
1561
+ Attachments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attachments"),
1562
+ CustomActionArn: [],
1563
+ Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition")
1564
+ })
1565
+ );
1566
+ b.m("POST").h(headers).b(body);
1567
+ return b.build();
1568
+ }, "se_UpdateCustomActionCommand");
1569
+ var se_UpdateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1570
+ const b = (0, import_core.requestBuilder)(input, context);
1571
+ const headers = {
1572
+ "content-type": "application/json"
1573
+ };
1574
+ b.bp("/update-ms-teams-channel-configuration");
1575
+ let body;
1576
+ body = JSON.stringify(
1577
+ (0, import_smithy_client.take)(input, {
1578
+ ChannelId: [],
1579
+ ChannelName: [],
1580
+ ChatConfigurationArn: [],
1581
+ GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),
1582
+ IamRoleArn: [],
1583
+ LoggingLevel: [],
1584
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1585
+ UserAuthorizationRequired: []
1586
+ })
1587
+ );
1588
+ b.m("POST").h(headers).b(body);
1589
+ return b.build();
1590
+ }, "se_UpdateMicrosoftTeamsChannelConfigurationCommand");
1591
+ var se_UpdateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1592
+ const b = (0, import_core.requestBuilder)(input, context);
1593
+ const headers = {
1594
+ "content-type": "application/json"
1595
+ };
1596
+ b.bp("/update-slack-channel-configuration");
1597
+ let body;
1598
+ body = JSON.stringify(
1599
+ (0, import_smithy_client.take)(input, {
1600
+ ChatConfigurationArn: [],
1601
+ GuardrailPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GuardrailPolicyArns"),
1602
+ IamRoleArn: [],
1603
+ LoggingLevel: [],
1604
+ SlackChannelId: [],
1605
+ SlackChannelName: [],
1606
+ SnsTopicArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SnsTopicArns"),
1607
+ UserAuthorizationRequired: []
1608
+ })
1609
+ );
1610
+ b.m("POST").h(headers).b(body);
1611
+ return b.build();
1612
+ }, "se_UpdateSlackChannelConfigurationCommand");
1613
+ var de_AssociateToConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1614
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1615
+ return de_CommandError(output, context);
1616
+ }
1617
+ const contents = (0, import_smithy_client.map)({
1618
+ $metadata: deserializeMetadata(output)
1619
+ });
1620
+ await (0, import_smithy_client.collectBody)(output.body, context);
1621
+ return contents;
1622
+ }, "de_AssociateToConfigurationCommand");
1623
+ var de_CreateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1624
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1625
+ return de_CommandError(output, context);
1626
+ }
1627
+ const contents = (0, import_smithy_client.map)({
1628
+ $metadata: deserializeMetadata(output)
1629
+ });
1630
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1631
+ const doc = (0, import_smithy_client.take)(data, {
1632
+ WebhookConfiguration: import_smithy_client._json
1633
+ });
1634
+ Object.assign(contents, doc);
1635
+ return contents;
1636
+ }, "de_CreateChimeWebhookConfigurationCommand");
1637
+ var de_CreateCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {
1638
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1639
+ return de_CommandError(output, context);
1640
+ }
1641
+ const contents = (0, import_smithy_client.map)({
1642
+ $metadata: deserializeMetadata(output)
1643
+ });
1644
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1645
+ const doc = (0, import_smithy_client.take)(data, {
1646
+ CustomActionArn: import_smithy_client.expectString
1647
+ });
1648
+ Object.assign(contents, doc);
1649
+ return contents;
1650
+ }, "de_CreateCustomActionCommand");
1651
+ var de_CreateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1652
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1653
+ return de_CommandError(output, context);
1654
+ }
1655
+ const contents = (0, import_smithy_client.map)({
1656
+ $metadata: deserializeMetadata(output)
1657
+ });
1658
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1659
+ const doc = (0, import_smithy_client.take)(data, {
1660
+ ChannelConfiguration: import_smithy_client._json
1661
+ });
1662
+ Object.assign(contents, doc);
1663
+ return contents;
1664
+ }, "de_CreateMicrosoftTeamsChannelConfigurationCommand");
1665
+ var de_CreateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1666
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1667
+ return de_CommandError(output, context);
1668
+ }
1669
+ const contents = (0, import_smithy_client.map)({
1670
+ $metadata: deserializeMetadata(output)
1671
+ });
1672
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1673
+ const doc = (0, import_smithy_client.take)(data, {
1674
+ ChannelConfiguration: import_smithy_client._json
1675
+ });
1676
+ Object.assign(contents, doc);
1677
+ return contents;
1678
+ }, "de_CreateSlackChannelConfigurationCommand");
1679
+ var de_DeleteChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1680
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1681
+ return de_CommandError(output, context);
1682
+ }
1683
+ const contents = (0, import_smithy_client.map)({
1684
+ $metadata: deserializeMetadata(output)
1685
+ });
1686
+ await (0, import_smithy_client.collectBody)(output.body, context);
1687
+ return contents;
1688
+ }, "de_DeleteChimeWebhookConfigurationCommand");
1689
+ var de_DeleteCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {
1690
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1691
+ return de_CommandError(output, context);
1692
+ }
1693
+ const contents = (0, import_smithy_client.map)({
1694
+ $metadata: deserializeMetadata(output)
1695
+ });
1696
+ await (0, import_smithy_client.collectBody)(output.body, context);
1697
+ return contents;
1698
+ }, "de_DeleteCustomActionCommand");
1699
+ var de_DeleteMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1700
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1701
+ return de_CommandError(output, context);
1702
+ }
1703
+ const contents = (0, import_smithy_client.map)({
1704
+ $metadata: deserializeMetadata(output)
1705
+ });
1706
+ await (0, import_smithy_client.collectBody)(output.body, context);
1707
+ return contents;
1708
+ }, "de_DeleteMicrosoftTeamsChannelConfigurationCommand");
1709
+ var de_DeleteMicrosoftTeamsConfiguredTeamCommand = /* @__PURE__ */ __name(async (output, context) => {
1710
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1711
+ return de_CommandError(output, context);
1712
+ }
1713
+ const contents = (0, import_smithy_client.map)({
1714
+ $metadata: deserializeMetadata(output)
1715
+ });
1716
+ await (0, import_smithy_client.collectBody)(output.body, context);
1717
+ return contents;
1718
+ }, "de_DeleteMicrosoftTeamsConfiguredTeamCommand");
1719
+ var de_DeleteMicrosoftTeamsUserIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
1720
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1721
+ return de_CommandError(output, context);
1722
+ }
1723
+ const contents = (0, import_smithy_client.map)({
1724
+ $metadata: deserializeMetadata(output)
1725
+ });
1726
+ await (0, import_smithy_client.collectBody)(output.body, context);
1727
+ return contents;
1728
+ }, "de_DeleteMicrosoftTeamsUserIdentityCommand");
1729
+ var de_DeleteSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1730
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1731
+ return de_CommandError(output, context);
1732
+ }
1733
+ const contents = (0, import_smithy_client.map)({
1734
+ $metadata: deserializeMetadata(output)
1735
+ });
1736
+ await (0, import_smithy_client.collectBody)(output.body, context);
1737
+ return contents;
1738
+ }, "de_DeleteSlackChannelConfigurationCommand");
1739
+ var de_DeleteSlackUserIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
1740
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1741
+ return de_CommandError(output, context);
1742
+ }
1743
+ const contents = (0, import_smithy_client.map)({
1744
+ $metadata: deserializeMetadata(output)
1745
+ });
1746
+ await (0, import_smithy_client.collectBody)(output.body, context);
1747
+ return contents;
1748
+ }, "de_DeleteSlackUserIdentityCommand");
1749
+ var de_DeleteSlackWorkspaceAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
1750
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1751
+ return de_CommandError(output, context);
1752
+ }
1753
+ const contents = (0, import_smithy_client.map)({
1754
+ $metadata: deserializeMetadata(output)
1755
+ });
1756
+ await (0, import_smithy_client.collectBody)(output.body, context);
1757
+ return contents;
1758
+ }, "de_DeleteSlackWorkspaceAuthorizationCommand");
1759
+ var de_DescribeChimeWebhookConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1760
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1761
+ return de_CommandError(output, context);
1762
+ }
1763
+ const contents = (0, import_smithy_client.map)({
1764
+ $metadata: deserializeMetadata(output)
1765
+ });
1766
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1767
+ const doc = (0, import_smithy_client.take)(data, {
1768
+ NextToken: import_smithy_client.expectString,
1769
+ WebhookConfigurations: import_smithy_client._json
1770
+ });
1771
+ Object.assign(contents, doc);
1772
+ return contents;
1773
+ }, "de_DescribeChimeWebhookConfigurationsCommand");
1774
+ var de_DescribeSlackChannelConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1775
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1776
+ return de_CommandError(output, context);
1777
+ }
1778
+ const contents = (0, import_smithy_client.map)({
1779
+ $metadata: deserializeMetadata(output)
1780
+ });
1781
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1782
+ const doc = (0, import_smithy_client.take)(data, {
1783
+ NextToken: import_smithy_client.expectString,
1784
+ SlackChannelConfigurations: import_smithy_client._json
1785
+ });
1786
+ Object.assign(contents, doc);
1787
+ return contents;
1788
+ }, "de_DescribeSlackChannelConfigurationsCommand");
1789
+ var de_DescribeSlackUserIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1790
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1791
+ return de_CommandError(output, context);
1792
+ }
1793
+ const contents = (0, import_smithy_client.map)({
1794
+ $metadata: deserializeMetadata(output)
1795
+ });
1796
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1797
+ const doc = (0, import_smithy_client.take)(data, {
1798
+ NextToken: import_smithy_client.expectString,
1799
+ SlackUserIdentities: import_smithy_client._json
1800
+ });
1801
+ Object.assign(contents, doc);
1802
+ return contents;
1803
+ }, "de_DescribeSlackUserIdentitiesCommand");
1804
+ var de_DescribeSlackWorkspacesCommand = /* @__PURE__ */ __name(async (output, context) => {
1805
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1806
+ return de_CommandError(output, context);
1807
+ }
1808
+ const contents = (0, import_smithy_client.map)({
1809
+ $metadata: deserializeMetadata(output)
1810
+ });
1811
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1812
+ const doc = (0, import_smithy_client.take)(data, {
1813
+ NextToken: import_smithy_client.expectString,
1814
+ SlackWorkspaces: import_smithy_client._json
1815
+ });
1816
+ Object.assign(contents, doc);
1817
+ return contents;
1818
+ }, "de_DescribeSlackWorkspacesCommand");
1819
+ var de_DisassociateFromConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1820
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1821
+ return de_CommandError(output, context);
1822
+ }
1823
+ const contents = (0, import_smithy_client.map)({
1824
+ $metadata: deserializeMetadata(output)
1825
+ });
1826
+ await (0, import_smithy_client.collectBody)(output.body, context);
1827
+ return contents;
1828
+ }, "de_DisassociateFromConfigurationCommand");
1829
+ var de_GetAccountPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
1830
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1831
+ return de_CommandError(output, context);
1832
+ }
1833
+ const contents = (0, import_smithy_client.map)({
1834
+ $metadata: deserializeMetadata(output)
1835
+ });
1836
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1837
+ const doc = (0, import_smithy_client.take)(data, {
1838
+ AccountPreferences: import_smithy_client._json
1839
+ });
1840
+ Object.assign(contents, doc);
1841
+ return contents;
1842
+ }, "de_GetAccountPreferencesCommand");
1843
+ var de_GetCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {
1844
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1845
+ return de_CommandError(output, context);
1846
+ }
1847
+ const contents = (0, import_smithy_client.map)({
1848
+ $metadata: deserializeMetadata(output)
1849
+ });
1850
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1851
+ const doc = (0, import_smithy_client.take)(data, {
1852
+ CustomAction: import_smithy_client._json
1853
+ });
1854
+ Object.assign(contents, doc);
1855
+ return contents;
1856
+ }, "de_GetCustomActionCommand");
1857
+ var de_GetMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1858
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1859
+ return de_CommandError(output, context);
1860
+ }
1861
+ const contents = (0, import_smithy_client.map)({
1862
+ $metadata: deserializeMetadata(output)
1863
+ });
1864
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1865
+ const doc = (0, import_smithy_client.take)(data, {
1866
+ ChannelConfiguration: import_smithy_client._json
1867
+ });
1868
+ Object.assign(contents, doc);
1869
+ return contents;
1870
+ }, "de_GetMicrosoftTeamsChannelConfigurationCommand");
1871
+ var de_ListAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1872
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1873
+ return de_CommandError(output, context);
1874
+ }
1875
+ const contents = (0, import_smithy_client.map)({
1876
+ $metadata: deserializeMetadata(output)
1877
+ });
1878
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1879
+ const doc = (0, import_smithy_client.take)(data, {
1880
+ Associations: import_smithy_client._json,
1881
+ NextToken: import_smithy_client.expectString
1882
+ });
1883
+ Object.assign(contents, doc);
1884
+ return contents;
1885
+ }, "de_ListAssociationsCommand");
1886
+ var de_ListCustomActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1887
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1888
+ return de_CommandError(output, context);
1889
+ }
1890
+ const contents = (0, import_smithy_client.map)({
1891
+ $metadata: deserializeMetadata(output)
1892
+ });
1893
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1894
+ const doc = (0, import_smithy_client.take)(data, {
1895
+ CustomActions: import_smithy_client._json,
1896
+ NextToken: import_smithy_client.expectString
1897
+ });
1898
+ Object.assign(contents, doc);
1899
+ return contents;
1900
+ }, "de_ListCustomActionsCommand");
1901
+ var de_ListMicrosoftTeamsChannelConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1902
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1903
+ return de_CommandError(output, context);
1904
+ }
1905
+ const contents = (0, import_smithy_client.map)({
1906
+ $metadata: deserializeMetadata(output)
1907
+ });
1908
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1909
+ const doc = (0, import_smithy_client.take)(data, {
1910
+ NextToken: import_smithy_client.expectString,
1911
+ TeamChannelConfigurations: import_smithy_client._json
1912
+ });
1913
+ Object.assign(contents, doc);
1914
+ return contents;
1915
+ }, "de_ListMicrosoftTeamsChannelConfigurationsCommand");
1916
+ var de_ListMicrosoftTeamsConfiguredTeamsCommand = /* @__PURE__ */ __name(async (output, context) => {
1917
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1918
+ return de_CommandError(output, context);
1919
+ }
1920
+ const contents = (0, import_smithy_client.map)({
1921
+ $metadata: deserializeMetadata(output)
1922
+ });
1923
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1924
+ const doc = (0, import_smithy_client.take)(data, {
1925
+ ConfiguredTeams: import_smithy_client._json,
1926
+ NextToken: import_smithy_client.expectString
1927
+ });
1928
+ Object.assign(contents, doc);
1929
+ return contents;
1930
+ }, "de_ListMicrosoftTeamsConfiguredTeamsCommand");
1931
+ var de_ListMicrosoftTeamsUserIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1932
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1933
+ return de_CommandError(output, context);
1934
+ }
1935
+ const contents = (0, import_smithy_client.map)({
1936
+ $metadata: deserializeMetadata(output)
1937
+ });
1938
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1939
+ const doc = (0, import_smithy_client.take)(data, {
1940
+ NextToken: import_smithy_client.expectString,
1941
+ TeamsUserIdentities: import_smithy_client._json
1942
+ });
1943
+ Object.assign(contents, doc);
1944
+ return contents;
1945
+ }, "de_ListMicrosoftTeamsUserIdentitiesCommand");
1946
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1947
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1948
+ return de_CommandError(output, context);
1949
+ }
1950
+ const contents = (0, import_smithy_client.map)({
1951
+ $metadata: deserializeMetadata(output)
1952
+ });
1953
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1954
+ const doc = (0, import_smithy_client.take)(data, {
1955
+ Tags: import_smithy_client._json
1956
+ });
1957
+ Object.assign(contents, doc);
1958
+ return contents;
1959
+ }, "de_ListTagsForResourceCommand");
1960
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1961
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1962
+ return de_CommandError(output, context);
1963
+ }
1964
+ const contents = (0, import_smithy_client.map)({
1965
+ $metadata: deserializeMetadata(output)
1966
+ });
1967
+ await (0, import_smithy_client.collectBody)(output.body, context);
1968
+ return contents;
1969
+ }, "de_TagResourceCommand");
1970
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1971
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1972
+ return de_CommandError(output, context);
1973
+ }
1974
+ const contents = (0, import_smithy_client.map)({
1975
+ $metadata: deserializeMetadata(output)
1976
+ });
1977
+ await (0, import_smithy_client.collectBody)(output.body, context);
1978
+ return contents;
1979
+ }, "de_UntagResourceCommand");
1980
+ var de_UpdateAccountPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
1981
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1982
+ return de_CommandError(output, context);
1983
+ }
1984
+ const contents = (0, import_smithy_client.map)({
1985
+ $metadata: deserializeMetadata(output)
1986
+ });
1987
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1988
+ const doc = (0, import_smithy_client.take)(data, {
1989
+ AccountPreferences: import_smithy_client._json
1990
+ });
1991
+ Object.assign(contents, doc);
1992
+ return contents;
1993
+ }, "de_UpdateAccountPreferencesCommand");
1994
+ var de_UpdateChimeWebhookConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1995
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1996
+ return de_CommandError(output, context);
1997
+ }
1998
+ const contents = (0, import_smithy_client.map)({
1999
+ $metadata: deserializeMetadata(output)
2000
+ });
2001
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2002
+ const doc = (0, import_smithy_client.take)(data, {
2003
+ WebhookConfiguration: import_smithy_client._json
2004
+ });
2005
+ Object.assign(contents, doc);
2006
+ return contents;
2007
+ }, "de_UpdateChimeWebhookConfigurationCommand");
2008
+ var de_UpdateCustomActionCommand = /* @__PURE__ */ __name(async (output, context) => {
2009
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2010
+ return de_CommandError(output, context);
2011
+ }
2012
+ const contents = (0, import_smithy_client.map)({
2013
+ $metadata: deserializeMetadata(output)
2014
+ });
2015
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2016
+ const doc = (0, import_smithy_client.take)(data, {
2017
+ CustomActionArn: import_smithy_client.expectString
2018
+ });
2019
+ Object.assign(contents, doc);
2020
+ return contents;
2021
+ }, "de_UpdateCustomActionCommand");
2022
+ var de_UpdateMicrosoftTeamsChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
2023
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2024
+ return de_CommandError(output, context);
2025
+ }
2026
+ const contents = (0, import_smithy_client.map)({
2027
+ $metadata: deserializeMetadata(output)
2028
+ });
2029
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2030
+ const doc = (0, import_smithy_client.take)(data, {
2031
+ ChannelConfiguration: import_smithy_client._json
2032
+ });
2033
+ Object.assign(contents, doc);
2034
+ return contents;
2035
+ }, "de_UpdateMicrosoftTeamsChannelConfigurationCommand");
2036
+ var de_UpdateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
2037
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2038
+ return de_CommandError(output, context);
2039
+ }
2040
+ const contents = (0, import_smithy_client.map)({
2041
+ $metadata: deserializeMetadata(output)
2042
+ });
2043
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2044
+ const doc = (0, import_smithy_client.take)(data, {
2045
+ ChannelConfiguration: import_smithy_client._json
2046
+ });
2047
+ Object.assign(contents, doc);
2048
+ return contents;
2049
+ }, "de_UpdateSlackChannelConfigurationCommand");
2050
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2051
+ const parsedOutput = {
2052
+ ...output,
2053
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
2054
+ };
2055
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
2056
+ switch (errorCode) {
2057
+ case "InternalServiceError":
2058
+ case "com.amazonaws.chatbot#InternalServiceError":
2059
+ throw await de_InternalServiceErrorRes(parsedOutput, context);
2060
+ case "InvalidRequestException":
2061
+ case "com.amazonaws.chatbot#InvalidRequestException":
2062
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2063
+ case "UnauthorizedException":
2064
+ case "com.amazonaws.chatbot#UnauthorizedException":
2065
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2066
+ case "ConflictException":
2067
+ case "com.amazonaws.chatbot#ConflictException":
2068
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2069
+ case "CreateChimeWebhookConfigurationException":
2070
+ case "com.amazonaws.chatbot#CreateChimeWebhookConfigurationException":
2071
+ throw await de_CreateChimeWebhookConfigurationExceptionRes(parsedOutput, context);
2072
+ case "InvalidParameterException":
2073
+ case "com.amazonaws.chatbot#InvalidParameterException":
2074
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2075
+ case "LimitExceededException":
2076
+ case "com.amazonaws.chatbot#LimitExceededException":
2077
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2078
+ case "CreateTeamsChannelConfigurationException":
2079
+ case "com.amazonaws.chatbot#CreateTeamsChannelConfigurationException":
2080
+ throw await de_CreateTeamsChannelConfigurationExceptionRes(parsedOutput, context);
2081
+ case "CreateSlackChannelConfigurationException":
2082
+ case "com.amazonaws.chatbot#CreateSlackChannelConfigurationException":
2083
+ throw await de_CreateSlackChannelConfigurationExceptionRes(parsedOutput, context);
2084
+ case "DeleteChimeWebhookConfigurationException":
2085
+ case "com.amazonaws.chatbot#DeleteChimeWebhookConfigurationException":
2086
+ throw await de_DeleteChimeWebhookConfigurationExceptionRes(parsedOutput, context);
2087
+ case "ResourceNotFoundException":
2088
+ case "com.amazonaws.chatbot#ResourceNotFoundException":
2089
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2090
+ case "DeleteTeamsChannelConfigurationException":
2091
+ case "com.amazonaws.chatbot#DeleteTeamsChannelConfigurationException":
2092
+ throw await de_DeleteTeamsChannelConfigurationExceptionRes(parsedOutput, context);
2093
+ case "DeleteTeamsConfiguredTeamException":
2094
+ case "com.amazonaws.chatbot#DeleteTeamsConfiguredTeamException":
2095
+ throw await de_DeleteTeamsConfiguredTeamExceptionRes(parsedOutput, context);
2096
+ case "DeleteMicrosoftTeamsUserIdentityException":
2097
+ case "com.amazonaws.chatbot#DeleteMicrosoftTeamsUserIdentityException":
2098
+ throw await de_DeleteMicrosoftTeamsUserIdentityExceptionRes(parsedOutput, context);
2099
+ case "DeleteSlackChannelConfigurationException":
2100
+ case "com.amazonaws.chatbot#DeleteSlackChannelConfigurationException":
2101
+ throw await de_DeleteSlackChannelConfigurationExceptionRes(parsedOutput, context);
2102
+ case "DeleteSlackUserIdentityException":
2103
+ case "com.amazonaws.chatbot#DeleteSlackUserIdentityException":
2104
+ throw await de_DeleteSlackUserIdentityExceptionRes(parsedOutput, context);
2105
+ case "DeleteSlackWorkspaceAuthorizationFault":
2106
+ case "com.amazonaws.chatbot#DeleteSlackWorkspaceAuthorizationFault":
2107
+ throw await de_DeleteSlackWorkspaceAuthorizationFaultRes(parsedOutput, context);
2108
+ case "DescribeChimeWebhookConfigurationsException":
2109
+ case "com.amazonaws.chatbot#DescribeChimeWebhookConfigurationsException":
2110
+ throw await de_DescribeChimeWebhookConfigurationsExceptionRes(parsedOutput, context);
2111
+ case "DescribeSlackChannelConfigurationsException":
2112
+ case "com.amazonaws.chatbot#DescribeSlackChannelConfigurationsException":
2113
+ throw await de_DescribeSlackChannelConfigurationsExceptionRes(parsedOutput, context);
2114
+ case "DescribeSlackUserIdentitiesException":
2115
+ case "com.amazonaws.chatbot#DescribeSlackUserIdentitiesException":
2116
+ throw await de_DescribeSlackUserIdentitiesExceptionRes(parsedOutput, context);
2117
+ case "DescribeSlackWorkspacesException":
2118
+ case "com.amazonaws.chatbot#DescribeSlackWorkspacesException":
2119
+ throw await de_DescribeSlackWorkspacesExceptionRes(parsedOutput, context);
2120
+ case "GetAccountPreferencesException":
2121
+ case "com.amazonaws.chatbot#GetAccountPreferencesException":
2122
+ throw await de_GetAccountPreferencesExceptionRes(parsedOutput, context);
2123
+ case "GetTeamsChannelConfigurationException":
2124
+ case "com.amazonaws.chatbot#GetTeamsChannelConfigurationException":
2125
+ throw await de_GetTeamsChannelConfigurationExceptionRes(parsedOutput, context);
2126
+ case "ListTeamsChannelConfigurationsException":
2127
+ case "com.amazonaws.chatbot#ListTeamsChannelConfigurationsException":
2128
+ throw await de_ListTeamsChannelConfigurationsExceptionRes(parsedOutput, context);
2129
+ case "ListMicrosoftTeamsConfiguredTeamsException":
2130
+ case "com.amazonaws.chatbot#ListMicrosoftTeamsConfiguredTeamsException":
2131
+ throw await de_ListMicrosoftTeamsConfiguredTeamsExceptionRes(parsedOutput, context);
2132
+ case "ListMicrosoftTeamsUserIdentitiesException":
2133
+ case "com.amazonaws.chatbot#ListMicrosoftTeamsUserIdentitiesException":
2134
+ throw await de_ListMicrosoftTeamsUserIdentitiesExceptionRes(parsedOutput, context);
2135
+ case "ServiceUnavailableException":
2136
+ case "com.amazonaws.chatbot#ServiceUnavailableException":
2137
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2138
+ case "TooManyTagsException":
2139
+ case "com.amazonaws.chatbot#TooManyTagsException":
2140
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
2141
+ case "UpdateAccountPreferencesException":
2142
+ case "com.amazonaws.chatbot#UpdateAccountPreferencesException":
2143
+ throw await de_UpdateAccountPreferencesExceptionRes(parsedOutput, context);
2144
+ case "UpdateChimeWebhookConfigurationException":
2145
+ case "com.amazonaws.chatbot#UpdateChimeWebhookConfigurationException":
2146
+ throw await de_UpdateChimeWebhookConfigurationExceptionRes(parsedOutput, context);
2147
+ case "UpdateTeamsChannelConfigurationException":
2148
+ case "com.amazonaws.chatbot#UpdateTeamsChannelConfigurationException":
2149
+ throw await de_UpdateTeamsChannelConfigurationExceptionRes(parsedOutput, context);
2150
+ case "UpdateSlackChannelConfigurationException":
2151
+ case "com.amazonaws.chatbot#UpdateSlackChannelConfigurationException":
2152
+ throw await de_UpdateSlackChannelConfigurationExceptionRes(parsedOutput, context);
2153
+ default:
2154
+ const parsedBody = parsedOutput.body;
2155
+ return throwDefaultError({
2156
+ output,
2157
+ parsedBody,
2158
+ errorCode
2159
+ });
2160
+ }
2161
+ }, "de_CommandError");
2162
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(ChatbotServiceException);
2163
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2164
+ const contents = (0, import_smithy_client.map)({});
2165
+ const data = parsedOutput.body;
2166
+ const doc = (0, import_smithy_client.take)(data, {
2167
+ message: import_smithy_client.expectString
2168
+ });
2169
+ Object.assign(contents, doc);
2170
+ const exception = new ConflictException({
2171
+ $metadata: deserializeMetadata(parsedOutput),
2172
+ ...contents
2173
+ });
2174
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2175
+ }, "de_ConflictExceptionRes");
2176
+ var de_CreateChimeWebhookConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2177
+ const contents = (0, import_smithy_client.map)({});
2178
+ const data = parsedOutput.body;
2179
+ const doc = (0, import_smithy_client.take)(data, {
2180
+ Message: import_smithy_client.expectString
2181
+ });
2182
+ Object.assign(contents, doc);
2183
+ const exception = new CreateChimeWebhookConfigurationException({
2184
+ $metadata: deserializeMetadata(parsedOutput),
2185
+ ...contents
2186
+ });
2187
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2188
+ }, "de_CreateChimeWebhookConfigurationExceptionRes");
2189
+ var de_CreateSlackChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2190
+ const contents = (0, import_smithy_client.map)({});
2191
+ const data = parsedOutput.body;
2192
+ const doc = (0, import_smithy_client.take)(data, {
2193
+ Message: import_smithy_client.expectString
2194
+ });
2195
+ Object.assign(contents, doc);
2196
+ const exception = new CreateSlackChannelConfigurationException({
2197
+ $metadata: deserializeMetadata(parsedOutput),
2198
+ ...contents
2199
+ });
2200
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2201
+ }, "de_CreateSlackChannelConfigurationExceptionRes");
2202
+ var de_CreateTeamsChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2203
+ const contents = (0, import_smithy_client.map)({});
2204
+ const data = parsedOutput.body;
2205
+ const doc = (0, import_smithy_client.take)(data, {
2206
+ Message: import_smithy_client.expectString
2207
+ });
2208
+ Object.assign(contents, doc);
2209
+ const exception = new CreateTeamsChannelConfigurationException({
2210
+ $metadata: deserializeMetadata(parsedOutput),
2211
+ ...contents
2212
+ });
2213
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2214
+ }, "de_CreateTeamsChannelConfigurationExceptionRes");
2215
+ var de_DeleteChimeWebhookConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2216
+ const contents = (0, import_smithy_client.map)({});
2217
+ const data = parsedOutput.body;
2218
+ const doc = (0, import_smithy_client.take)(data, {
2219
+ Message: import_smithy_client.expectString
2220
+ });
2221
+ Object.assign(contents, doc);
2222
+ const exception = new DeleteChimeWebhookConfigurationException({
2223
+ $metadata: deserializeMetadata(parsedOutput),
2224
+ ...contents
2225
+ });
2226
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2227
+ }, "de_DeleteChimeWebhookConfigurationExceptionRes");
2228
+ var de_DeleteMicrosoftTeamsUserIdentityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2229
+ const contents = (0, import_smithy_client.map)({});
2230
+ const data = parsedOutput.body;
2231
+ const doc = (0, import_smithy_client.take)(data, {
2232
+ Message: import_smithy_client.expectString
2233
+ });
2234
+ Object.assign(contents, doc);
2235
+ const exception = new DeleteMicrosoftTeamsUserIdentityException({
2236
+ $metadata: deserializeMetadata(parsedOutput),
2237
+ ...contents
2238
+ });
2239
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2240
+ }, "de_DeleteMicrosoftTeamsUserIdentityExceptionRes");
2241
+ var de_DeleteSlackChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2242
+ const contents = (0, import_smithy_client.map)({});
2243
+ const data = parsedOutput.body;
2244
+ const doc = (0, import_smithy_client.take)(data, {
2245
+ Message: import_smithy_client.expectString
2246
+ });
2247
+ Object.assign(contents, doc);
2248
+ const exception = new DeleteSlackChannelConfigurationException({
2249
+ $metadata: deserializeMetadata(parsedOutput),
2250
+ ...contents
2251
+ });
2252
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2253
+ }, "de_DeleteSlackChannelConfigurationExceptionRes");
2254
+ var de_DeleteSlackUserIdentityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2255
+ const contents = (0, import_smithy_client.map)({});
2256
+ const data = parsedOutput.body;
2257
+ const doc = (0, import_smithy_client.take)(data, {
2258
+ Message: import_smithy_client.expectString
2259
+ });
2260
+ Object.assign(contents, doc);
2261
+ const exception = new DeleteSlackUserIdentityException({
2262
+ $metadata: deserializeMetadata(parsedOutput),
2263
+ ...contents
2264
+ });
2265
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2266
+ }, "de_DeleteSlackUserIdentityExceptionRes");
2267
+ var de_DeleteSlackWorkspaceAuthorizationFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2268
+ const contents = (0, import_smithy_client.map)({});
2269
+ const data = parsedOutput.body;
2270
+ const doc = (0, import_smithy_client.take)(data, {
2271
+ Message: import_smithy_client.expectString
2272
+ });
2273
+ Object.assign(contents, doc);
2274
+ const exception = new DeleteSlackWorkspaceAuthorizationFault({
2275
+ $metadata: deserializeMetadata(parsedOutput),
2276
+ ...contents
2277
+ });
2278
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2279
+ }, "de_DeleteSlackWorkspaceAuthorizationFaultRes");
2280
+ var de_DeleteTeamsChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2281
+ const contents = (0, import_smithy_client.map)({});
2282
+ const data = parsedOutput.body;
2283
+ const doc = (0, import_smithy_client.take)(data, {
2284
+ Message: import_smithy_client.expectString
2285
+ });
2286
+ Object.assign(contents, doc);
2287
+ const exception = new DeleteTeamsChannelConfigurationException({
2288
+ $metadata: deserializeMetadata(parsedOutput),
2289
+ ...contents
2290
+ });
2291
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2292
+ }, "de_DeleteTeamsChannelConfigurationExceptionRes");
2293
+ var de_DeleteTeamsConfiguredTeamExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2294
+ const contents = (0, import_smithy_client.map)({});
2295
+ const data = parsedOutput.body;
2296
+ const doc = (0, import_smithy_client.take)(data, {
2297
+ Message: import_smithy_client.expectString
2298
+ });
2299
+ Object.assign(contents, doc);
2300
+ const exception = new DeleteTeamsConfiguredTeamException({
2301
+ $metadata: deserializeMetadata(parsedOutput),
2302
+ ...contents
2303
+ });
2304
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2305
+ }, "de_DeleteTeamsConfiguredTeamExceptionRes");
2306
+ var de_DescribeChimeWebhookConfigurationsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2307
+ const contents = (0, import_smithy_client.map)({});
2308
+ const data = parsedOutput.body;
2309
+ const doc = (0, import_smithy_client.take)(data, {
2310
+ Message: import_smithy_client.expectString
2311
+ });
2312
+ Object.assign(contents, doc);
2313
+ const exception = new DescribeChimeWebhookConfigurationsException({
2314
+ $metadata: deserializeMetadata(parsedOutput),
2315
+ ...contents
2316
+ });
2317
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2318
+ }, "de_DescribeChimeWebhookConfigurationsExceptionRes");
2319
+ var de_DescribeSlackChannelConfigurationsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2320
+ const contents = (0, import_smithy_client.map)({});
2321
+ const data = parsedOutput.body;
2322
+ const doc = (0, import_smithy_client.take)(data, {
2323
+ Message: import_smithy_client.expectString
2324
+ });
2325
+ Object.assign(contents, doc);
2326
+ const exception = new DescribeSlackChannelConfigurationsException({
2327
+ $metadata: deserializeMetadata(parsedOutput),
2328
+ ...contents
2329
+ });
2330
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2331
+ }, "de_DescribeSlackChannelConfigurationsExceptionRes");
2332
+ var de_DescribeSlackUserIdentitiesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2333
+ const contents = (0, import_smithy_client.map)({});
2334
+ const data = parsedOutput.body;
2335
+ const doc = (0, import_smithy_client.take)(data, {
2336
+ Message: import_smithy_client.expectString
2337
+ });
2338
+ Object.assign(contents, doc);
2339
+ const exception = new DescribeSlackUserIdentitiesException({
2340
+ $metadata: deserializeMetadata(parsedOutput),
2341
+ ...contents
2342
+ });
2343
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2344
+ }, "de_DescribeSlackUserIdentitiesExceptionRes");
2345
+ var de_DescribeSlackWorkspacesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2346
+ const contents = (0, import_smithy_client.map)({});
2347
+ const data = parsedOutput.body;
2348
+ const doc = (0, import_smithy_client.take)(data, {
2349
+ Message: import_smithy_client.expectString
2350
+ });
2351
+ Object.assign(contents, doc);
2352
+ const exception = new DescribeSlackWorkspacesException({
2353
+ $metadata: deserializeMetadata(parsedOutput),
2354
+ ...contents
2355
+ });
2356
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2357
+ }, "de_DescribeSlackWorkspacesExceptionRes");
2358
+ var de_GetAccountPreferencesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2359
+ const contents = (0, import_smithy_client.map)({});
2360
+ const data = parsedOutput.body;
2361
+ const doc = (0, import_smithy_client.take)(data, {
2362
+ Message: import_smithy_client.expectString
2363
+ });
2364
+ Object.assign(contents, doc);
2365
+ const exception = new GetAccountPreferencesException({
2366
+ $metadata: deserializeMetadata(parsedOutput),
2367
+ ...contents
2368
+ });
2369
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2370
+ }, "de_GetAccountPreferencesExceptionRes");
2371
+ var de_GetTeamsChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2372
+ const contents = (0, import_smithy_client.map)({});
2373
+ const data = parsedOutput.body;
2374
+ const doc = (0, import_smithy_client.take)(data, {
2375
+ Message: import_smithy_client.expectString
2376
+ });
2377
+ Object.assign(contents, doc);
2378
+ const exception = new GetTeamsChannelConfigurationException({
2379
+ $metadata: deserializeMetadata(parsedOutput),
2380
+ ...contents
2381
+ });
2382
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2383
+ }, "de_GetTeamsChannelConfigurationExceptionRes");
2384
+ var de_InternalServiceErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2385
+ const contents = (0, import_smithy_client.map)({});
2386
+ const data = parsedOutput.body;
2387
+ const doc = (0, import_smithy_client.take)(data, {
2388
+ Message: import_smithy_client.expectString
2389
+ });
2390
+ Object.assign(contents, doc);
2391
+ const exception = new InternalServiceError({
2392
+ $metadata: deserializeMetadata(parsedOutput),
2393
+ ...contents
2394
+ });
2395
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2396
+ }, "de_InternalServiceErrorRes");
2397
+ var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2398
+ const contents = (0, import_smithy_client.map)({});
2399
+ const data = parsedOutput.body;
2400
+ const doc = (0, import_smithy_client.take)(data, {
2401
+ message: import_smithy_client.expectString
2402
+ });
2403
+ Object.assign(contents, doc);
2404
+ const exception = new InvalidParameterException({
2405
+ $metadata: deserializeMetadata(parsedOutput),
2406
+ ...contents
2407
+ });
2408
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2409
+ }, "de_InvalidParameterExceptionRes");
2410
+ var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2411
+ const contents = (0, import_smithy_client.map)({});
2412
+ const data = parsedOutput.body;
2413
+ const doc = (0, import_smithy_client.take)(data, {
2414
+ message: import_smithy_client.expectString
2415
+ });
2416
+ Object.assign(contents, doc);
2417
+ const exception = new InvalidRequestException({
2418
+ $metadata: deserializeMetadata(parsedOutput),
2419
+ ...contents
2420
+ });
2421
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2422
+ }, "de_InvalidRequestExceptionRes");
2423
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2424
+ const contents = (0, import_smithy_client.map)({});
2425
+ const data = parsedOutput.body;
2426
+ const doc = (0, import_smithy_client.take)(data, {
2427
+ message: import_smithy_client.expectString
2428
+ });
2429
+ Object.assign(contents, doc);
2430
+ const exception = new LimitExceededException({
2431
+ $metadata: deserializeMetadata(parsedOutput),
2432
+ ...contents
2433
+ });
2434
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2435
+ }, "de_LimitExceededExceptionRes");
2436
+ var de_ListMicrosoftTeamsConfiguredTeamsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2437
+ const contents = (0, import_smithy_client.map)({});
2438
+ const data = parsedOutput.body;
2439
+ const doc = (0, import_smithy_client.take)(data, {
2440
+ Message: import_smithy_client.expectString
2441
+ });
2442
+ Object.assign(contents, doc);
2443
+ const exception = new ListMicrosoftTeamsConfiguredTeamsException({
2444
+ $metadata: deserializeMetadata(parsedOutput),
2445
+ ...contents
2446
+ });
2447
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2448
+ }, "de_ListMicrosoftTeamsConfiguredTeamsExceptionRes");
2449
+ var de_ListMicrosoftTeamsUserIdentitiesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2450
+ const contents = (0, import_smithy_client.map)({});
2451
+ const data = parsedOutput.body;
2452
+ const doc = (0, import_smithy_client.take)(data, {
2453
+ Message: import_smithy_client.expectString
2454
+ });
2455
+ Object.assign(contents, doc);
2456
+ const exception = new ListMicrosoftTeamsUserIdentitiesException({
2457
+ $metadata: deserializeMetadata(parsedOutput),
2458
+ ...contents
2459
+ });
2460
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2461
+ }, "de_ListMicrosoftTeamsUserIdentitiesExceptionRes");
2462
+ var de_ListTeamsChannelConfigurationsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2463
+ const contents = (0, import_smithy_client.map)({});
2464
+ const data = parsedOutput.body;
2465
+ const doc = (0, import_smithy_client.take)(data, {
2466
+ Message: import_smithy_client.expectString
2467
+ });
2468
+ Object.assign(contents, doc);
2469
+ const exception = new ListTeamsChannelConfigurationsException({
2470
+ $metadata: deserializeMetadata(parsedOutput),
2471
+ ...contents
2472
+ });
2473
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2474
+ }, "de_ListTeamsChannelConfigurationsExceptionRes");
2475
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2476
+ const contents = (0, import_smithy_client.map)({});
2477
+ const data = parsedOutput.body;
2478
+ const doc = (0, import_smithy_client.take)(data, {
2479
+ Message: import_smithy_client.expectString
2480
+ });
2481
+ Object.assign(contents, doc);
2482
+ const exception = new ResourceNotFoundException({
2483
+ $metadata: deserializeMetadata(parsedOutput),
2484
+ ...contents
2485
+ });
2486
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2487
+ }, "de_ResourceNotFoundExceptionRes");
2488
+ var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2489
+ const contents = (0, import_smithy_client.map)({});
2490
+ const data = parsedOutput.body;
2491
+ const doc = (0, import_smithy_client.take)(data, {
2492
+ message: import_smithy_client.expectString
2493
+ });
2494
+ Object.assign(contents, doc);
2495
+ const exception = new ServiceUnavailableException({
2496
+ $metadata: deserializeMetadata(parsedOutput),
2497
+ ...contents
2498
+ });
2499
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2500
+ }, "de_ServiceUnavailableExceptionRes");
2501
+ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2502
+ const contents = (0, import_smithy_client.map)({});
2503
+ const data = parsedOutput.body;
2504
+ const doc = (0, import_smithy_client.take)(data, {
2505
+ message: import_smithy_client.expectString
2506
+ });
2507
+ Object.assign(contents, doc);
2508
+ const exception = new TooManyTagsException({
2509
+ $metadata: deserializeMetadata(parsedOutput),
2510
+ ...contents
2511
+ });
2512
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2513
+ }, "de_TooManyTagsExceptionRes");
2514
+ var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2515
+ const contents = (0, import_smithy_client.map)({});
2516
+ const data = parsedOutput.body;
2517
+ const doc = (0, import_smithy_client.take)(data, {
2518
+ message: import_smithy_client.expectString
2519
+ });
2520
+ Object.assign(contents, doc);
2521
+ const exception = new UnauthorizedException({
2522
+ $metadata: deserializeMetadata(parsedOutput),
2523
+ ...contents
2524
+ });
2525
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2526
+ }, "de_UnauthorizedExceptionRes");
2527
+ var de_UpdateAccountPreferencesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2528
+ const contents = (0, import_smithy_client.map)({});
2529
+ const data = parsedOutput.body;
2530
+ const doc = (0, import_smithy_client.take)(data, {
2531
+ Message: import_smithy_client.expectString
2532
+ });
2533
+ Object.assign(contents, doc);
2534
+ const exception = new UpdateAccountPreferencesException({
2535
+ $metadata: deserializeMetadata(parsedOutput),
2536
+ ...contents
2537
+ });
2538
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2539
+ }, "de_UpdateAccountPreferencesExceptionRes");
2540
+ var de_UpdateChimeWebhookConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2541
+ const contents = (0, import_smithy_client.map)({});
2542
+ const data = parsedOutput.body;
2543
+ const doc = (0, import_smithy_client.take)(data, {
2544
+ Message: import_smithy_client.expectString
2545
+ });
2546
+ Object.assign(contents, doc);
2547
+ const exception = new UpdateChimeWebhookConfigurationException({
2548
+ $metadata: deserializeMetadata(parsedOutput),
2549
+ ...contents
2550
+ });
2551
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2552
+ }, "de_UpdateChimeWebhookConfigurationExceptionRes");
2553
+ var de_UpdateSlackChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2554
+ const contents = (0, import_smithy_client.map)({});
2555
+ const data = parsedOutput.body;
2556
+ const doc = (0, import_smithy_client.take)(data, {
2557
+ Message: import_smithy_client.expectString
2558
+ });
2559
+ Object.assign(contents, doc);
2560
+ const exception = new UpdateSlackChannelConfigurationException({
2561
+ $metadata: deserializeMetadata(parsedOutput),
2562
+ ...contents
2563
+ });
2564
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2565
+ }, "de_UpdateSlackChannelConfigurationExceptionRes");
2566
+ var de_UpdateTeamsChannelConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2567
+ const contents = (0, import_smithy_client.map)({});
2568
+ const data = parsedOutput.body;
2569
+ const doc = (0, import_smithy_client.take)(data, {
2570
+ Message: import_smithy_client.expectString
2571
+ });
2572
+ Object.assign(contents, doc);
2573
+ const exception = new UpdateTeamsChannelConfigurationException({
2574
+ $metadata: deserializeMetadata(parsedOutput),
2575
+ ...contents
2576
+ });
2577
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2578
+ }, "de_UpdateTeamsChannelConfigurationExceptionRes");
2579
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2580
+ httpStatusCode: output.statusCode,
2581
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2582
+ extendedRequestId: output.headers["x-amz-id-2"],
2583
+ cfId: output.headers["x-amz-cf-id"]
2584
+ }), "deserializeMetadata");
2585
+
2586
+ // src/commands/AssociateToConfigurationCommand.ts
2587
+ var AssociateToConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2588
+ return [
2589
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2590
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2591
+ ];
2592
+ }).s("WheatleyOrchestration_20171011", "AssociateToConfiguration", {}).n("ChatbotClient", "AssociateToConfigurationCommand").f(void 0, void 0).ser(se_AssociateToConfigurationCommand).de(de_AssociateToConfigurationCommand).build() {
2593
+ static {
2594
+ __name(this, "AssociateToConfigurationCommand");
2595
+ }
2596
+ };
2597
+
2598
+ // src/commands/CreateChimeWebhookConfigurationCommand.ts
2599
+
2600
+
2601
+
2602
+ var CreateChimeWebhookConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2603
+ return [
2604
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2605
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2606
+ ];
2607
+ }).s("WheatleyOrchestration_20171011", "CreateChimeWebhookConfiguration", {}).n("ChatbotClient", "CreateChimeWebhookConfigurationCommand").f(CreateChimeWebhookConfigurationRequestFilterSensitiveLog, CreateChimeWebhookConfigurationResultFilterSensitiveLog).ser(se_CreateChimeWebhookConfigurationCommand).de(de_CreateChimeWebhookConfigurationCommand).build() {
2608
+ static {
2609
+ __name(this, "CreateChimeWebhookConfigurationCommand");
2610
+ }
2611
+ };
2612
+
2613
+ // src/commands/CreateCustomActionCommand.ts
2614
+
2615
+
2616
+
2617
+ var CreateCustomActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2618
+ return [
2619
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2620
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2621
+ ];
2622
+ }).s("WheatleyOrchestration_20171011", "CreateCustomAction", {}).n("ChatbotClient", "CreateCustomActionCommand").f(void 0, void 0).ser(se_CreateCustomActionCommand).de(de_CreateCustomActionCommand).build() {
2623
+ static {
2624
+ __name(this, "CreateCustomActionCommand");
2625
+ }
2626
+ };
2627
+
2628
+ // src/commands/CreateMicrosoftTeamsChannelConfigurationCommand.ts
2629
+
2630
+
2631
+
2632
+ var CreateMicrosoftTeamsChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2633
+ return [
2634
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2635
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2636
+ ];
2637
+ }).s("WheatleyOrchestration_20171011", "CreateMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "CreateMicrosoftTeamsChannelConfigurationCommand").f(CreateTeamsChannelConfigurationRequestFilterSensitiveLog, CreateTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_CreateMicrosoftTeamsChannelConfigurationCommand).de(de_CreateMicrosoftTeamsChannelConfigurationCommand).build() {
2638
+ static {
2639
+ __name(this, "CreateMicrosoftTeamsChannelConfigurationCommand");
2640
+ }
2641
+ };
2642
+
2643
+ // src/commands/CreateSlackChannelConfigurationCommand.ts
2644
+
2645
+
2646
+
2647
+ var CreateSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2648
+ return [
2649
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2650
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2651
+ ];
2652
+ }).s("WheatleyOrchestration_20171011", "CreateSlackChannelConfiguration", {}).n("ChatbotClient", "CreateSlackChannelConfigurationCommand").f(CreateSlackChannelConfigurationRequestFilterSensitiveLog, CreateSlackChannelConfigurationResultFilterSensitiveLog).ser(se_CreateSlackChannelConfigurationCommand).de(de_CreateSlackChannelConfigurationCommand).build() {
2653
+ static {
2654
+ __name(this, "CreateSlackChannelConfigurationCommand");
2655
+ }
2656
+ };
2657
+
2658
+ // src/commands/DeleteChimeWebhookConfigurationCommand.ts
2659
+
2660
+
2661
+
2662
+ var DeleteChimeWebhookConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2663
+ return [
2664
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2665
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2666
+ ];
2667
+ }).s("WheatleyOrchestration_20171011", "DeleteChimeWebhookConfiguration", {}).n("ChatbotClient", "DeleteChimeWebhookConfigurationCommand").f(void 0, void 0).ser(se_DeleteChimeWebhookConfigurationCommand).de(de_DeleteChimeWebhookConfigurationCommand).build() {
2668
+ static {
2669
+ __name(this, "DeleteChimeWebhookConfigurationCommand");
2670
+ }
2671
+ };
2672
+
2673
+ // src/commands/DeleteCustomActionCommand.ts
2674
+
2675
+
2676
+
2677
+ var DeleteCustomActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2678
+ return [
2679
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2680
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2681
+ ];
2682
+ }).s("WheatleyOrchestration_20171011", "DeleteCustomAction", {}).n("ChatbotClient", "DeleteCustomActionCommand").f(void 0, void 0).ser(se_DeleteCustomActionCommand).de(de_DeleteCustomActionCommand).build() {
2683
+ static {
2684
+ __name(this, "DeleteCustomActionCommand");
2685
+ }
2686
+ };
2687
+
2688
+ // src/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.ts
2689
+
2690
+
2691
+
2692
+ var DeleteMicrosoftTeamsChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2693
+ return [
2694
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2695
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2696
+ ];
2697
+ }).s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "DeleteMicrosoftTeamsChannelConfigurationCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsChannelConfigurationCommand).de(de_DeleteMicrosoftTeamsChannelConfigurationCommand).build() {
2698
+ static {
2699
+ __name(this, "DeleteMicrosoftTeamsChannelConfigurationCommand");
2700
+ }
2701
+ };
2702
+
2703
+ // src/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.ts
2704
+
2705
+
2706
+
2707
+ var DeleteMicrosoftTeamsConfiguredTeamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2708
+ return [
2709
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2710
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2711
+ ];
2712
+ }).s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsConfiguredTeam", {}).n("ChatbotClient", "DeleteMicrosoftTeamsConfiguredTeamCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsConfiguredTeamCommand).de(de_DeleteMicrosoftTeamsConfiguredTeamCommand).build() {
2713
+ static {
2714
+ __name(this, "DeleteMicrosoftTeamsConfiguredTeamCommand");
2715
+ }
2716
+ };
2717
+
2718
+ // src/commands/DeleteMicrosoftTeamsUserIdentityCommand.ts
2719
+
2720
+
2721
+
2722
+ var DeleteMicrosoftTeamsUserIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2723
+ return [
2724
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2725
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2726
+ ];
2727
+ }).s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsUserIdentity", {}).n("ChatbotClient", "DeleteMicrosoftTeamsUserIdentityCommand").f(void 0, void 0).ser(se_DeleteMicrosoftTeamsUserIdentityCommand).de(de_DeleteMicrosoftTeamsUserIdentityCommand).build() {
2728
+ static {
2729
+ __name(this, "DeleteMicrosoftTeamsUserIdentityCommand");
2730
+ }
2731
+ };
2732
+
2733
+ // src/commands/DeleteSlackChannelConfigurationCommand.ts
2734
+
2735
+
2736
+
2737
+ var DeleteSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2738
+ return [
2739
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2740
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2741
+ ];
2742
+ }).s("WheatleyOrchestration_20171011", "DeleteSlackChannelConfiguration", {}).n("ChatbotClient", "DeleteSlackChannelConfigurationCommand").f(void 0, void 0).ser(se_DeleteSlackChannelConfigurationCommand).de(de_DeleteSlackChannelConfigurationCommand).build() {
2743
+ static {
2744
+ __name(this, "DeleteSlackChannelConfigurationCommand");
2745
+ }
2746
+ };
2747
+
2748
+ // src/commands/DeleteSlackUserIdentityCommand.ts
2749
+
2750
+
2751
+
2752
+ var DeleteSlackUserIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2753
+ return [
2754
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2755
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2756
+ ];
2757
+ }).s("WheatleyOrchestration_20171011", "DeleteSlackUserIdentity", {}).n("ChatbotClient", "DeleteSlackUserIdentityCommand").f(void 0, void 0).ser(se_DeleteSlackUserIdentityCommand).de(de_DeleteSlackUserIdentityCommand).build() {
2758
+ static {
2759
+ __name(this, "DeleteSlackUserIdentityCommand");
2760
+ }
2761
+ };
2762
+
2763
+ // src/commands/DeleteSlackWorkspaceAuthorizationCommand.ts
2764
+
2765
+
2766
+
2767
+ var DeleteSlackWorkspaceAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2768
+ return [
2769
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2770
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2771
+ ];
2772
+ }).s("WheatleyOrchestration_20171011", "DeleteSlackWorkspaceAuthorization", {}).n("ChatbotClient", "DeleteSlackWorkspaceAuthorizationCommand").f(void 0, void 0).ser(se_DeleteSlackWorkspaceAuthorizationCommand).de(de_DeleteSlackWorkspaceAuthorizationCommand).build() {
2773
+ static {
2774
+ __name(this, "DeleteSlackWorkspaceAuthorizationCommand");
2775
+ }
2776
+ };
2777
+
2778
+ // src/commands/DescribeChimeWebhookConfigurationsCommand.ts
2779
+
2780
+
2781
+
2782
+ var DescribeChimeWebhookConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2783
+ return [
2784
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2785
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2786
+ ];
2787
+ }).s("WheatleyOrchestration_20171011", "DescribeChimeWebhookConfigurations", {}).n("ChatbotClient", "DescribeChimeWebhookConfigurationsCommand").f(void 0, DescribeChimeWebhookConfigurationsResultFilterSensitiveLog).ser(se_DescribeChimeWebhookConfigurationsCommand).de(de_DescribeChimeWebhookConfigurationsCommand).build() {
2788
+ static {
2789
+ __name(this, "DescribeChimeWebhookConfigurationsCommand");
2790
+ }
2791
+ };
2792
+
2793
+ // src/commands/DescribeSlackChannelConfigurationsCommand.ts
2794
+
2795
+
2796
+
2797
+ var DescribeSlackChannelConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2798
+ return [
2799
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2800
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2801
+ ];
2802
+ }).s("WheatleyOrchestration_20171011", "DescribeSlackChannelConfigurations", {}).n("ChatbotClient", "DescribeSlackChannelConfigurationsCommand").f(void 0, DescribeSlackChannelConfigurationsResultFilterSensitiveLog).ser(se_DescribeSlackChannelConfigurationsCommand).de(de_DescribeSlackChannelConfigurationsCommand).build() {
2803
+ static {
2804
+ __name(this, "DescribeSlackChannelConfigurationsCommand");
2805
+ }
2806
+ };
2807
+
2808
+ // src/commands/DescribeSlackUserIdentitiesCommand.ts
2809
+
2810
+
2811
+
2812
+ var DescribeSlackUserIdentitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2813
+ return [
2814
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2815
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2816
+ ];
2817
+ }).s("WheatleyOrchestration_20171011", "DescribeSlackUserIdentities", {}).n("ChatbotClient", "DescribeSlackUserIdentitiesCommand").f(void 0, void 0).ser(se_DescribeSlackUserIdentitiesCommand).de(de_DescribeSlackUserIdentitiesCommand).build() {
2818
+ static {
2819
+ __name(this, "DescribeSlackUserIdentitiesCommand");
2820
+ }
2821
+ };
2822
+
2823
+ // src/commands/DescribeSlackWorkspacesCommand.ts
2824
+
2825
+
2826
+
2827
+ var DescribeSlackWorkspacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2828
+ return [
2829
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2830
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2831
+ ];
2832
+ }).s("WheatleyOrchestration_20171011", "DescribeSlackWorkspaces", {}).n("ChatbotClient", "DescribeSlackWorkspacesCommand").f(void 0, void 0).ser(se_DescribeSlackWorkspacesCommand).de(de_DescribeSlackWorkspacesCommand).build() {
2833
+ static {
2834
+ __name(this, "DescribeSlackWorkspacesCommand");
2835
+ }
2836
+ };
2837
+
2838
+ // src/commands/DisassociateFromConfigurationCommand.ts
2839
+
2840
+
2841
+
2842
+ var DisassociateFromConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2843
+ return [
2844
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2845
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2846
+ ];
2847
+ }).s("WheatleyOrchestration_20171011", "DisassociateFromConfiguration", {}).n("ChatbotClient", "DisassociateFromConfigurationCommand").f(void 0, void 0).ser(se_DisassociateFromConfigurationCommand).de(de_DisassociateFromConfigurationCommand).build() {
2848
+ static {
2849
+ __name(this, "DisassociateFromConfigurationCommand");
2850
+ }
2851
+ };
2852
+
2853
+ // src/commands/GetAccountPreferencesCommand.ts
2854
+
2855
+
2856
+
2857
+ var GetAccountPreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2858
+ return [
2859
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2860
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2861
+ ];
2862
+ }).s("WheatleyOrchestration_20171011", "GetAccountPreferences", {}).n("ChatbotClient", "GetAccountPreferencesCommand").f(void 0, void 0).ser(se_GetAccountPreferencesCommand).de(de_GetAccountPreferencesCommand).build() {
2863
+ static {
2864
+ __name(this, "GetAccountPreferencesCommand");
2865
+ }
2866
+ };
2867
+
2868
+ // src/commands/GetCustomActionCommand.ts
2869
+
2870
+
2871
+
2872
+ var GetCustomActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2873
+ return [
2874
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2875
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2876
+ ];
2877
+ }).s("WheatleyOrchestration_20171011", "GetCustomAction", {}).n("ChatbotClient", "GetCustomActionCommand").f(void 0, void 0).ser(se_GetCustomActionCommand).de(de_GetCustomActionCommand).build() {
2878
+ static {
2879
+ __name(this, "GetCustomActionCommand");
2880
+ }
2881
+ };
2882
+
2883
+ // src/commands/GetMicrosoftTeamsChannelConfigurationCommand.ts
2884
+
2885
+
2886
+
2887
+ var GetMicrosoftTeamsChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2888
+ return [
2889
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2890
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2891
+ ];
2892
+ }).s("WheatleyOrchestration_20171011", "GetMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "GetMicrosoftTeamsChannelConfigurationCommand").f(void 0, GetTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_GetMicrosoftTeamsChannelConfigurationCommand).de(de_GetMicrosoftTeamsChannelConfigurationCommand).build() {
2893
+ static {
2894
+ __name(this, "GetMicrosoftTeamsChannelConfigurationCommand");
2895
+ }
2896
+ };
2897
+
2898
+ // src/commands/ListAssociationsCommand.ts
2899
+
2900
+
2901
+
2902
+ var ListAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2903
+ return [
2904
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2905
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2906
+ ];
2907
+ }).s("WheatleyOrchestration_20171011", "ListAssociations", {}).n("ChatbotClient", "ListAssociationsCommand").f(void 0, void 0).ser(se_ListAssociationsCommand).de(de_ListAssociationsCommand).build() {
2908
+ static {
2909
+ __name(this, "ListAssociationsCommand");
2910
+ }
2911
+ };
2912
+
2913
+ // src/commands/ListCustomActionsCommand.ts
2914
+
2915
+
2916
+
2917
+ var ListCustomActionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2918
+ return [
2919
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2920
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2921
+ ];
2922
+ }).s("WheatleyOrchestration_20171011", "ListCustomActions", {}).n("ChatbotClient", "ListCustomActionsCommand").f(void 0, void 0).ser(se_ListCustomActionsCommand).de(de_ListCustomActionsCommand).build() {
2923
+ static {
2924
+ __name(this, "ListCustomActionsCommand");
2925
+ }
2926
+ };
2927
+
2928
+ // src/commands/ListMicrosoftTeamsChannelConfigurationsCommand.ts
2929
+
2930
+
2931
+
2932
+ var ListMicrosoftTeamsChannelConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2933
+ return [
2934
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2935
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2936
+ ];
2937
+ }).s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {}).n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand").f(void 0, ListTeamsChannelConfigurationsResultFilterSensitiveLog).ser(se_ListMicrosoftTeamsChannelConfigurationsCommand).de(de_ListMicrosoftTeamsChannelConfigurationsCommand).build() {
2938
+ static {
2939
+ __name(this, "ListMicrosoftTeamsChannelConfigurationsCommand");
2940
+ }
2941
+ };
2942
+
2943
+ // src/commands/ListMicrosoftTeamsConfiguredTeamsCommand.ts
2944
+
2945
+
2946
+
2947
+ var ListMicrosoftTeamsConfiguredTeamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2948
+ return [
2949
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2950
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2951
+ ];
2952
+ }).s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {}).n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand").f(void 0, void 0).ser(se_ListMicrosoftTeamsConfiguredTeamsCommand).de(de_ListMicrosoftTeamsConfiguredTeamsCommand).build() {
2953
+ static {
2954
+ __name(this, "ListMicrosoftTeamsConfiguredTeamsCommand");
2955
+ }
2956
+ };
2957
+
2958
+ // src/commands/ListMicrosoftTeamsUserIdentitiesCommand.ts
2959
+
2960
+
2961
+
2962
+ var ListMicrosoftTeamsUserIdentitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2963
+ return [
2964
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2965
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2966
+ ];
2967
+ }).s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {}).n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand").f(void 0, void 0).ser(se_ListMicrosoftTeamsUserIdentitiesCommand).de(de_ListMicrosoftTeamsUserIdentitiesCommand).build() {
2968
+ static {
2969
+ __name(this, "ListMicrosoftTeamsUserIdentitiesCommand");
2970
+ }
2971
+ };
2972
+
2973
+ // src/commands/ListTagsForResourceCommand.ts
2974
+
2975
+
2976
+
2977
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2978
+ return [
2979
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2980
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2981
+ ];
2982
+ }).s("WheatleyOrchestration_20171011", "ListTagsForResource", {}).n("ChatbotClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2983
+ static {
2984
+ __name(this, "ListTagsForResourceCommand");
2985
+ }
2986
+ };
2987
+
2988
+ // src/commands/TagResourceCommand.ts
2989
+
2990
+
2991
+
2992
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2993
+ return [
2994
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2995
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2996
+ ];
2997
+ }).s("WheatleyOrchestration_20171011", "TagResource", {}).n("ChatbotClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2998
+ static {
2999
+ __name(this, "TagResourceCommand");
3000
+ }
3001
+ };
3002
+
3003
+ // src/commands/UntagResourceCommand.ts
3004
+
3005
+
3006
+
3007
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3008
+ return [
3009
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3010
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3011
+ ];
3012
+ }).s("WheatleyOrchestration_20171011", "UntagResource", {}).n("ChatbotClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
3013
+ static {
3014
+ __name(this, "UntagResourceCommand");
3015
+ }
3016
+ };
3017
+
3018
+ // src/commands/UpdateAccountPreferencesCommand.ts
3019
+
3020
+
3021
+
3022
+ var UpdateAccountPreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3023
+ return [
3024
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3025
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3026
+ ];
3027
+ }).s("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {}).n("ChatbotClient", "UpdateAccountPreferencesCommand").f(void 0, void 0).ser(se_UpdateAccountPreferencesCommand).de(de_UpdateAccountPreferencesCommand).build() {
3028
+ static {
3029
+ __name(this, "UpdateAccountPreferencesCommand");
3030
+ }
3031
+ };
3032
+
3033
+ // src/commands/UpdateChimeWebhookConfigurationCommand.ts
3034
+
3035
+
3036
+
3037
+ var UpdateChimeWebhookConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3038
+ return [
3039
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3040
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3041
+ ];
3042
+ }).s("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {}).n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand").f(UpdateChimeWebhookConfigurationRequestFilterSensitiveLog, UpdateChimeWebhookConfigurationResultFilterSensitiveLog).ser(se_UpdateChimeWebhookConfigurationCommand).de(de_UpdateChimeWebhookConfigurationCommand).build() {
3043
+ static {
3044
+ __name(this, "UpdateChimeWebhookConfigurationCommand");
3045
+ }
3046
+ };
3047
+
3048
+ // src/commands/UpdateCustomActionCommand.ts
3049
+
3050
+
3051
+
3052
+ var UpdateCustomActionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3053
+ return [
3054
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3055
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3056
+ ];
3057
+ }).s("WheatleyOrchestration_20171011", "UpdateCustomAction", {}).n("ChatbotClient", "UpdateCustomActionCommand").f(void 0, void 0).ser(se_UpdateCustomActionCommand).de(de_UpdateCustomActionCommand).build() {
3058
+ static {
3059
+ __name(this, "UpdateCustomActionCommand");
3060
+ }
3061
+ };
3062
+
3063
+ // src/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.ts
3064
+
3065
+
3066
+
3067
+ var UpdateMicrosoftTeamsChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3068
+ return [
3069
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3070
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3071
+ ];
3072
+ }).s("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {}).n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand").f(UpdateTeamsChannelConfigurationRequestFilterSensitiveLog, UpdateTeamsChannelConfigurationResultFilterSensitiveLog).ser(se_UpdateMicrosoftTeamsChannelConfigurationCommand).de(de_UpdateMicrosoftTeamsChannelConfigurationCommand).build() {
3073
+ static {
3074
+ __name(this, "UpdateMicrosoftTeamsChannelConfigurationCommand");
3075
+ }
3076
+ };
3077
+
3078
+ // src/commands/UpdateSlackChannelConfigurationCommand.ts
3079
+
3080
+
3081
+
3082
+ var UpdateSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3083
+ return [
3084
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3085
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3086
+ ];
3087
+ }).s("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {}).n("ChatbotClient", "UpdateSlackChannelConfigurationCommand").f(UpdateSlackChannelConfigurationRequestFilterSensitiveLog, UpdateSlackChannelConfigurationResultFilterSensitiveLog).ser(se_UpdateSlackChannelConfigurationCommand).de(de_UpdateSlackChannelConfigurationCommand).build() {
3088
+ static {
3089
+ __name(this, "UpdateSlackChannelConfigurationCommand");
3090
+ }
3091
+ };
3092
+
3093
+ // src/Chatbot.ts
3094
+ var commands = {
3095
+ AssociateToConfigurationCommand,
3096
+ CreateChimeWebhookConfigurationCommand,
3097
+ CreateCustomActionCommand,
3098
+ CreateMicrosoftTeamsChannelConfigurationCommand,
3099
+ CreateSlackChannelConfigurationCommand,
3100
+ DeleteChimeWebhookConfigurationCommand,
3101
+ DeleteCustomActionCommand,
3102
+ DeleteMicrosoftTeamsChannelConfigurationCommand,
3103
+ DeleteMicrosoftTeamsConfiguredTeamCommand,
3104
+ DeleteMicrosoftTeamsUserIdentityCommand,
3105
+ DeleteSlackChannelConfigurationCommand,
3106
+ DeleteSlackUserIdentityCommand,
3107
+ DeleteSlackWorkspaceAuthorizationCommand,
3108
+ DescribeChimeWebhookConfigurationsCommand,
3109
+ DescribeSlackChannelConfigurationsCommand,
3110
+ DescribeSlackUserIdentitiesCommand,
3111
+ DescribeSlackWorkspacesCommand,
3112
+ DisassociateFromConfigurationCommand,
3113
+ GetAccountPreferencesCommand,
3114
+ GetCustomActionCommand,
3115
+ GetMicrosoftTeamsChannelConfigurationCommand,
3116
+ ListAssociationsCommand,
3117
+ ListCustomActionsCommand,
3118
+ ListMicrosoftTeamsChannelConfigurationsCommand,
3119
+ ListMicrosoftTeamsConfiguredTeamsCommand,
3120
+ ListMicrosoftTeamsUserIdentitiesCommand,
3121
+ ListTagsForResourceCommand,
3122
+ TagResourceCommand,
3123
+ UntagResourceCommand,
3124
+ UpdateAccountPreferencesCommand,
3125
+ UpdateChimeWebhookConfigurationCommand,
3126
+ UpdateCustomActionCommand,
3127
+ UpdateMicrosoftTeamsChannelConfigurationCommand,
3128
+ UpdateSlackChannelConfigurationCommand
3129
+ };
3130
+ var Chatbot = class extends ChatbotClient {
3131
+ static {
3132
+ __name(this, "Chatbot");
3133
+ }
3134
+ };
3135
+ (0, import_smithy_client.createAggregatedClient)(commands, Chatbot);
3136
+
3137
+ // src/pagination/DescribeChimeWebhookConfigurationsPaginator.ts
3138
+
3139
+ var paginateDescribeChimeWebhookConfigurations = (0, import_core.createPaginator)(ChatbotClient, DescribeChimeWebhookConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
3140
+
3141
+ // src/pagination/DescribeSlackChannelConfigurationsPaginator.ts
3142
+
3143
+ var paginateDescribeSlackChannelConfigurations = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackChannelConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
3144
+
3145
+ // src/pagination/DescribeSlackUserIdentitiesPaginator.ts
3146
+
3147
+ var paginateDescribeSlackUserIdentities = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackUserIdentitiesCommand, "NextToken", "NextToken", "MaxResults");
3148
+
3149
+ // src/pagination/DescribeSlackWorkspacesPaginator.ts
3150
+
3151
+ var paginateDescribeSlackWorkspaces = (0, import_core.createPaginator)(ChatbotClient, DescribeSlackWorkspacesCommand, "NextToken", "NextToken", "MaxResults");
3152
+
3153
+ // src/pagination/ListAssociationsPaginator.ts
3154
+
3155
+ var paginateListAssociations = (0, import_core.createPaginator)(ChatbotClient, ListAssociationsCommand, "NextToken", "NextToken", "MaxResults");
3156
+
3157
+ // src/pagination/ListCustomActionsPaginator.ts
3158
+
3159
+ var paginateListCustomActions = (0, import_core.createPaginator)(ChatbotClient, ListCustomActionsCommand, "NextToken", "NextToken", "MaxResults");
3160
+
3161
+ // src/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.ts
3162
+
3163
+ var paginateListMicrosoftTeamsChannelConfigurations = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsChannelConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
3164
+
3165
+ // src/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.ts
3166
+
3167
+ var paginateListMicrosoftTeamsConfiguredTeams = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsConfiguredTeamsCommand, "NextToken", "NextToken", "MaxResults");
3168
+
3169
+ // src/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.ts
3170
+
3171
+ var paginateListMicrosoftTeamsUserIdentities = (0, import_core.createPaginator)(ChatbotClient, ListMicrosoftTeamsUserIdentitiesCommand, "NextToken", "NextToken", "MaxResults");
3172
+ // Annotate the CommonJS export names for ESM import in node:
3173
+
3174
+ 0 && (module.exports = {
3175
+ ChatbotServiceException,
3176
+ __Client,
3177
+ ChatbotClient,
3178
+ Chatbot,
3179
+ $Command,
3180
+ AssociateToConfigurationCommand,
3181
+ CreateChimeWebhookConfigurationCommand,
3182
+ CreateCustomActionCommand,
3183
+ CreateMicrosoftTeamsChannelConfigurationCommand,
3184
+ CreateSlackChannelConfigurationCommand,
3185
+ DeleteChimeWebhookConfigurationCommand,
3186
+ DeleteCustomActionCommand,
3187
+ DeleteMicrosoftTeamsChannelConfigurationCommand,
3188
+ DeleteMicrosoftTeamsConfiguredTeamCommand,
3189
+ DeleteMicrosoftTeamsUserIdentityCommand,
3190
+ DeleteSlackChannelConfigurationCommand,
3191
+ DeleteSlackUserIdentityCommand,
3192
+ DeleteSlackWorkspaceAuthorizationCommand,
3193
+ DescribeChimeWebhookConfigurationsCommand,
3194
+ DescribeSlackChannelConfigurationsCommand,
3195
+ DescribeSlackUserIdentitiesCommand,
3196
+ DescribeSlackWorkspacesCommand,
3197
+ DisassociateFromConfigurationCommand,
3198
+ GetAccountPreferencesCommand,
3199
+ GetCustomActionCommand,
3200
+ GetMicrosoftTeamsChannelConfigurationCommand,
3201
+ ListAssociationsCommand,
3202
+ ListCustomActionsCommand,
3203
+ ListMicrosoftTeamsChannelConfigurationsCommand,
3204
+ ListMicrosoftTeamsConfiguredTeamsCommand,
3205
+ ListMicrosoftTeamsUserIdentitiesCommand,
3206
+ ListTagsForResourceCommand,
3207
+ TagResourceCommand,
3208
+ UntagResourceCommand,
3209
+ UpdateAccountPreferencesCommand,
3210
+ UpdateChimeWebhookConfigurationCommand,
3211
+ UpdateCustomActionCommand,
3212
+ UpdateMicrosoftTeamsChannelConfigurationCommand,
3213
+ UpdateSlackChannelConfigurationCommand,
3214
+ paginateDescribeChimeWebhookConfigurations,
3215
+ paginateDescribeSlackChannelConfigurations,
3216
+ paginateDescribeSlackUserIdentities,
3217
+ paginateDescribeSlackWorkspaces,
3218
+ paginateListAssociations,
3219
+ paginateListCustomActions,
3220
+ paginateListMicrosoftTeamsChannelConfigurations,
3221
+ paginateListMicrosoftTeamsConfiguredTeams,
3222
+ paginateListMicrosoftTeamsUserIdentities,
3223
+ InternalServiceError,
3224
+ InvalidRequestException,
3225
+ UnauthorizedException,
3226
+ ConflictException,
3227
+ CreateChimeWebhookConfigurationException,
3228
+ InvalidParameterException,
3229
+ LimitExceededException,
3230
+ CustomActionAttachmentCriteriaOperator,
3231
+ CreateTeamsChannelConfigurationException,
3232
+ CreateSlackChannelConfigurationException,
3233
+ ResourceNotFoundException,
3234
+ DeleteChimeWebhookConfigurationException,
3235
+ DeleteTeamsChannelConfigurationException,
3236
+ DeleteTeamsConfiguredTeamException,
3237
+ DeleteMicrosoftTeamsUserIdentityException,
3238
+ DeleteSlackChannelConfigurationException,
3239
+ DeleteSlackUserIdentityException,
3240
+ DeleteSlackWorkspaceAuthorizationFault,
3241
+ DescribeChimeWebhookConfigurationsException,
3242
+ DescribeSlackChannelConfigurationsException,
3243
+ DescribeSlackUserIdentitiesException,
3244
+ DescribeSlackWorkspacesException,
3245
+ GetAccountPreferencesException,
3246
+ GetTeamsChannelConfigurationException,
3247
+ ListTeamsChannelConfigurationsException,
3248
+ ListMicrosoftTeamsConfiguredTeamsException,
3249
+ ListMicrosoftTeamsUserIdentitiesException,
3250
+ ServiceUnavailableException,
3251
+ TooManyTagsException,
3252
+ UpdateAccountPreferencesException,
3253
+ UpdateChimeWebhookConfigurationException,
3254
+ UpdateTeamsChannelConfigurationException,
3255
+ UpdateSlackChannelConfigurationException,
3256
+ ChimeWebhookConfigurationFilterSensitiveLog,
3257
+ CreateChimeWebhookConfigurationRequestFilterSensitiveLog,
3258
+ CreateChimeWebhookConfigurationResultFilterSensitiveLog,
3259
+ CreateTeamsChannelConfigurationRequestFilterSensitiveLog,
3260
+ TeamsChannelConfigurationFilterSensitiveLog,
3261
+ CreateTeamsChannelConfigurationResultFilterSensitiveLog,
3262
+ CreateSlackChannelConfigurationRequestFilterSensitiveLog,
3263
+ SlackChannelConfigurationFilterSensitiveLog,
3264
+ CreateSlackChannelConfigurationResultFilterSensitiveLog,
3265
+ DescribeChimeWebhookConfigurationsResultFilterSensitiveLog,
3266
+ DescribeSlackChannelConfigurationsResultFilterSensitiveLog,
3267
+ GetTeamsChannelConfigurationResultFilterSensitiveLog,
3268
+ ListTeamsChannelConfigurationsResultFilterSensitiveLog,
3269
+ UpdateChimeWebhookConfigurationRequestFilterSensitiveLog,
3270
+ UpdateChimeWebhookConfigurationResultFilterSensitiveLog,
3271
+ UpdateTeamsChannelConfigurationRequestFilterSensitiveLog,
3272
+ UpdateTeamsChannelConfigurationResultFilterSensitiveLog,
3273
+ UpdateSlackChannelConfigurationRequestFilterSensitiveLog,
3274
+ UpdateSlackChannelConfigurationResultFilterSensitiveLog
3275
+ });
3276
+