@aws-sdk/client-chime-sdk-meetings 3.490.0 → 3.496.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 (31) hide show
  1. package/dist-cjs/ChimeSDKMeetings.js +1 -43
  2. package/dist-cjs/ChimeSDKMeetingsClient.js +1 -43
  3. package/dist-cjs/commands/BatchCreateAttendeeCommand.js +1 -29
  4. package/dist-cjs/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +1 -28
  5. package/dist-cjs/commands/CreateAttendeeCommand.js +1 -29
  6. package/dist-cjs/commands/CreateMeetingCommand.js +1 -29
  7. package/dist-cjs/commands/CreateMeetingWithAttendeesCommand.js +1 -29
  8. package/dist-cjs/commands/DeleteAttendeeCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteMeetingCommand.js +1 -28
  10. package/dist-cjs/commands/GetAttendeeCommand.js +1 -29
  11. package/dist-cjs/commands/GetMeetingCommand.js +1 -29
  12. package/dist-cjs/commands/ListAttendeesCommand.js +1 -29
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  14. package/dist-cjs/commands/StartMeetingTranscriptionCommand.js +1 -28
  15. package/dist-cjs/commands/StopMeetingTranscriptionCommand.js +1 -28
  16. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  17. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  18. package/dist-cjs/commands/UpdateAttendeeCapabilitiesCommand.js +1 -29
  19. package/dist-cjs/commands/index.js +1 -19
  20. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  21. package/dist-cjs/extensionConfiguration.js +1 -2
  22. package/dist-cjs/index.js +2332 -11
  23. package/dist-cjs/models/ChimeSDKMeetingsServiceException.js +1 -12
  24. package/dist-cjs/models/index.js +1 -4
  25. package/dist-cjs/models/models_0.js +1 -397
  26. package/dist-cjs/pagination/Interfaces.js +1 -2
  27. package/dist-cjs/pagination/ListAttendeesPaginator.js +1 -7
  28. package/dist-cjs/pagination/index.js +1 -5
  29. package/dist-cjs/protocols/Aws_restJson1.js +1 -1359
  30. package/dist-cjs/runtimeExtensions.js +1 -22
  31. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,2333 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChimeSDKMeetingsServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./ChimeSDKMeetingsClient"), exports);
6
- tslib_1.__exportStar(require("./ChimeSDKMeetings"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var ChimeSDKMeetingsServiceException_1 = require("./models/ChimeSDKMeetingsServiceException");
12
- Object.defineProperty(exports, "ChimeSDKMeetingsServiceException", { enumerable: true, get: function () { return ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException; } });
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 src_exports = {};
23
+ __export(src_exports, {
24
+ AttendeeFilterSensitiveLog: () => AttendeeFilterSensitiveLog,
25
+ BadRequestException: () => BadRequestException,
26
+ BatchCreateAttendeeCommand: () => BatchCreateAttendeeCommand,
27
+ BatchCreateAttendeeRequestFilterSensitiveLog: () => BatchCreateAttendeeRequestFilterSensitiveLog,
28
+ BatchCreateAttendeeResponseFilterSensitiveLog: () => BatchCreateAttendeeResponseFilterSensitiveLog,
29
+ BatchUpdateAttendeeCapabilitiesExceptCommand: () => BatchUpdateAttendeeCapabilitiesExceptCommand,
30
+ ChimeSDKMeetings: () => ChimeSDKMeetings,
31
+ ChimeSDKMeetingsClient: () => ChimeSDKMeetingsClient,
32
+ ChimeSDKMeetingsServiceException: () => ChimeSDKMeetingsServiceException,
33
+ ConflictException: () => ConflictException,
34
+ ContentResolution: () => ContentResolution,
35
+ CreateAttendeeCommand: () => CreateAttendeeCommand,
36
+ CreateAttendeeErrorFilterSensitiveLog: () => CreateAttendeeErrorFilterSensitiveLog,
37
+ CreateAttendeeRequestFilterSensitiveLog: () => CreateAttendeeRequestFilterSensitiveLog,
38
+ CreateAttendeeRequestItemFilterSensitiveLog: () => CreateAttendeeRequestItemFilterSensitiveLog,
39
+ CreateAttendeeResponseFilterSensitiveLog: () => CreateAttendeeResponseFilterSensitiveLog,
40
+ CreateMeetingCommand: () => CreateMeetingCommand,
41
+ CreateMeetingRequestFilterSensitiveLog: () => CreateMeetingRequestFilterSensitiveLog,
42
+ CreateMeetingResponseFilterSensitiveLog: () => CreateMeetingResponseFilterSensitiveLog,
43
+ CreateMeetingWithAttendeesCommand: () => CreateMeetingWithAttendeesCommand,
44
+ CreateMeetingWithAttendeesRequestFilterSensitiveLog: () => CreateMeetingWithAttendeesRequestFilterSensitiveLog,
45
+ CreateMeetingWithAttendeesResponseFilterSensitiveLog: () => CreateMeetingWithAttendeesResponseFilterSensitiveLog,
46
+ DeleteAttendeeCommand: () => DeleteAttendeeCommand,
47
+ DeleteMeetingCommand: () => DeleteMeetingCommand,
48
+ ForbiddenException: () => ForbiddenException,
49
+ GetAttendeeCommand: () => GetAttendeeCommand,
50
+ GetAttendeeResponseFilterSensitiveLog: () => GetAttendeeResponseFilterSensitiveLog,
51
+ GetMeetingCommand: () => GetMeetingCommand,
52
+ GetMeetingResponseFilterSensitiveLog: () => GetMeetingResponseFilterSensitiveLog,
53
+ LimitExceededException: () => LimitExceededException,
54
+ ListAttendeesCommand: () => ListAttendeesCommand,
55
+ ListAttendeesResponseFilterSensitiveLog: () => ListAttendeesResponseFilterSensitiveLog,
56
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
57
+ MediaCapabilities: () => MediaCapabilities,
58
+ MeetingFeatureStatus: () => MeetingFeatureStatus,
59
+ MeetingFilterSensitiveLog: () => MeetingFilterSensitiveLog,
60
+ NotFoundException: () => NotFoundException,
61
+ NotificationsConfigurationFilterSensitiveLog: () => NotificationsConfigurationFilterSensitiveLog,
62
+ ResourceNotFoundException: () => ResourceNotFoundException,
63
+ ServiceFailureException: () => ServiceFailureException,
64
+ ServiceUnavailableException: () => ServiceUnavailableException,
65
+ StartMeetingTranscriptionCommand: () => StartMeetingTranscriptionCommand,
66
+ StopMeetingTranscriptionCommand: () => StopMeetingTranscriptionCommand,
67
+ TagResourceCommand: () => TagResourceCommand,
68
+ ThrottlingException: () => ThrottlingException,
69
+ TooManyTagsException: () => TooManyTagsException,
70
+ TranscribeContentIdentificationType: () => TranscribeContentIdentificationType,
71
+ TranscribeContentRedactionType: () => TranscribeContentRedactionType,
72
+ TranscribeLanguageCode: () => TranscribeLanguageCode,
73
+ TranscribeMedicalContentIdentificationType: () => TranscribeMedicalContentIdentificationType,
74
+ TranscribeMedicalLanguageCode: () => TranscribeMedicalLanguageCode,
75
+ TranscribeMedicalRegion: () => TranscribeMedicalRegion,
76
+ TranscribeMedicalSpecialty: () => TranscribeMedicalSpecialty,
77
+ TranscribeMedicalType: () => TranscribeMedicalType,
78
+ TranscribePartialResultsStability: () => TranscribePartialResultsStability,
79
+ TranscribeRegion: () => TranscribeRegion,
80
+ TranscribeVocabularyFilterMethod: () => TranscribeVocabularyFilterMethod,
81
+ UnauthorizedException: () => UnauthorizedException,
82
+ UnprocessableEntityException: () => UnprocessableEntityException,
83
+ UntagResourceCommand: () => UntagResourceCommand,
84
+ UpdateAttendeeCapabilitiesCommand: () => UpdateAttendeeCapabilitiesCommand,
85
+ UpdateAttendeeCapabilitiesResponseFilterSensitiveLog: () => UpdateAttendeeCapabilitiesResponseFilterSensitiveLog,
86
+ VideoResolution: () => VideoResolution,
87
+ __Client: () => import_smithy_client.Client,
88
+ paginateListAttendees: () => paginateListAttendees
89
+ });
90
+ module.exports = __toCommonJS(src_exports);
91
+
92
+ // src/ChimeSDKMeetingsClient.ts
93
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
94
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
95
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
96
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
97
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
98
+ var import_config_resolver = require("@smithy/config-resolver");
99
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
100
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
101
+ var import_middleware_retry = require("@smithy/middleware-retry");
102
+
103
+
104
+ // src/endpoint/EndpointParameters.ts
105
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
106
+ return {
107
+ ...options,
108
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
109
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
110
+ defaultSigningName: "chime"
111
+ };
112
+ }, "resolveClientEndpointParameters");
113
+ var commonParams = {
114
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
115
+ Endpoint: { type: "builtInParams", name: "endpoint" },
116
+ Region: { type: "builtInParams", name: "region" },
117
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
118
+ };
119
+
120
+ // src/ChimeSDKMeetingsClient.ts
121
+ var import_runtimeConfig = require("././runtimeConfig");
122
+
123
+ // src/runtimeExtensions.ts
124
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
125
+ var import_protocol_http = require("@smithy/protocol-http");
126
+ var import_smithy_client = require("@smithy/smithy-client");
127
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
128
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
129
+ const extensionConfiguration = {
130
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
131
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
132
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
133
+ };
134
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
135
+ return {
136
+ ...runtimeConfig,
137
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
138
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
139
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
140
+ };
141
+ }, "resolveRuntimeExtensions");
142
+
143
+ // src/ChimeSDKMeetingsClient.ts
144
+ var _ChimeSDKMeetingsClient = class _ChimeSDKMeetingsClient extends import_smithy_client.Client {
145
+ constructor(...[configuration]) {
146
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
147
+ const _config_1 = resolveClientEndpointParameters(_config_0);
148
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
149
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
150
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
151
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
152
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
153
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
154
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
155
+ super(_config_8);
156
+ this.config = _config_8;
157
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
158
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
159
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
160
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
161
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
162
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
163
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
164
+ }
165
+ /**
166
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
167
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
168
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
169
+ */
170
+ destroy() {
171
+ super.destroy();
172
+ }
173
+ };
174
+ __name(_ChimeSDKMeetingsClient, "ChimeSDKMeetingsClient");
175
+ var ChimeSDKMeetingsClient = _ChimeSDKMeetingsClient;
176
+
177
+ // src/ChimeSDKMeetings.ts
178
+
179
+
180
+ // src/commands/BatchCreateAttendeeCommand.ts
181
+
182
+ var import_middleware_serde = require("@smithy/middleware-serde");
183
+
184
+ var import_types = require("@smithy/types");
185
+
186
+ // src/models/models_0.ts
187
+
188
+
189
+ // src/models/ChimeSDKMeetingsServiceException.ts
190
+
191
+ var _ChimeSDKMeetingsServiceException = class _ChimeSDKMeetingsServiceException extends import_smithy_client.ServiceException {
192
+ /**
193
+ * @internal
194
+ */
195
+ constructor(options) {
196
+ super(options);
197
+ Object.setPrototypeOf(this, _ChimeSDKMeetingsServiceException.prototype);
198
+ }
199
+ };
200
+ __name(_ChimeSDKMeetingsServiceException, "ChimeSDKMeetingsServiceException");
201
+ var ChimeSDKMeetingsServiceException = _ChimeSDKMeetingsServiceException;
202
+
203
+ // src/models/models_0.ts
204
+ var MediaCapabilities = {
205
+ NONE: "None",
206
+ RECEIVE: "Receive",
207
+ SEND: "Send",
208
+ SEND_RECEIVE: "SendReceive"
209
+ };
210
+ var MeetingFeatureStatus = {
211
+ AVAILABLE: "AVAILABLE",
212
+ UNAVAILABLE: "UNAVAILABLE"
213
+ };
214
+ var _BadRequestException = class _BadRequestException extends ChimeSDKMeetingsServiceException {
215
+ /**
216
+ * @internal
217
+ */
218
+ constructor(opts) {
219
+ super({
220
+ name: "BadRequestException",
221
+ $fault: "client",
222
+ ...opts
223
+ });
224
+ this.name = "BadRequestException";
225
+ this.$fault = "client";
226
+ Object.setPrototypeOf(this, _BadRequestException.prototype);
227
+ this.Code = opts.Code;
228
+ this.Message = opts.Message;
229
+ this.RequestId = opts.RequestId;
230
+ }
231
+ };
232
+ __name(_BadRequestException, "BadRequestException");
233
+ var BadRequestException = _BadRequestException;
234
+ var _ForbiddenException = class _ForbiddenException extends ChimeSDKMeetingsServiceException {
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts) {
239
+ super({
240
+ name: "ForbiddenException",
241
+ $fault: "client",
242
+ ...opts
243
+ });
244
+ this.name = "ForbiddenException";
245
+ this.$fault = "client";
246
+ Object.setPrototypeOf(this, _ForbiddenException.prototype);
247
+ this.Code = opts.Code;
248
+ this.Message = opts.Message;
249
+ this.RequestId = opts.RequestId;
250
+ }
251
+ };
252
+ __name(_ForbiddenException, "ForbiddenException");
253
+ var ForbiddenException = _ForbiddenException;
254
+ var _LimitExceededException = class _LimitExceededException extends ChimeSDKMeetingsServiceException {
255
+ /**
256
+ * @internal
257
+ */
258
+ constructor(opts) {
259
+ super({
260
+ name: "LimitExceededException",
261
+ $fault: "client",
262
+ ...opts
263
+ });
264
+ this.name = "LimitExceededException";
265
+ this.$fault = "client";
266
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
267
+ this.Code = opts.Code;
268
+ this.Message = opts.Message;
269
+ this.RequestId = opts.RequestId;
270
+ }
271
+ };
272
+ __name(_LimitExceededException, "LimitExceededException");
273
+ var LimitExceededException = _LimitExceededException;
274
+ var _NotFoundException = class _NotFoundException extends ChimeSDKMeetingsServiceException {
275
+ /**
276
+ * @internal
277
+ */
278
+ constructor(opts) {
279
+ super({
280
+ name: "NotFoundException",
281
+ $fault: "client",
282
+ ...opts
283
+ });
284
+ this.name = "NotFoundException";
285
+ this.$fault = "client";
286
+ Object.setPrototypeOf(this, _NotFoundException.prototype);
287
+ this.Code = opts.Code;
288
+ this.Message = opts.Message;
289
+ this.RequestId = opts.RequestId;
290
+ }
291
+ };
292
+ __name(_NotFoundException, "NotFoundException");
293
+ var NotFoundException = _NotFoundException;
294
+ var _ServiceFailureException = class _ServiceFailureException extends ChimeSDKMeetingsServiceException {
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts) {
299
+ super({
300
+ name: "ServiceFailureException",
301
+ $fault: "server",
302
+ ...opts
303
+ });
304
+ this.name = "ServiceFailureException";
305
+ this.$fault = "server";
306
+ Object.setPrototypeOf(this, _ServiceFailureException.prototype);
307
+ this.Code = opts.Code;
308
+ this.Message = opts.Message;
309
+ this.RequestId = opts.RequestId;
310
+ }
311
+ };
312
+ __name(_ServiceFailureException, "ServiceFailureException");
313
+ var ServiceFailureException = _ServiceFailureException;
314
+ var _ServiceUnavailableException = class _ServiceUnavailableException extends ChimeSDKMeetingsServiceException {
315
+ /**
316
+ * @internal
317
+ */
318
+ constructor(opts) {
319
+ super({
320
+ name: "ServiceUnavailableException",
321
+ $fault: "server",
322
+ ...opts
323
+ });
324
+ this.name = "ServiceUnavailableException";
325
+ this.$fault = "server";
326
+ Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
327
+ this.Code = opts.Code;
328
+ this.Message = opts.Message;
329
+ this.RequestId = opts.RequestId;
330
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
331
+ }
332
+ };
333
+ __name(_ServiceUnavailableException, "ServiceUnavailableException");
334
+ var ServiceUnavailableException = _ServiceUnavailableException;
335
+ var _ThrottlingException = class _ThrottlingException extends ChimeSDKMeetingsServiceException {
336
+ /**
337
+ * @internal
338
+ */
339
+ constructor(opts) {
340
+ super({
341
+ name: "ThrottlingException",
342
+ $fault: "client",
343
+ ...opts
344
+ });
345
+ this.name = "ThrottlingException";
346
+ this.$fault = "client";
347
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
348
+ this.Code = opts.Code;
349
+ this.Message = opts.Message;
350
+ this.RequestId = opts.RequestId;
351
+ }
352
+ };
353
+ __name(_ThrottlingException, "ThrottlingException");
354
+ var ThrottlingException = _ThrottlingException;
355
+ var _UnauthorizedException = class _UnauthorizedException extends ChimeSDKMeetingsServiceException {
356
+ /**
357
+ * @internal
358
+ */
359
+ constructor(opts) {
360
+ super({
361
+ name: "UnauthorizedException",
362
+ $fault: "client",
363
+ ...opts
364
+ });
365
+ this.name = "UnauthorizedException";
366
+ this.$fault = "client";
367
+ Object.setPrototypeOf(this, _UnauthorizedException.prototype);
368
+ this.Code = opts.Code;
369
+ this.Message = opts.Message;
370
+ this.RequestId = opts.RequestId;
371
+ }
372
+ };
373
+ __name(_UnauthorizedException, "UnauthorizedException");
374
+ var UnauthorizedException = _UnauthorizedException;
375
+ var _UnprocessableEntityException = class _UnprocessableEntityException extends ChimeSDKMeetingsServiceException {
376
+ /**
377
+ * @internal
378
+ */
379
+ constructor(opts) {
380
+ super({
381
+ name: "UnprocessableEntityException",
382
+ $fault: "client",
383
+ ...opts
384
+ });
385
+ this.name = "UnprocessableEntityException";
386
+ this.$fault = "client";
387
+ Object.setPrototypeOf(this, _UnprocessableEntityException.prototype);
388
+ this.Code = opts.Code;
389
+ this.Message = opts.Message;
390
+ this.RequestId = opts.RequestId;
391
+ }
392
+ };
393
+ __name(_UnprocessableEntityException, "UnprocessableEntityException");
394
+ var UnprocessableEntityException = _UnprocessableEntityException;
395
+ var _ConflictException = class _ConflictException extends ChimeSDKMeetingsServiceException {
396
+ /**
397
+ * @internal
398
+ */
399
+ constructor(opts) {
400
+ super({
401
+ name: "ConflictException",
402
+ $fault: "client",
403
+ ...opts
404
+ });
405
+ this.name = "ConflictException";
406
+ this.$fault = "client";
407
+ Object.setPrototypeOf(this, _ConflictException.prototype);
408
+ this.Code = opts.Code;
409
+ this.Message = opts.Message;
410
+ this.RequestId = opts.RequestId;
411
+ }
412
+ };
413
+ __name(_ConflictException, "ConflictException");
414
+ var ConflictException = _ConflictException;
415
+ var ContentResolution = {
416
+ FHD: "FHD",
417
+ NONE: "None",
418
+ UHD: "UHD"
419
+ };
420
+ var VideoResolution = {
421
+ FHD: "FHD",
422
+ HD: "HD",
423
+ NONE: "None"
424
+ };
425
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends ChimeSDKMeetingsServiceException {
426
+ /**
427
+ * @internal
428
+ */
429
+ constructor(opts) {
430
+ super({
431
+ name: "ResourceNotFoundException",
432
+ $fault: "client",
433
+ ...opts
434
+ });
435
+ this.name = "ResourceNotFoundException";
436
+ this.$fault = "client";
437
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
438
+ this.Code = opts.Code;
439
+ this.Message = opts.Message;
440
+ this.RequestId = opts.RequestId;
441
+ this.ResourceName = opts.ResourceName;
442
+ }
443
+ };
444
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
445
+ var ResourceNotFoundException = _ResourceNotFoundException;
446
+ var TranscribeMedicalContentIdentificationType = {
447
+ PHI: "PHI"
448
+ };
449
+ var TranscribeMedicalLanguageCode = {
450
+ EN_US: "en-US"
451
+ };
452
+ var TranscribeMedicalRegion = {
453
+ AP_SOUTHEAST_2: "ap-southeast-2",
454
+ AUTO: "auto",
455
+ CA_CENTRAL_1: "ca-central-1",
456
+ EU_WEST_1: "eu-west-1",
457
+ US_EAST_1: "us-east-1",
458
+ US_EAST_2: "us-east-2",
459
+ US_WEST_2: "us-west-2"
460
+ };
461
+ var TranscribeMedicalSpecialty = {
462
+ CARDIOLOGY: "CARDIOLOGY",
463
+ NEUROLOGY: "NEUROLOGY",
464
+ ONCOLOGY: "ONCOLOGY",
465
+ PRIMARYCARE: "PRIMARYCARE",
466
+ RADIOLOGY: "RADIOLOGY",
467
+ UROLOGY: "UROLOGY"
468
+ };
469
+ var TranscribeMedicalType = {
470
+ CONVERSATION: "CONVERSATION",
471
+ DICTATION: "DICTATION"
472
+ };
473
+ var TranscribeContentIdentificationType = {
474
+ PII: "PII"
475
+ };
476
+ var TranscribeContentRedactionType = {
477
+ PII: "PII"
478
+ };
479
+ var TranscribeLanguageCode = {
480
+ DE_DE: "de-DE",
481
+ EN_AU: "en-AU",
482
+ EN_GB: "en-GB",
483
+ EN_US: "en-US",
484
+ ES_US: "es-US",
485
+ FR_CA: "fr-CA",
486
+ FR_FR: "fr-FR",
487
+ HI_IN: "hi-IN",
488
+ IT_IT: "it-IT",
489
+ JA_JP: "ja-JP",
490
+ KO_KR: "ko-KR",
491
+ PT_BR: "pt-BR",
492
+ TH_TH: "th-TH",
493
+ ZH_CN: "zh-CN"
494
+ };
495
+ var TranscribePartialResultsStability = {
496
+ HIGH: "high",
497
+ LOW: "low",
498
+ MEDIUM: "medium"
499
+ };
500
+ var TranscribeRegion = {
501
+ AP_NORTHEAST_1: "ap-northeast-1",
502
+ AP_NORTHEAST_2: "ap-northeast-2",
503
+ AP_SOUTHEAST_2: "ap-southeast-2",
504
+ AUTO: "auto",
505
+ CA_CENTRAL_1: "ca-central-1",
506
+ EU_CENTRAL_1: "eu-central-1",
507
+ EU_WEST_1: "eu-west-1",
508
+ EU_WEST_2: "eu-west-2",
509
+ SA_EAST_1: "sa-east-1",
510
+ US_EAST_1: "us-east-1",
511
+ US_EAST_2: "us-east-2",
512
+ US_GOV_WEST_1: "us-gov-west-1",
513
+ US_WEST_2: "us-west-2"
514
+ };
515
+ var TranscribeVocabularyFilterMethod = {
516
+ MASK: "mask",
517
+ REMOVE: "remove",
518
+ TAG: "tag"
519
+ };
520
+ var _TooManyTagsException = class _TooManyTagsException extends ChimeSDKMeetingsServiceException {
521
+ /**
522
+ * @internal
523
+ */
524
+ constructor(opts) {
525
+ super({
526
+ name: "TooManyTagsException",
527
+ $fault: "client",
528
+ ...opts
529
+ });
530
+ this.name = "TooManyTagsException";
531
+ this.$fault = "client";
532
+ Object.setPrototypeOf(this, _TooManyTagsException.prototype);
533
+ this.Code = opts.Code;
534
+ this.Message = opts.Message;
535
+ this.RequestId = opts.RequestId;
536
+ this.ResourceName = opts.ResourceName;
537
+ }
538
+ };
539
+ __name(_TooManyTagsException, "TooManyTagsException");
540
+ var TooManyTagsException = _TooManyTagsException;
541
+ var AttendeeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
542
+ ...obj,
543
+ ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING },
544
+ ...obj.JoinToken && { JoinToken: import_smithy_client.SENSITIVE_STRING }
545
+ }), "AttendeeFilterSensitiveLog");
546
+ var CreateAttendeeRequestItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
547
+ ...obj,
548
+ ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
549
+ }), "CreateAttendeeRequestItemFilterSensitiveLog");
550
+ var BatchCreateAttendeeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
551
+ ...obj,
552
+ ...obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }
553
+ }), "BatchCreateAttendeeRequestFilterSensitiveLog");
554
+ var CreateAttendeeErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
555
+ ...obj,
556
+ ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
557
+ }), "CreateAttendeeErrorFilterSensitiveLog");
558
+ var BatchCreateAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
559
+ ...obj,
560
+ ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) },
561
+ ...obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }
562
+ }), "BatchCreateAttendeeResponseFilterSensitiveLog");
563
+ var CreateAttendeeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
564
+ ...obj,
565
+ ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
566
+ }), "CreateAttendeeRequestFilterSensitiveLog");
567
+ var CreateAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
568
+ ...obj,
569
+ ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
570
+ }), "CreateAttendeeResponseFilterSensitiveLog");
571
+ var NotificationsConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
572
+ ...obj,
573
+ ...obj.LambdaFunctionArn && { LambdaFunctionArn: import_smithy_client.SENSITIVE_STRING },
574
+ ...obj.SnsTopicArn && { SnsTopicArn: import_smithy_client.SENSITIVE_STRING },
575
+ ...obj.SqsQueueArn && { SqsQueueArn: import_smithy_client.SENSITIVE_STRING }
576
+ }), "NotificationsConfigurationFilterSensitiveLog");
577
+ var CreateMeetingRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
578
+ ...obj,
579
+ ...obj.ClientRequestToken && { ClientRequestToken: import_smithy_client.SENSITIVE_STRING },
580
+ ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
581
+ ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING },
582
+ ...obj.NotificationsConfiguration && {
583
+ NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration)
584
+ }
585
+ }), "CreateMeetingRequestFilterSensitiveLog");
586
+ var MeetingFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
587
+ ...obj,
588
+ ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
589
+ ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING }
590
+ }), "MeetingFilterSensitiveLog");
591
+ var CreateMeetingResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
592
+ ...obj,
593
+ ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }
594
+ }), "CreateMeetingResponseFilterSensitiveLog");
595
+ var CreateMeetingWithAttendeesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
596
+ ...obj,
597
+ ...obj.ClientRequestToken && { ClientRequestToken: import_smithy_client.SENSITIVE_STRING },
598
+ ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
599
+ ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING },
600
+ ...obj.NotificationsConfiguration && {
601
+ NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration)
602
+ },
603
+ ...obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }
604
+ }), "CreateMeetingWithAttendeesRequestFilterSensitiveLog");
605
+ var CreateMeetingWithAttendeesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
606
+ ...obj,
607
+ ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) },
608
+ ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) },
609
+ ...obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }
610
+ }), "CreateMeetingWithAttendeesResponseFilterSensitiveLog");
611
+ var GetAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
612
+ ...obj,
613
+ ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
614
+ }), "GetAttendeeResponseFilterSensitiveLog");
615
+ var GetMeetingResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
616
+ ...obj,
617
+ ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }
618
+ }), "GetMeetingResponseFilterSensitiveLog");
619
+ var ListAttendeesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
620
+ ...obj,
621
+ ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }
622
+ }), "ListAttendeesResponseFilterSensitiveLog");
623
+ var UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
624
+ ...obj,
625
+ ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
626
+ }), "UpdateAttendeeCapabilitiesResponseFilterSensitiveLog");
627
+
628
+ // src/protocols/Aws_restJson1.ts
629
+ var import_core = require("@smithy/core");
630
+
631
+ var import_uuid = require("uuid");
632
+ var se_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
633
+ const b = (0, import_core.requestBuilder)(input, context);
634
+ const headers = {
635
+ "content-type": "application/json"
636
+ };
637
+ b.bp("/meetings/{MeetingId}/attendees");
638
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
639
+ const query = (0, import_smithy_client.map)({
640
+ [_o]: [, "batch-create"]
641
+ });
642
+ let body;
643
+ body = JSON.stringify(
644
+ (0, import_smithy_client.take)(input, {
645
+ Attendees: (_) => (0, import_smithy_client._json)(_)
646
+ })
647
+ );
648
+ b.m("POST").h(headers).q(query).b(body);
649
+ return b.build();
650
+ }, "se_BatchCreateAttendeeCommand");
651
+ var se_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(async (input, context) => {
652
+ const b = (0, import_core.requestBuilder)(input, context);
653
+ const headers = {
654
+ "content-type": "application/json"
655
+ };
656
+ b.bp("/meetings/{MeetingId}/attendees/capabilities");
657
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
658
+ const query = (0, import_smithy_client.map)({
659
+ [_o]: [, "batch-update-except"]
660
+ });
661
+ let body;
662
+ body = JSON.stringify(
663
+ (0, import_smithy_client.take)(input, {
664
+ Capabilities: (_) => (0, import_smithy_client._json)(_),
665
+ ExcludedAttendeeIds: (_) => (0, import_smithy_client._json)(_)
666
+ })
667
+ );
668
+ b.m("PUT").h(headers).q(query).b(body);
669
+ return b.build();
670
+ }, "se_BatchUpdateAttendeeCapabilitiesExceptCommand");
671
+ var se_CreateAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
672
+ const b = (0, import_core.requestBuilder)(input, context);
673
+ const headers = {
674
+ "content-type": "application/json"
675
+ };
676
+ b.bp("/meetings/{MeetingId}/attendees");
677
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
678
+ let body;
679
+ body = JSON.stringify(
680
+ (0, import_smithy_client.take)(input, {
681
+ Capabilities: (_) => (0, import_smithy_client._json)(_),
682
+ ExternalUserId: []
683
+ })
684
+ );
685
+ b.m("POST").h(headers).b(body);
686
+ return b.build();
687
+ }, "se_CreateAttendeeCommand");
688
+ var se_CreateMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
689
+ const b = (0, import_core.requestBuilder)(input, context);
690
+ const headers = {
691
+ "content-type": "application/json"
692
+ };
693
+ b.bp("/meetings");
694
+ let body;
695
+ body = JSON.stringify(
696
+ (0, import_smithy_client.take)(input, {
697
+ ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
698
+ ExternalMeetingId: [],
699
+ MediaRegion: [],
700
+ MeetingFeatures: (_) => (0, import_smithy_client._json)(_),
701
+ MeetingHostId: [],
702
+ NotificationsConfiguration: (_) => (0, import_smithy_client._json)(_),
703
+ PrimaryMeetingId: [],
704
+ Tags: (_) => (0, import_smithy_client._json)(_),
705
+ TenantIds: (_) => (0, import_smithy_client._json)(_)
706
+ })
707
+ );
708
+ b.m("POST").h(headers).b(body);
709
+ return b.build();
710
+ }, "se_CreateMeetingCommand");
711
+ var se_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (input, context) => {
712
+ const b = (0, import_core.requestBuilder)(input, context);
713
+ const headers = {
714
+ "content-type": "application/json"
715
+ };
716
+ b.bp("/meetings");
717
+ const query = (0, import_smithy_client.map)({
718
+ [_o]: [, "create-attendees"]
719
+ });
720
+ let body;
721
+ body = JSON.stringify(
722
+ (0, import_smithy_client.take)(input, {
723
+ Attendees: (_) => (0, import_smithy_client._json)(_),
724
+ ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
725
+ ExternalMeetingId: [],
726
+ MediaRegion: [],
727
+ MeetingFeatures: (_) => (0, import_smithy_client._json)(_),
728
+ MeetingHostId: [],
729
+ NotificationsConfiguration: (_) => (0, import_smithy_client._json)(_),
730
+ PrimaryMeetingId: [],
731
+ Tags: (_) => (0, import_smithy_client._json)(_),
732
+ TenantIds: (_) => (0, import_smithy_client._json)(_)
733
+ })
734
+ );
735
+ b.m("POST").h(headers).q(query).b(body);
736
+ return b.build();
737
+ }, "se_CreateMeetingWithAttendeesCommand");
738
+ var se_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
739
+ const b = (0, import_core.requestBuilder)(input, context);
740
+ const headers = {};
741
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
742
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
743
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
744
+ let body;
745
+ b.m("DELETE").h(headers).b(body);
746
+ return b.build();
747
+ }, "se_DeleteAttendeeCommand");
748
+ var se_DeleteMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
749
+ const b = (0, import_core.requestBuilder)(input, context);
750
+ const headers = {};
751
+ b.bp("/meetings/{MeetingId}");
752
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
753
+ let body;
754
+ b.m("DELETE").h(headers).b(body);
755
+ return b.build();
756
+ }, "se_DeleteMeetingCommand");
757
+ var se_GetAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
758
+ const b = (0, import_core.requestBuilder)(input, context);
759
+ const headers = {};
760
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
761
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
762
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
763
+ let body;
764
+ b.m("GET").h(headers).b(body);
765
+ return b.build();
766
+ }, "se_GetAttendeeCommand");
767
+ var se_GetMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
768
+ const b = (0, import_core.requestBuilder)(input, context);
769
+ const headers = {};
770
+ b.bp("/meetings/{MeetingId}");
771
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
772
+ let body;
773
+ b.m("GET").h(headers).b(body);
774
+ return b.build();
775
+ }, "se_GetMeetingCommand");
776
+ var se_ListAttendeesCommand = /* @__PURE__ */ __name(async (input, context) => {
777
+ const b = (0, import_core.requestBuilder)(input, context);
778
+ const headers = {};
779
+ b.bp("/meetings/{MeetingId}/attendees");
780
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
781
+ const query = (0, import_smithy_client.map)({
782
+ [_nt]: [, input[_NT]],
783
+ [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
784
+ });
785
+ let body;
786
+ b.m("GET").h(headers).q(query).b(body);
787
+ return b.build();
788
+ }, "se_ListAttendeesCommand");
789
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
790
+ const b = (0, import_core.requestBuilder)(input, context);
791
+ const headers = {};
792
+ b.bp("/tags");
793
+ const query = (0, import_smithy_client.map)({
794
+ [_a]: [, (0, import_smithy_client.expectNonNull)(input[_RARN], `ResourceARN`)]
795
+ });
796
+ let body;
797
+ b.m("GET").h(headers).q(query).b(body);
798
+ return b.build();
799
+ }, "se_ListTagsForResourceCommand");
800
+ var se_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
801
+ const b = (0, import_core.requestBuilder)(input, context);
802
+ const headers = {
803
+ "content-type": "application/json"
804
+ };
805
+ b.bp("/meetings/{MeetingId}/transcription");
806
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
807
+ const query = (0, import_smithy_client.map)({
808
+ [_o]: [, "start"]
809
+ });
810
+ let body;
811
+ body = JSON.stringify(
812
+ (0, import_smithy_client.take)(input, {
813
+ TranscriptionConfiguration: (_) => (0, import_smithy_client._json)(_)
814
+ })
815
+ );
816
+ b.m("POST").h(headers).q(query).b(body);
817
+ return b.build();
818
+ }, "se_StartMeetingTranscriptionCommand");
819
+ var se_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
820
+ const b = (0, import_core.requestBuilder)(input, context);
821
+ const headers = {};
822
+ b.bp("/meetings/{MeetingId}/transcription");
823
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
824
+ const query = (0, import_smithy_client.map)({
825
+ [_o]: [, "stop"]
826
+ });
827
+ let body;
828
+ b.m("POST").h(headers).q(query).b(body);
829
+ return b.build();
830
+ }, "se_StopMeetingTranscriptionCommand");
831
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
832
+ const b = (0, import_core.requestBuilder)(input, context);
833
+ const headers = {
834
+ "content-type": "application/json"
835
+ };
836
+ b.bp("/tags");
837
+ const query = (0, import_smithy_client.map)({
838
+ [_o]: [, "tag-resource"]
839
+ });
840
+ let body;
841
+ body = JSON.stringify(
842
+ (0, import_smithy_client.take)(input, {
843
+ ResourceARN: [],
844
+ Tags: (_) => (0, import_smithy_client._json)(_)
845
+ })
846
+ );
847
+ b.m("POST").h(headers).q(query).b(body);
848
+ return b.build();
849
+ }, "se_TagResourceCommand");
850
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
851
+ const b = (0, import_core.requestBuilder)(input, context);
852
+ const headers = {
853
+ "content-type": "application/json"
854
+ };
855
+ b.bp("/tags");
856
+ const query = (0, import_smithy_client.map)({
857
+ [_o]: [, "untag-resource"]
858
+ });
859
+ let body;
860
+ body = JSON.stringify(
861
+ (0, import_smithy_client.take)(input, {
862
+ ResourceARN: [],
863
+ TagKeys: (_) => (0, import_smithy_client._json)(_)
864
+ })
865
+ );
866
+ b.m("POST").h(headers).q(query).b(body);
867
+ return b.build();
868
+ }, "se_UntagResourceCommand");
869
+ var se_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
870
+ const b = (0, import_core.requestBuilder)(input, context);
871
+ const headers = {
872
+ "content-type": "application/json"
873
+ };
874
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities");
875
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
876
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
877
+ let body;
878
+ body = JSON.stringify(
879
+ (0, import_smithy_client.take)(input, {
880
+ Capabilities: (_) => (0, import_smithy_client._json)(_)
881
+ })
882
+ );
883
+ b.m("PUT").h(headers).b(body);
884
+ return b.build();
885
+ }, "se_UpdateAttendeeCapabilitiesCommand");
886
+ var de_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
887
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
888
+ return de_BatchCreateAttendeeCommandError(output, context);
889
+ }
890
+ const contents = (0, import_smithy_client.map)({
891
+ $metadata: deserializeMetadata(output)
892
+ });
893
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
894
+ const doc = (0, import_smithy_client.take)(data, {
895
+ Attendees: import_smithy_client._json,
896
+ Errors: import_smithy_client._json
897
+ });
898
+ Object.assign(contents, doc);
899
+ return contents;
900
+ }, "de_BatchCreateAttendeeCommand");
901
+ var de_BatchCreateAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
902
+ const parsedOutput = {
903
+ ...output,
904
+ body: await parseErrorBody(output.body, context)
905
+ };
906
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
907
+ switch (errorCode) {
908
+ case "BadRequestException":
909
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
910
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
911
+ case "ForbiddenException":
912
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
913
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
914
+ case "LimitExceededException":
915
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
916
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
917
+ case "NotFoundException":
918
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
919
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
920
+ case "ServiceFailureException":
921
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
922
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
923
+ case "ServiceUnavailableException":
924
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
925
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
926
+ case "ThrottlingException":
927
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
928
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
929
+ case "UnauthorizedException":
930
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
931
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
932
+ case "UnprocessableEntityException":
933
+ case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
934
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
935
+ default:
936
+ const parsedBody = parsedOutput.body;
937
+ return throwDefaultError({
938
+ output,
939
+ parsedBody,
940
+ errorCode
941
+ });
942
+ }
943
+ }, "de_BatchCreateAttendeeCommandError");
944
+ var de_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(async (output, context) => {
945
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
946
+ return de_BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context);
947
+ }
948
+ const contents = (0, import_smithy_client.map)({
949
+ $metadata: deserializeMetadata(output)
950
+ });
951
+ await (0, import_smithy_client.collectBody)(output.body, context);
952
+ return contents;
953
+ }, "de_BatchUpdateAttendeeCapabilitiesExceptCommand");
954
+ var de_BatchUpdateAttendeeCapabilitiesExceptCommandError = /* @__PURE__ */ __name(async (output, context) => {
955
+ const parsedOutput = {
956
+ ...output,
957
+ body: await parseErrorBody(output.body, context)
958
+ };
959
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
960
+ switch (errorCode) {
961
+ case "BadRequestException":
962
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
963
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
964
+ case "ConflictException":
965
+ case "com.amazonaws.chimesdkmeetings#ConflictException":
966
+ throw await de_ConflictExceptionRes(parsedOutput, context);
967
+ case "ForbiddenException":
968
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
969
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
970
+ case "NotFoundException":
971
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
972
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
973
+ case "ServiceFailureException":
974
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
975
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
976
+ case "ServiceUnavailableException":
977
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
978
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
979
+ case "ThrottlingException":
980
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
981
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
982
+ case "UnauthorizedException":
983
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
984
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
985
+ default:
986
+ const parsedBody = parsedOutput.body;
987
+ return throwDefaultError({
988
+ output,
989
+ parsedBody,
990
+ errorCode
991
+ });
992
+ }
993
+ }, "de_BatchUpdateAttendeeCapabilitiesExceptCommandError");
994
+ var de_CreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
995
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
996
+ return de_CreateAttendeeCommandError(output, context);
997
+ }
998
+ const contents = (0, import_smithy_client.map)({
999
+ $metadata: deserializeMetadata(output)
1000
+ });
1001
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1002
+ const doc = (0, import_smithy_client.take)(data, {
1003
+ Attendee: import_smithy_client._json
1004
+ });
1005
+ Object.assign(contents, doc);
1006
+ return contents;
1007
+ }, "de_CreateAttendeeCommand");
1008
+ var de_CreateAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1009
+ const parsedOutput = {
1010
+ ...output,
1011
+ body: await parseErrorBody(output.body, context)
1012
+ };
1013
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1014
+ switch (errorCode) {
1015
+ case "BadRequestException":
1016
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1017
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1018
+ case "ForbiddenException":
1019
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1020
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1021
+ case "LimitExceededException":
1022
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1023
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1024
+ case "NotFoundException":
1025
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1026
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1027
+ case "ServiceFailureException":
1028
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1029
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1030
+ case "ServiceUnavailableException":
1031
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1032
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1033
+ case "ThrottlingException":
1034
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1035
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1036
+ case "UnauthorizedException":
1037
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1038
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1039
+ case "UnprocessableEntityException":
1040
+ case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
1041
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
1042
+ default:
1043
+ const parsedBody = parsedOutput.body;
1044
+ return throwDefaultError({
1045
+ output,
1046
+ parsedBody,
1047
+ errorCode
1048
+ });
1049
+ }
1050
+ }, "de_CreateAttendeeCommandError");
1051
+ var de_CreateMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1052
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1053
+ return de_CreateMeetingCommandError(output, context);
1054
+ }
1055
+ const contents = (0, import_smithy_client.map)({
1056
+ $metadata: deserializeMetadata(output)
1057
+ });
1058
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1059
+ const doc = (0, import_smithy_client.take)(data, {
1060
+ Meeting: import_smithy_client._json
1061
+ });
1062
+ Object.assign(contents, doc);
1063
+ return contents;
1064
+ }, "de_CreateMeetingCommand");
1065
+ var de_CreateMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1066
+ const parsedOutput = {
1067
+ ...output,
1068
+ body: await parseErrorBody(output.body, context)
1069
+ };
1070
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1071
+ switch (errorCode) {
1072
+ case "BadRequestException":
1073
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1074
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1075
+ case "ConflictException":
1076
+ case "com.amazonaws.chimesdkmeetings#ConflictException":
1077
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1078
+ case "ForbiddenException":
1079
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1080
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1081
+ case "LimitExceededException":
1082
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1083
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1084
+ case "ServiceFailureException":
1085
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1086
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1087
+ case "ServiceUnavailableException":
1088
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1089
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1090
+ case "ThrottlingException":
1091
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1092
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1093
+ case "UnauthorizedException":
1094
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1095
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1096
+ default:
1097
+ const parsedBody = parsedOutput.body;
1098
+ return throwDefaultError({
1099
+ output,
1100
+ parsedBody,
1101
+ errorCode
1102
+ });
1103
+ }
1104
+ }, "de_CreateMeetingCommandError");
1105
+ var de_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
1106
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
+ return de_CreateMeetingWithAttendeesCommandError(output, context);
1108
+ }
1109
+ const contents = (0, import_smithy_client.map)({
1110
+ $metadata: deserializeMetadata(output)
1111
+ });
1112
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1113
+ const doc = (0, import_smithy_client.take)(data, {
1114
+ Attendees: import_smithy_client._json,
1115
+ Errors: import_smithy_client._json,
1116
+ Meeting: import_smithy_client._json
1117
+ });
1118
+ Object.assign(contents, doc);
1119
+ return contents;
1120
+ }, "de_CreateMeetingWithAttendeesCommand");
1121
+ var de_CreateMeetingWithAttendeesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1122
+ const parsedOutput = {
1123
+ ...output,
1124
+ body: await parseErrorBody(output.body, context)
1125
+ };
1126
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1127
+ switch (errorCode) {
1128
+ case "BadRequestException":
1129
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1130
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1131
+ case "ConflictException":
1132
+ case "com.amazonaws.chimesdkmeetings#ConflictException":
1133
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1134
+ case "ForbiddenException":
1135
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1136
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1137
+ case "LimitExceededException":
1138
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1139
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1140
+ case "ServiceFailureException":
1141
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1142
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1143
+ case "ServiceUnavailableException":
1144
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1145
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1146
+ case "ThrottlingException":
1147
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1148
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1149
+ case "UnauthorizedException":
1150
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1151
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1152
+ default:
1153
+ const parsedBody = parsedOutput.body;
1154
+ return throwDefaultError({
1155
+ output,
1156
+ parsedBody,
1157
+ errorCode
1158
+ });
1159
+ }
1160
+ }, "de_CreateMeetingWithAttendeesCommandError");
1161
+ var de_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1162
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1163
+ return de_DeleteAttendeeCommandError(output, context);
1164
+ }
1165
+ const contents = (0, import_smithy_client.map)({
1166
+ $metadata: deserializeMetadata(output)
1167
+ });
1168
+ await (0, import_smithy_client.collectBody)(output.body, context);
1169
+ return contents;
1170
+ }, "de_DeleteAttendeeCommand");
1171
+ var de_DeleteAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1172
+ const parsedOutput = {
1173
+ ...output,
1174
+ body: await parseErrorBody(output.body, context)
1175
+ };
1176
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1177
+ switch (errorCode) {
1178
+ case "BadRequestException":
1179
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1180
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1181
+ case "ForbiddenException":
1182
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1183
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1184
+ case "NotFoundException":
1185
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1186
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1187
+ case "ServiceFailureException":
1188
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1189
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1190
+ case "ServiceUnavailableException":
1191
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1192
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1193
+ case "ThrottlingException":
1194
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1195
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1196
+ case "UnauthorizedException":
1197
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1198
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1199
+ default:
1200
+ const parsedBody = parsedOutput.body;
1201
+ return throwDefaultError({
1202
+ output,
1203
+ parsedBody,
1204
+ errorCode
1205
+ });
1206
+ }
1207
+ }, "de_DeleteAttendeeCommandError");
1208
+ var de_DeleteMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1209
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1210
+ return de_DeleteMeetingCommandError(output, context);
1211
+ }
1212
+ const contents = (0, import_smithy_client.map)({
1213
+ $metadata: deserializeMetadata(output)
1214
+ });
1215
+ await (0, import_smithy_client.collectBody)(output.body, context);
1216
+ return contents;
1217
+ }, "de_DeleteMeetingCommand");
1218
+ var de_DeleteMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1219
+ const parsedOutput = {
1220
+ ...output,
1221
+ body: await parseErrorBody(output.body, context)
1222
+ };
1223
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1224
+ switch (errorCode) {
1225
+ case "BadRequestException":
1226
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1227
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1228
+ case "ForbiddenException":
1229
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1230
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1231
+ case "NotFoundException":
1232
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1233
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1234
+ case "ServiceFailureException":
1235
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1236
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1237
+ case "ServiceUnavailableException":
1238
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1239
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1240
+ case "ThrottlingException":
1241
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1242
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1243
+ case "UnauthorizedException":
1244
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1245
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1246
+ default:
1247
+ const parsedBody = parsedOutput.body;
1248
+ return throwDefaultError({
1249
+ output,
1250
+ parsedBody,
1251
+ errorCode
1252
+ });
1253
+ }
1254
+ }, "de_DeleteMeetingCommandError");
1255
+ var de_GetAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1256
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
+ return de_GetAttendeeCommandError(output, context);
1258
+ }
1259
+ const contents = (0, import_smithy_client.map)({
1260
+ $metadata: deserializeMetadata(output)
1261
+ });
1262
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1263
+ const doc = (0, import_smithy_client.take)(data, {
1264
+ Attendee: import_smithy_client._json
1265
+ });
1266
+ Object.assign(contents, doc);
1267
+ return contents;
1268
+ }, "de_GetAttendeeCommand");
1269
+ var de_GetAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1270
+ const parsedOutput = {
1271
+ ...output,
1272
+ body: await parseErrorBody(output.body, context)
1273
+ };
1274
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1275
+ switch (errorCode) {
1276
+ case "BadRequestException":
1277
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1278
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1279
+ case "ForbiddenException":
1280
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1281
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1282
+ case "NotFoundException":
1283
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1284
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1285
+ case "ServiceFailureException":
1286
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1287
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1288
+ case "ServiceUnavailableException":
1289
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1290
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1291
+ case "ThrottlingException":
1292
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1293
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1294
+ case "UnauthorizedException":
1295
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1296
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1297
+ default:
1298
+ const parsedBody = parsedOutput.body;
1299
+ return throwDefaultError({
1300
+ output,
1301
+ parsedBody,
1302
+ errorCode
1303
+ });
1304
+ }
1305
+ }, "de_GetAttendeeCommandError");
1306
+ var de_GetMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1307
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1308
+ return de_GetMeetingCommandError(output, context);
1309
+ }
1310
+ const contents = (0, import_smithy_client.map)({
1311
+ $metadata: deserializeMetadata(output)
1312
+ });
1313
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1314
+ const doc = (0, import_smithy_client.take)(data, {
1315
+ Meeting: import_smithy_client._json
1316
+ });
1317
+ Object.assign(contents, doc);
1318
+ return contents;
1319
+ }, "de_GetMeetingCommand");
1320
+ var de_GetMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1321
+ const parsedOutput = {
1322
+ ...output,
1323
+ body: await parseErrorBody(output.body, context)
1324
+ };
1325
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1326
+ switch (errorCode) {
1327
+ case "BadRequestException":
1328
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1329
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1330
+ case "ForbiddenException":
1331
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1332
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1333
+ case "NotFoundException":
1334
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1335
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1336
+ case "ServiceFailureException":
1337
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1338
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1339
+ case "ServiceUnavailableException":
1340
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1341
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1342
+ case "ThrottlingException":
1343
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1344
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1345
+ case "UnauthorizedException":
1346
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1347
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1348
+ default:
1349
+ const parsedBody = parsedOutput.body;
1350
+ return throwDefaultError({
1351
+ output,
1352
+ parsedBody,
1353
+ errorCode
1354
+ });
1355
+ }
1356
+ }, "de_GetMeetingCommandError");
1357
+ var de_ListAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
1358
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1359
+ return de_ListAttendeesCommandError(output, context);
1360
+ }
1361
+ const contents = (0, import_smithy_client.map)({
1362
+ $metadata: deserializeMetadata(output)
1363
+ });
1364
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1365
+ const doc = (0, import_smithy_client.take)(data, {
1366
+ Attendees: import_smithy_client._json,
1367
+ NextToken: import_smithy_client.expectString
1368
+ });
1369
+ Object.assign(contents, doc);
1370
+ return contents;
1371
+ }, "de_ListAttendeesCommand");
1372
+ var de_ListAttendeesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1373
+ const parsedOutput = {
1374
+ ...output,
1375
+ body: await parseErrorBody(output.body, context)
1376
+ };
1377
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1378
+ switch (errorCode) {
1379
+ case "BadRequestException":
1380
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1381
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1382
+ case "ForbiddenException":
1383
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1384
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1385
+ case "NotFoundException":
1386
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1387
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1388
+ case "ServiceFailureException":
1389
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1390
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1391
+ case "ServiceUnavailableException":
1392
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1393
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1394
+ case "ThrottlingException":
1395
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1396
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1397
+ case "UnauthorizedException":
1398
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1399
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1400
+ default:
1401
+ const parsedBody = parsedOutput.body;
1402
+ return throwDefaultError({
1403
+ output,
1404
+ parsedBody,
1405
+ errorCode
1406
+ });
1407
+ }
1408
+ }, "de_ListAttendeesCommandError");
1409
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1410
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1411
+ return de_ListTagsForResourceCommandError(output, context);
1412
+ }
1413
+ const contents = (0, import_smithy_client.map)({
1414
+ $metadata: deserializeMetadata(output)
1415
+ });
1416
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1417
+ const doc = (0, import_smithy_client.take)(data, {
1418
+ Tags: import_smithy_client._json
1419
+ });
1420
+ Object.assign(contents, doc);
1421
+ return contents;
1422
+ }, "de_ListTagsForResourceCommand");
1423
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1424
+ const parsedOutput = {
1425
+ ...output,
1426
+ body: await parseErrorBody(output.body, context)
1427
+ };
1428
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1429
+ switch (errorCode) {
1430
+ case "BadRequestException":
1431
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1432
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1433
+ case "ForbiddenException":
1434
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1435
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1436
+ case "LimitExceededException":
1437
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1438
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1439
+ case "ResourceNotFoundException":
1440
+ case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1441
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1442
+ case "ServiceFailureException":
1443
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1444
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1445
+ case "ServiceUnavailableException":
1446
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1447
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1448
+ case "ThrottlingException":
1449
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1450
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1451
+ case "UnauthorizedException":
1452
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1453
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1454
+ default:
1455
+ const parsedBody = parsedOutput.body;
1456
+ return throwDefaultError({
1457
+ output,
1458
+ parsedBody,
1459
+ errorCode
1460
+ });
1461
+ }
1462
+ }, "de_ListTagsForResourceCommandError");
1463
+ var de_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1464
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1465
+ return de_StartMeetingTranscriptionCommandError(output, context);
1466
+ }
1467
+ const contents = (0, import_smithy_client.map)({
1468
+ $metadata: deserializeMetadata(output)
1469
+ });
1470
+ await (0, import_smithy_client.collectBody)(output.body, context);
1471
+ return contents;
1472
+ }, "de_StartMeetingTranscriptionCommand");
1473
+ var de_StartMeetingTranscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1474
+ const parsedOutput = {
1475
+ ...output,
1476
+ body: await parseErrorBody(output.body, context)
1477
+ };
1478
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1479
+ switch (errorCode) {
1480
+ case "BadRequestException":
1481
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1482
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1483
+ case "ForbiddenException":
1484
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1485
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1486
+ case "LimitExceededException":
1487
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1488
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1489
+ case "NotFoundException":
1490
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1491
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1492
+ case "ServiceFailureException":
1493
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1494
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1495
+ case "ServiceUnavailableException":
1496
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1497
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1498
+ case "ThrottlingException":
1499
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1500
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1501
+ case "UnauthorizedException":
1502
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1503
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1504
+ case "UnprocessableEntityException":
1505
+ case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
1506
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
1507
+ default:
1508
+ const parsedBody = parsedOutput.body;
1509
+ return throwDefaultError({
1510
+ output,
1511
+ parsedBody,
1512
+ errorCode
1513
+ });
1514
+ }
1515
+ }, "de_StartMeetingTranscriptionCommandError");
1516
+ var de_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1517
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1518
+ return de_StopMeetingTranscriptionCommandError(output, context);
1519
+ }
1520
+ const contents = (0, import_smithy_client.map)({
1521
+ $metadata: deserializeMetadata(output)
1522
+ });
1523
+ await (0, import_smithy_client.collectBody)(output.body, context);
1524
+ return contents;
1525
+ }, "de_StopMeetingTranscriptionCommand");
1526
+ var de_StopMeetingTranscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1527
+ const parsedOutput = {
1528
+ ...output,
1529
+ body: await parseErrorBody(output.body, context)
1530
+ };
1531
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1532
+ switch (errorCode) {
1533
+ case "BadRequestException":
1534
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1535
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1536
+ case "ForbiddenException":
1537
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1538
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1539
+ case "NotFoundException":
1540
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1541
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1542
+ case "ServiceFailureException":
1543
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1544
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1545
+ case "ServiceUnavailableException":
1546
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1547
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1548
+ case "ThrottlingException":
1549
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1550
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1551
+ case "UnauthorizedException":
1552
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1553
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1554
+ case "UnprocessableEntityException":
1555
+ case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
1556
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
1557
+ default:
1558
+ const parsedBody = parsedOutput.body;
1559
+ return throwDefaultError({
1560
+ output,
1561
+ parsedBody,
1562
+ errorCode
1563
+ });
1564
+ }
1565
+ }, "de_StopMeetingTranscriptionCommandError");
1566
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1567
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1568
+ return de_TagResourceCommandError(output, context);
1569
+ }
1570
+ const contents = (0, import_smithy_client.map)({
1571
+ $metadata: deserializeMetadata(output)
1572
+ });
1573
+ await (0, import_smithy_client.collectBody)(output.body, context);
1574
+ return contents;
1575
+ }, "de_TagResourceCommand");
1576
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1577
+ const parsedOutput = {
1578
+ ...output,
1579
+ body: await parseErrorBody(output.body, context)
1580
+ };
1581
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1582
+ switch (errorCode) {
1583
+ case "BadRequestException":
1584
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1585
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1586
+ case "ForbiddenException":
1587
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1588
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1589
+ case "LimitExceededException":
1590
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1591
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1592
+ case "ResourceNotFoundException":
1593
+ case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1594
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1595
+ case "ServiceFailureException":
1596
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1597
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1598
+ case "ServiceUnavailableException":
1599
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1600
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1601
+ case "ThrottlingException":
1602
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1603
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1604
+ case "TooManyTagsException":
1605
+ case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
1606
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1607
+ case "UnauthorizedException":
1608
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1609
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1610
+ default:
1611
+ const parsedBody = parsedOutput.body;
1612
+ return throwDefaultError({
1613
+ output,
1614
+ parsedBody,
1615
+ errorCode
1616
+ });
1617
+ }
1618
+ }, "de_TagResourceCommandError");
1619
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1620
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1621
+ return de_UntagResourceCommandError(output, context);
1622
+ }
1623
+ const contents = (0, import_smithy_client.map)({
1624
+ $metadata: deserializeMetadata(output)
1625
+ });
1626
+ await (0, import_smithy_client.collectBody)(output.body, context);
1627
+ return contents;
1628
+ }, "de_UntagResourceCommand");
1629
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1630
+ const parsedOutput = {
1631
+ ...output,
1632
+ body: await parseErrorBody(output.body, context)
1633
+ };
1634
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1635
+ switch (errorCode) {
1636
+ case "BadRequestException":
1637
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1638
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1639
+ case "ForbiddenException":
1640
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1641
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1642
+ case "LimitExceededException":
1643
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1644
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1645
+ case "ResourceNotFoundException":
1646
+ case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1647
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1648
+ case "ServiceFailureException":
1649
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1650
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1651
+ case "ServiceUnavailableException":
1652
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1653
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1654
+ case "ThrottlingException":
1655
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1656
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1657
+ case "UnauthorizedException":
1658
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1659
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1660
+ default:
1661
+ const parsedBody = parsedOutput.body;
1662
+ return throwDefaultError({
1663
+ output,
1664
+ parsedBody,
1665
+ errorCode
1666
+ });
1667
+ }
1668
+ }, "de_UntagResourceCommandError");
1669
+ var de_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1670
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1671
+ return de_UpdateAttendeeCapabilitiesCommandError(output, context);
1672
+ }
1673
+ const contents = (0, import_smithy_client.map)({
1674
+ $metadata: deserializeMetadata(output)
1675
+ });
1676
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1677
+ const doc = (0, import_smithy_client.take)(data, {
1678
+ Attendee: import_smithy_client._json
1679
+ });
1680
+ Object.assign(contents, doc);
1681
+ return contents;
1682
+ }, "de_UpdateAttendeeCapabilitiesCommand");
1683
+ var de_UpdateAttendeeCapabilitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1684
+ const parsedOutput = {
1685
+ ...output,
1686
+ body: await parseErrorBody(output.body, context)
1687
+ };
1688
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1689
+ switch (errorCode) {
1690
+ case "BadRequestException":
1691
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
1692
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1693
+ case "ConflictException":
1694
+ case "com.amazonaws.chimesdkmeetings#ConflictException":
1695
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1696
+ case "ForbiddenException":
1697
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1698
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1699
+ case "NotFoundException":
1700
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
1701
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1702
+ case "ServiceFailureException":
1703
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1704
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1705
+ case "ServiceUnavailableException":
1706
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1707
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1708
+ case "ThrottlingException":
1709
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1710
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1711
+ case "UnauthorizedException":
1712
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1713
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1714
+ default:
1715
+ const parsedBody = parsedOutput.body;
1716
+ return throwDefaultError({
1717
+ output,
1718
+ parsedBody,
1719
+ errorCode
1720
+ });
1721
+ }
1722
+ }, "de_UpdateAttendeeCapabilitiesCommandError");
1723
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(ChimeSDKMeetingsServiceException);
1724
+ var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1725
+ const contents = (0, import_smithy_client.map)({});
1726
+ const data = parsedOutput.body;
1727
+ const doc = (0, import_smithy_client.take)(data, {
1728
+ Code: import_smithy_client.expectString,
1729
+ Message: import_smithy_client.expectString,
1730
+ RequestId: import_smithy_client.expectString
1731
+ });
1732
+ Object.assign(contents, doc);
1733
+ const exception = new BadRequestException({
1734
+ $metadata: deserializeMetadata(parsedOutput),
1735
+ ...contents
1736
+ });
1737
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1738
+ }, "de_BadRequestExceptionRes");
1739
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1740
+ const contents = (0, import_smithy_client.map)({});
1741
+ const data = parsedOutput.body;
1742
+ const doc = (0, import_smithy_client.take)(data, {
1743
+ Code: import_smithy_client.expectString,
1744
+ Message: import_smithy_client.expectString,
1745
+ RequestId: import_smithy_client.expectString
1746
+ });
1747
+ Object.assign(contents, doc);
1748
+ const exception = new ConflictException({
1749
+ $metadata: deserializeMetadata(parsedOutput),
1750
+ ...contents
1751
+ });
1752
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1753
+ }, "de_ConflictExceptionRes");
1754
+ var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1755
+ const contents = (0, import_smithy_client.map)({});
1756
+ const data = parsedOutput.body;
1757
+ const doc = (0, import_smithy_client.take)(data, {
1758
+ Code: import_smithy_client.expectString,
1759
+ Message: import_smithy_client.expectString,
1760
+ RequestId: import_smithy_client.expectString
1761
+ });
1762
+ Object.assign(contents, doc);
1763
+ const exception = new ForbiddenException({
1764
+ $metadata: deserializeMetadata(parsedOutput),
1765
+ ...contents
1766
+ });
1767
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1768
+ }, "de_ForbiddenExceptionRes");
1769
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1770
+ const contents = (0, import_smithy_client.map)({});
1771
+ const data = parsedOutput.body;
1772
+ const doc = (0, import_smithy_client.take)(data, {
1773
+ Code: import_smithy_client.expectString,
1774
+ Message: import_smithy_client.expectString,
1775
+ RequestId: import_smithy_client.expectString
1776
+ });
1777
+ Object.assign(contents, doc);
1778
+ const exception = new LimitExceededException({
1779
+ $metadata: deserializeMetadata(parsedOutput),
1780
+ ...contents
1781
+ });
1782
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1783
+ }, "de_LimitExceededExceptionRes");
1784
+ var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1785
+ const contents = (0, import_smithy_client.map)({});
1786
+ const data = parsedOutput.body;
1787
+ const doc = (0, import_smithy_client.take)(data, {
1788
+ Code: import_smithy_client.expectString,
1789
+ Message: import_smithy_client.expectString,
1790
+ RequestId: import_smithy_client.expectString
1791
+ });
1792
+ Object.assign(contents, doc);
1793
+ const exception = new NotFoundException({
1794
+ $metadata: deserializeMetadata(parsedOutput),
1795
+ ...contents
1796
+ });
1797
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1798
+ }, "de_NotFoundExceptionRes");
1799
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1800
+ const contents = (0, import_smithy_client.map)({});
1801
+ const data = parsedOutput.body;
1802
+ const doc = (0, import_smithy_client.take)(data, {
1803
+ Code: import_smithy_client.expectString,
1804
+ Message: import_smithy_client.expectString,
1805
+ RequestId: import_smithy_client.expectString,
1806
+ ResourceName: import_smithy_client.expectString
1807
+ });
1808
+ Object.assign(contents, doc);
1809
+ const exception = new ResourceNotFoundException({
1810
+ $metadata: deserializeMetadata(parsedOutput),
1811
+ ...contents
1812
+ });
1813
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1814
+ }, "de_ResourceNotFoundExceptionRes");
1815
+ var de_ServiceFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1816
+ const contents = (0, import_smithy_client.map)({});
1817
+ const data = parsedOutput.body;
1818
+ const doc = (0, import_smithy_client.take)(data, {
1819
+ Code: import_smithy_client.expectString,
1820
+ Message: import_smithy_client.expectString,
1821
+ RequestId: import_smithy_client.expectString
1822
+ });
1823
+ Object.assign(contents, doc);
1824
+ const exception = new ServiceFailureException({
1825
+ $metadata: deserializeMetadata(parsedOutput),
1826
+ ...contents
1827
+ });
1828
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1829
+ }, "de_ServiceFailureExceptionRes");
1830
+ var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1831
+ const contents = (0, import_smithy_client.map)({
1832
+ [_RAS]: [, parsedOutput.headers[_ra]]
1833
+ });
1834
+ const data = parsedOutput.body;
1835
+ const doc = (0, import_smithy_client.take)(data, {
1836
+ Code: import_smithy_client.expectString,
1837
+ Message: import_smithy_client.expectString,
1838
+ RequestId: import_smithy_client.expectString
1839
+ });
1840
+ Object.assign(contents, doc);
1841
+ const exception = new ServiceUnavailableException({
1842
+ $metadata: deserializeMetadata(parsedOutput),
1843
+ ...contents
1844
+ });
1845
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1846
+ }, "de_ServiceUnavailableExceptionRes");
1847
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1848
+ const contents = (0, import_smithy_client.map)({});
1849
+ const data = parsedOutput.body;
1850
+ const doc = (0, import_smithy_client.take)(data, {
1851
+ Code: import_smithy_client.expectString,
1852
+ Message: import_smithy_client.expectString,
1853
+ RequestId: import_smithy_client.expectString
1854
+ });
1855
+ Object.assign(contents, doc);
1856
+ const exception = new ThrottlingException({
1857
+ $metadata: deserializeMetadata(parsedOutput),
1858
+ ...contents
1859
+ });
1860
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1861
+ }, "de_ThrottlingExceptionRes");
1862
+ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1863
+ const contents = (0, import_smithy_client.map)({});
1864
+ const data = parsedOutput.body;
1865
+ const doc = (0, import_smithy_client.take)(data, {
1866
+ Code: import_smithy_client.expectString,
1867
+ Message: import_smithy_client.expectString,
1868
+ RequestId: import_smithy_client.expectString,
1869
+ ResourceName: import_smithy_client.expectString
1870
+ });
1871
+ Object.assign(contents, doc);
1872
+ const exception = new TooManyTagsException({
1873
+ $metadata: deserializeMetadata(parsedOutput),
1874
+ ...contents
1875
+ });
1876
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1877
+ }, "de_TooManyTagsExceptionRes");
1878
+ var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1879
+ const contents = (0, import_smithy_client.map)({});
1880
+ const data = parsedOutput.body;
1881
+ const doc = (0, import_smithy_client.take)(data, {
1882
+ Code: import_smithy_client.expectString,
1883
+ Message: import_smithy_client.expectString,
1884
+ RequestId: import_smithy_client.expectString
1885
+ });
1886
+ Object.assign(contents, doc);
1887
+ const exception = new UnauthorizedException({
1888
+ $metadata: deserializeMetadata(parsedOutput),
1889
+ ...contents
1890
+ });
1891
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1892
+ }, "de_UnauthorizedExceptionRes");
1893
+ var de_UnprocessableEntityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1894
+ const contents = (0, import_smithy_client.map)({});
1895
+ const data = parsedOutput.body;
1896
+ const doc = (0, import_smithy_client.take)(data, {
1897
+ Code: import_smithy_client.expectString,
1898
+ Message: import_smithy_client.expectString,
1899
+ RequestId: import_smithy_client.expectString
1900
+ });
1901
+ Object.assign(contents, doc);
1902
+ const exception = new UnprocessableEntityException({
1903
+ $metadata: deserializeMetadata(parsedOutput),
1904
+ ...contents
1905
+ });
1906
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1907
+ }, "de_UnprocessableEntityExceptionRes");
1908
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1909
+ httpStatusCode: output.statusCode,
1910
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1911
+ extendedRequestId: output.headers["x-amz-id-2"],
1912
+ cfId: output.headers["x-amz-cf-id"]
1913
+ }), "deserializeMetadata");
1914
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
1915
+ var _MR = "MaxResults";
1916
+ var _NT = "NextToken";
1917
+ var _RARN = "ResourceARN";
1918
+ var _RAS = "RetryAfterSeconds";
1919
+ var _a = "arn";
1920
+ var _mr = "max-results";
1921
+ var _nt = "next-token";
1922
+ var _o = "operation";
1923
+ var _ra = "retry-after";
1924
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1925
+ if (encoded.length) {
1926
+ return JSON.parse(encoded);
1927
+ }
1928
+ return {};
1929
+ }), "parseBody");
1930
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
1931
+ const value = await parseBody(errorBody, context);
1932
+ value.message = value.message ?? value.Message;
1933
+ return value;
1934
+ }, "parseErrorBody");
1935
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
1936
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
1937
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
1938
+ let cleanValue = rawValue;
1939
+ if (typeof cleanValue === "number") {
1940
+ cleanValue = cleanValue.toString();
1941
+ }
1942
+ if (cleanValue.indexOf(",") >= 0) {
1943
+ cleanValue = cleanValue.split(",")[0];
1944
+ }
1945
+ if (cleanValue.indexOf(":") >= 0) {
1946
+ cleanValue = cleanValue.split(":")[0];
1947
+ }
1948
+ if (cleanValue.indexOf("#") >= 0) {
1949
+ cleanValue = cleanValue.split("#")[1];
1950
+ }
1951
+ return cleanValue;
1952
+ }, "sanitizeErrorCode");
1953
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
1954
+ if (headerKey !== void 0) {
1955
+ return sanitizeErrorCode(output.headers[headerKey]);
1956
+ }
1957
+ if (data.code !== void 0) {
1958
+ return sanitizeErrorCode(data.code);
1959
+ }
1960
+ if (data["__type"] !== void 0) {
1961
+ return sanitizeErrorCode(data["__type"]);
1962
+ }
1963
+ }, "loadRestJsonErrorCode");
1964
+
1965
+ // src/commands/BatchCreateAttendeeCommand.ts
1966
+ var _BatchCreateAttendeeCommand = class _BatchCreateAttendeeCommand extends import_smithy_client.Command.classBuilder().ep({
1967
+ ...commonParams
1968
+ }).m(function(Command, cs, config, o) {
1969
+ return [
1970
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1971
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1972
+ ];
1973
+ }).s("ChimeMeetingsSDKService", "BatchCreateAttendee", {}).n("ChimeSDKMeetingsClient", "BatchCreateAttendeeCommand").f(BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog).ser(se_BatchCreateAttendeeCommand).de(de_BatchCreateAttendeeCommand).build() {
1974
+ };
1975
+ __name(_BatchCreateAttendeeCommand, "BatchCreateAttendeeCommand");
1976
+ var BatchCreateAttendeeCommand = _BatchCreateAttendeeCommand;
1977
+
1978
+ // src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts
1979
+
1980
+
1981
+
1982
+
1983
+ var _BatchUpdateAttendeeCapabilitiesExceptCommand = class _BatchUpdateAttendeeCapabilitiesExceptCommand extends import_smithy_client.Command.classBuilder().ep({
1984
+ ...commonParams
1985
+ }).m(function(Command, cs, config, o) {
1986
+ return [
1987
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1988
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1989
+ ];
1990
+ }).s("ChimeMeetingsSDKService", "BatchUpdateAttendeeCapabilitiesExcept", {}).n("ChimeSDKMeetingsClient", "BatchUpdateAttendeeCapabilitiesExceptCommand").f(void 0, void 0).ser(se_BatchUpdateAttendeeCapabilitiesExceptCommand).de(de_BatchUpdateAttendeeCapabilitiesExceptCommand).build() {
1991
+ };
1992
+ __name(_BatchUpdateAttendeeCapabilitiesExceptCommand, "BatchUpdateAttendeeCapabilitiesExceptCommand");
1993
+ var BatchUpdateAttendeeCapabilitiesExceptCommand = _BatchUpdateAttendeeCapabilitiesExceptCommand;
1994
+
1995
+ // src/commands/CreateAttendeeCommand.ts
1996
+
1997
+
1998
+
1999
+
2000
+ var _CreateAttendeeCommand = class _CreateAttendeeCommand extends import_smithy_client.Command.classBuilder().ep({
2001
+ ...commonParams
2002
+ }).m(function(Command, cs, config, o) {
2003
+ return [
2004
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2005
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2006
+ ];
2007
+ }).s("ChimeMeetingsSDKService", "CreateAttendee", {}).n("ChimeSDKMeetingsClient", "CreateAttendeeCommand").f(CreateAttendeeRequestFilterSensitiveLog, CreateAttendeeResponseFilterSensitiveLog).ser(se_CreateAttendeeCommand).de(de_CreateAttendeeCommand).build() {
2008
+ };
2009
+ __name(_CreateAttendeeCommand, "CreateAttendeeCommand");
2010
+ var CreateAttendeeCommand = _CreateAttendeeCommand;
2011
+
2012
+ // src/commands/CreateMeetingCommand.ts
2013
+
2014
+
2015
+
2016
+
2017
+ var _CreateMeetingCommand = class _CreateMeetingCommand extends import_smithy_client.Command.classBuilder().ep({
2018
+ ...commonParams
2019
+ }).m(function(Command, cs, config, o) {
2020
+ return [
2021
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2022
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2023
+ ];
2024
+ }).s("ChimeMeetingsSDKService", "CreateMeeting", {}).n("ChimeSDKMeetingsClient", "CreateMeetingCommand").f(CreateMeetingRequestFilterSensitiveLog, CreateMeetingResponseFilterSensitiveLog).ser(se_CreateMeetingCommand).de(de_CreateMeetingCommand).build() {
2025
+ };
2026
+ __name(_CreateMeetingCommand, "CreateMeetingCommand");
2027
+ var CreateMeetingCommand = _CreateMeetingCommand;
2028
+
2029
+ // src/commands/CreateMeetingWithAttendeesCommand.ts
2030
+
2031
+
2032
+
2033
+
2034
+ var _CreateMeetingWithAttendeesCommand = class _CreateMeetingWithAttendeesCommand extends import_smithy_client.Command.classBuilder().ep({
2035
+ ...commonParams
2036
+ }).m(function(Command, cs, config, o) {
2037
+ return [
2038
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2039
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2040
+ ];
2041
+ }).s("ChimeMeetingsSDKService", "CreateMeetingWithAttendees", {}).n("ChimeSDKMeetingsClient", "CreateMeetingWithAttendeesCommand").f(CreateMeetingWithAttendeesRequestFilterSensitiveLog, CreateMeetingWithAttendeesResponseFilterSensitiveLog).ser(se_CreateMeetingWithAttendeesCommand).de(de_CreateMeetingWithAttendeesCommand).build() {
2042
+ };
2043
+ __name(_CreateMeetingWithAttendeesCommand, "CreateMeetingWithAttendeesCommand");
2044
+ var CreateMeetingWithAttendeesCommand = _CreateMeetingWithAttendeesCommand;
2045
+
2046
+ // src/commands/DeleteAttendeeCommand.ts
2047
+
2048
+
2049
+
2050
+
2051
+ var _DeleteAttendeeCommand = class _DeleteAttendeeCommand extends import_smithy_client.Command.classBuilder().ep({
2052
+ ...commonParams
2053
+ }).m(function(Command, cs, config, o) {
2054
+ return [
2055
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2056
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2057
+ ];
2058
+ }).s("ChimeMeetingsSDKService", "DeleteAttendee", {}).n("ChimeSDKMeetingsClient", "DeleteAttendeeCommand").f(void 0, void 0).ser(se_DeleteAttendeeCommand).de(de_DeleteAttendeeCommand).build() {
2059
+ };
2060
+ __name(_DeleteAttendeeCommand, "DeleteAttendeeCommand");
2061
+ var DeleteAttendeeCommand = _DeleteAttendeeCommand;
2062
+
2063
+ // src/commands/DeleteMeetingCommand.ts
2064
+
2065
+
2066
+
2067
+
2068
+ var _DeleteMeetingCommand = class _DeleteMeetingCommand extends import_smithy_client.Command.classBuilder().ep({
2069
+ ...commonParams
2070
+ }).m(function(Command, cs, config, o) {
2071
+ return [
2072
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2073
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2074
+ ];
2075
+ }).s("ChimeMeetingsSDKService", "DeleteMeeting", {}).n("ChimeSDKMeetingsClient", "DeleteMeetingCommand").f(void 0, void 0).ser(se_DeleteMeetingCommand).de(de_DeleteMeetingCommand).build() {
2076
+ };
2077
+ __name(_DeleteMeetingCommand, "DeleteMeetingCommand");
2078
+ var DeleteMeetingCommand = _DeleteMeetingCommand;
2079
+
2080
+ // src/commands/GetAttendeeCommand.ts
2081
+
2082
+
2083
+
2084
+
2085
+ var _GetAttendeeCommand = class _GetAttendeeCommand extends import_smithy_client.Command.classBuilder().ep({
2086
+ ...commonParams
2087
+ }).m(function(Command, cs, config, o) {
2088
+ return [
2089
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2090
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2091
+ ];
2092
+ }).s("ChimeMeetingsSDKService", "GetAttendee", {}).n("ChimeSDKMeetingsClient", "GetAttendeeCommand").f(void 0, GetAttendeeResponseFilterSensitiveLog).ser(se_GetAttendeeCommand).de(de_GetAttendeeCommand).build() {
2093
+ };
2094
+ __name(_GetAttendeeCommand, "GetAttendeeCommand");
2095
+ var GetAttendeeCommand = _GetAttendeeCommand;
2096
+
2097
+ // src/commands/GetMeetingCommand.ts
2098
+
2099
+
2100
+
2101
+
2102
+ var _GetMeetingCommand = class _GetMeetingCommand extends import_smithy_client.Command.classBuilder().ep({
2103
+ ...commonParams
2104
+ }).m(function(Command, cs, config, o) {
2105
+ return [
2106
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2107
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2108
+ ];
2109
+ }).s("ChimeMeetingsSDKService", "GetMeeting", {}).n("ChimeSDKMeetingsClient", "GetMeetingCommand").f(void 0, GetMeetingResponseFilterSensitiveLog).ser(se_GetMeetingCommand).de(de_GetMeetingCommand).build() {
2110
+ };
2111
+ __name(_GetMeetingCommand, "GetMeetingCommand");
2112
+ var GetMeetingCommand = _GetMeetingCommand;
2113
+
2114
+ // src/commands/ListAttendeesCommand.ts
2115
+
2116
+
2117
+
2118
+
2119
+ var _ListAttendeesCommand = class _ListAttendeesCommand extends import_smithy_client.Command.classBuilder().ep({
2120
+ ...commonParams
2121
+ }).m(function(Command, cs, config, o) {
2122
+ return [
2123
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2124
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2125
+ ];
2126
+ }).s("ChimeMeetingsSDKService", "ListAttendees", {}).n("ChimeSDKMeetingsClient", "ListAttendeesCommand").f(void 0, ListAttendeesResponseFilterSensitiveLog).ser(se_ListAttendeesCommand).de(de_ListAttendeesCommand).build() {
2127
+ };
2128
+ __name(_ListAttendeesCommand, "ListAttendeesCommand");
2129
+ var ListAttendeesCommand = _ListAttendeesCommand;
2130
+
2131
+ // src/commands/ListTagsForResourceCommand.ts
2132
+
2133
+
2134
+
2135
+
2136
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2137
+ ...commonParams
2138
+ }).m(function(Command, cs, config, o) {
2139
+ return [
2140
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2141
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2142
+ ];
2143
+ }).s("ChimeMeetingsSDKService", "ListTagsForResource", {}).n("ChimeSDKMeetingsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2144
+ };
2145
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2146
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2147
+
2148
+ // src/commands/StartMeetingTranscriptionCommand.ts
2149
+
2150
+
2151
+
2152
+
2153
+ var _StartMeetingTranscriptionCommand = class _StartMeetingTranscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
2154
+ ...commonParams
2155
+ }).m(function(Command, cs, config, o) {
2156
+ return [
2157
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2158
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2159
+ ];
2160
+ }).s("ChimeMeetingsSDKService", "StartMeetingTranscription", {}).n("ChimeSDKMeetingsClient", "StartMeetingTranscriptionCommand").f(void 0, void 0).ser(se_StartMeetingTranscriptionCommand).de(de_StartMeetingTranscriptionCommand).build() {
2161
+ };
2162
+ __name(_StartMeetingTranscriptionCommand, "StartMeetingTranscriptionCommand");
2163
+ var StartMeetingTranscriptionCommand = _StartMeetingTranscriptionCommand;
2164
+
2165
+ // src/commands/StopMeetingTranscriptionCommand.ts
2166
+
2167
+
2168
+
2169
+
2170
+ var _StopMeetingTranscriptionCommand = class _StopMeetingTranscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
2171
+ ...commonParams
2172
+ }).m(function(Command, cs, config, o) {
2173
+ return [
2174
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2175
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2176
+ ];
2177
+ }).s("ChimeMeetingsSDKService", "StopMeetingTranscription", {}).n("ChimeSDKMeetingsClient", "StopMeetingTranscriptionCommand").f(void 0, void 0).ser(se_StopMeetingTranscriptionCommand).de(de_StopMeetingTranscriptionCommand).build() {
2178
+ };
2179
+ __name(_StopMeetingTranscriptionCommand, "StopMeetingTranscriptionCommand");
2180
+ var StopMeetingTranscriptionCommand = _StopMeetingTranscriptionCommand;
2181
+
2182
+ // src/commands/TagResourceCommand.ts
2183
+
2184
+
2185
+
2186
+
2187
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2188
+ ...commonParams
2189
+ }).m(function(Command, cs, config, o) {
2190
+ return [
2191
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2192
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2193
+ ];
2194
+ }).s("ChimeMeetingsSDKService", "TagResource", {}).n("ChimeSDKMeetingsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2195
+ };
2196
+ __name(_TagResourceCommand, "TagResourceCommand");
2197
+ var TagResourceCommand = _TagResourceCommand;
2198
+
2199
+ // src/commands/UntagResourceCommand.ts
2200
+
2201
+
2202
+
2203
+
2204
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2205
+ ...commonParams
2206
+ }).m(function(Command, cs, config, o) {
2207
+ return [
2208
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2209
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2210
+ ];
2211
+ }).s("ChimeMeetingsSDKService", "UntagResource", {}).n("ChimeSDKMeetingsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2212
+ };
2213
+ __name(_UntagResourceCommand, "UntagResourceCommand");
2214
+ var UntagResourceCommand = _UntagResourceCommand;
2215
+
2216
+ // src/commands/UpdateAttendeeCapabilitiesCommand.ts
2217
+
2218
+
2219
+
2220
+
2221
+ var _UpdateAttendeeCapabilitiesCommand = class _UpdateAttendeeCapabilitiesCommand extends import_smithy_client.Command.classBuilder().ep({
2222
+ ...commonParams
2223
+ }).m(function(Command, cs, config, o) {
2224
+ return [
2225
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2226
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2227
+ ];
2228
+ }).s("ChimeMeetingsSDKService", "UpdateAttendeeCapabilities", {}).n("ChimeSDKMeetingsClient", "UpdateAttendeeCapabilitiesCommand").f(void 0, UpdateAttendeeCapabilitiesResponseFilterSensitiveLog).ser(se_UpdateAttendeeCapabilitiesCommand).de(de_UpdateAttendeeCapabilitiesCommand).build() {
2229
+ };
2230
+ __name(_UpdateAttendeeCapabilitiesCommand, "UpdateAttendeeCapabilitiesCommand");
2231
+ var UpdateAttendeeCapabilitiesCommand = _UpdateAttendeeCapabilitiesCommand;
2232
+
2233
+ // src/ChimeSDKMeetings.ts
2234
+ var commands = {
2235
+ BatchCreateAttendeeCommand,
2236
+ BatchUpdateAttendeeCapabilitiesExceptCommand,
2237
+ CreateAttendeeCommand,
2238
+ CreateMeetingCommand,
2239
+ CreateMeetingWithAttendeesCommand,
2240
+ DeleteAttendeeCommand,
2241
+ DeleteMeetingCommand,
2242
+ GetAttendeeCommand,
2243
+ GetMeetingCommand,
2244
+ ListAttendeesCommand,
2245
+ ListTagsForResourceCommand,
2246
+ StartMeetingTranscriptionCommand,
2247
+ StopMeetingTranscriptionCommand,
2248
+ TagResourceCommand,
2249
+ UntagResourceCommand,
2250
+ UpdateAttendeeCapabilitiesCommand
2251
+ };
2252
+ var _ChimeSDKMeetings = class _ChimeSDKMeetings extends ChimeSDKMeetingsClient {
2253
+ };
2254
+ __name(_ChimeSDKMeetings, "ChimeSDKMeetings");
2255
+ var ChimeSDKMeetings = _ChimeSDKMeetings;
2256
+ (0, import_smithy_client.createAggregatedClient)(commands, ChimeSDKMeetings);
2257
+
2258
+ // src/pagination/ListAttendeesPaginator.ts
2259
+
2260
+ var paginateListAttendees = (0, import_core.createPaginator)(ChimeSDKMeetingsClient, ListAttendeesCommand, "NextToken", "NextToken", "MaxResults");
2261
+
2262
+ // src/index.ts
2263
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2264
+ // Annotate the CommonJS export names for ESM import in node:
2265
+
2266
+ 0 && (module.exports = {
2267
+ AttendeeFilterSensitiveLog,
2268
+ BadRequestException,
2269
+ BatchCreateAttendeeCommand,
2270
+ BatchCreateAttendeeRequestFilterSensitiveLog,
2271
+ BatchCreateAttendeeResponseFilterSensitiveLog,
2272
+ BatchUpdateAttendeeCapabilitiesExceptCommand,
2273
+ ChimeSDKMeetings,
2274
+ ChimeSDKMeetingsClient,
2275
+ ChimeSDKMeetingsServiceException,
2276
+ ConflictException,
2277
+ ContentResolution,
2278
+ CreateAttendeeCommand,
2279
+ CreateAttendeeErrorFilterSensitiveLog,
2280
+ CreateAttendeeRequestFilterSensitiveLog,
2281
+ CreateAttendeeRequestItemFilterSensitiveLog,
2282
+ CreateAttendeeResponseFilterSensitiveLog,
2283
+ CreateMeetingCommand,
2284
+ CreateMeetingRequestFilterSensitiveLog,
2285
+ CreateMeetingResponseFilterSensitiveLog,
2286
+ CreateMeetingWithAttendeesCommand,
2287
+ CreateMeetingWithAttendeesRequestFilterSensitiveLog,
2288
+ CreateMeetingWithAttendeesResponseFilterSensitiveLog,
2289
+ DeleteAttendeeCommand,
2290
+ DeleteMeetingCommand,
2291
+ ForbiddenException,
2292
+ GetAttendeeCommand,
2293
+ GetAttendeeResponseFilterSensitiveLog,
2294
+ GetMeetingCommand,
2295
+ GetMeetingResponseFilterSensitiveLog,
2296
+ LimitExceededException,
2297
+ ListAttendeesCommand,
2298
+ ListAttendeesResponseFilterSensitiveLog,
2299
+ ListTagsForResourceCommand,
2300
+ MediaCapabilities,
2301
+ MeetingFeatureStatus,
2302
+ MeetingFilterSensitiveLog,
2303
+ NotFoundException,
2304
+ NotificationsConfigurationFilterSensitiveLog,
2305
+ ResourceNotFoundException,
2306
+ ServiceFailureException,
2307
+ ServiceUnavailableException,
2308
+ StartMeetingTranscriptionCommand,
2309
+ StopMeetingTranscriptionCommand,
2310
+ TagResourceCommand,
2311
+ ThrottlingException,
2312
+ TooManyTagsException,
2313
+ TranscribeContentIdentificationType,
2314
+ TranscribeContentRedactionType,
2315
+ TranscribeLanguageCode,
2316
+ TranscribeMedicalContentIdentificationType,
2317
+ TranscribeMedicalLanguageCode,
2318
+ TranscribeMedicalRegion,
2319
+ TranscribeMedicalSpecialty,
2320
+ TranscribeMedicalType,
2321
+ TranscribePartialResultsStability,
2322
+ TranscribeRegion,
2323
+ TranscribeVocabularyFilterMethod,
2324
+ UnauthorizedException,
2325
+ UnprocessableEntityException,
2326
+ UntagResourceCommand,
2327
+ UpdateAttendeeCapabilitiesCommand,
2328
+ UpdateAttendeeCapabilitiesResponseFilterSensitiveLog,
2329
+ VideoResolution,
2330
+ __Client,
2331
+ paginateListAttendees
2332
+ });
2333
+