@aws-sdk/client-chime-sdk-meetings 3.901.0 → 3.906.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 (2) hide show
  1. package/dist-cjs/index.js +1546 -1810
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,1851 +1,1587 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- 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
- MediaPlacementNetworkType: () => MediaPlacementNetworkType,
59
- MeetingFeatureStatus: () => MeetingFeatureStatus,
60
- MeetingFilterSensitiveLog: () => MeetingFilterSensitiveLog,
61
- NotFoundException: () => NotFoundException,
62
- NotificationsConfigurationFilterSensitiveLog: () => NotificationsConfigurationFilterSensitiveLog,
63
- ResourceNotFoundException: () => ResourceNotFoundException,
64
- ServiceFailureException: () => ServiceFailureException,
65
- ServiceUnavailableException: () => ServiceUnavailableException,
66
- StartMeetingTranscriptionCommand: () => StartMeetingTranscriptionCommand,
67
- StopMeetingTranscriptionCommand: () => StopMeetingTranscriptionCommand,
68
- TagResourceCommand: () => TagResourceCommand,
69
- ThrottlingException: () => ThrottlingException,
70
- TooManyTagsException: () => TooManyTagsException,
71
- TranscribeContentIdentificationType: () => TranscribeContentIdentificationType,
72
- TranscribeContentRedactionType: () => TranscribeContentRedactionType,
73
- TranscribeLanguageCode: () => TranscribeLanguageCode,
74
- TranscribeMedicalContentIdentificationType: () => TranscribeMedicalContentIdentificationType,
75
- TranscribeMedicalLanguageCode: () => TranscribeMedicalLanguageCode,
76
- TranscribeMedicalRegion: () => TranscribeMedicalRegion,
77
- TranscribeMedicalSpecialty: () => TranscribeMedicalSpecialty,
78
- TranscribeMedicalType: () => TranscribeMedicalType,
79
- TranscribePartialResultsStability: () => TranscribePartialResultsStability,
80
- TranscribeRegion: () => TranscribeRegion,
81
- TranscribeVocabularyFilterMethod: () => TranscribeVocabularyFilterMethod,
82
- UnauthorizedException: () => UnauthorizedException,
83
- UnprocessableEntityException: () => UnprocessableEntityException,
84
- UntagResourceCommand: () => UntagResourceCommand,
85
- UpdateAttendeeCapabilitiesCommand: () => UpdateAttendeeCapabilitiesCommand,
86
- UpdateAttendeeCapabilitiesResponseFilterSensitiveLog: () => UpdateAttendeeCapabilitiesResponseFilterSensitiveLog,
87
- VideoResolution: () => VideoResolution,
88
- __Client: () => import_smithy_client.Client,
89
- paginateListAttendees: () => paginateListAttendees
90
- });
91
- module.exports = __toCommonJS(index_exports);
92
-
93
- // src/ChimeSDKMeetingsClient.ts
94
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
95
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
96
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
97
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
98
- var import_config_resolver = require("@smithy/config-resolver");
99
- var import_core = require("@smithy/core");
100
- var import_middleware_content_length = require("@smithy/middleware-content-length");
101
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
102
- var import_middleware_retry = require("@smithy/middleware-retry");
103
-
104
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
105
-
106
- // src/endpoint/EndpointParameters.ts
107
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
108
- return Object.assign(options, {
109
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
110
- useFipsEndpoint: options.useFipsEndpoint ?? false,
111
- defaultSigningName: "chime"
112
- });
113
- }, "resolveClientEndpointParameters");
114
- var commonParams = {
115
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
116
- Endpoint: { type: "builtInParams", name: "endpoint" },
117
- Region: { type: "builtInParams", name: "region" },
118
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+ var uuid = require('@smithy/uuid');
20
+
21
+ const resolveClientEndpointParameters = (options) => {
22
+ return Object.assign(options, {
23
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
24
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
25
+ defaultSigningName: "chime",
26
+ });
27
+ };
28
+ const commonParams = {
29
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
30
+ Endpoint: { type: "builtInParams", name: "endpoint" },
31
+ Region: { type: "builtInParams", name: "region" },
32
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
119
33
  };
120
34
 
121
- // src/ChimeSDKMeetingsClient.ts
122
- var import_runtimeConfig = require("././runtimeConfig");
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
123
73
 
124
- // src/runtimeExtensions.ts
125
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
126
- var import_protocol_http = require("@smithy/protocol-http");
127
- var import_smithy_client = require("@smithy/smithy-client");
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
128
79
 
129
- // src/auth/httpAuthExtensionConfiguration.ts
130
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
131
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
132
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
133
- let _credentials = runtimeConfig.credentials;
134
- return {
135
- setHttpAuthScheme(httpAuthScheme) {
136
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
137
- if (index === -1) {
138
- _httpAuthSchemes.push(httpAuthScheme);
139
- } else {
140
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
141
- }
142
- },
143
- httpAuthSchemes() {
144
- return _httpAuthSchemes;
145
- },
146
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
147
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
148
- },
149
- httpAuthSchemeProvider() {
150
- return _httpAuthSchemeProvider;
151
- },
152
- setCredentials(credentials) {
153
- _credentials = credentials;
154
- },
155
- credentials() {
156
- return _credentials;
80
+ class ChimeSDKMeetingsClient extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
+ this.config = _config_8;
95
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultChimeSDKMeetingsHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
104
+ "aws.auth#sigv4": config.credentials,
105
+ }),
106
+ }));
107
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
157
108
  }
158
- };
159
- }, "getHttpAuthExtensionConfiguration");
160
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
161
- return {
162
- httpAuthSchemes: config.httpAuthSchemes(),
163
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
164
- credentials: config.credentials()
165
- };
166
- }, "resolveHttpAuthRuntimeConfig");
109
+ destroy() {
110
+ super.destroy();
111
+ }
112
+ }
167
113
 
168
- // src/runtimeExtensions.ts
169
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
170
- const extensionConfiguration = Object.assign(
171
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
172
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
173
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
174
- getHttpAuthExtensionConfiguration(runtimeConfig)
175
- );
176
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
177
- return Object.assign(
178
- runtimeConfig,
179
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
180
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
181
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
182
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
183
- );
184
- }, "resolveRuntimeExtensions");
114
+ class ChimeSDKMeetingsServiceException extends smithyClient.ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, ChimeSDKMeetingsServiceException.prototype);
118
+ }
119
+ }
185
120
 
186
- // src/ChimeSDKMeetingsClient.ts
187
- var ChimeSDKMeetingsClient = class extends import_smithy_client.Client {
188
- static {
189
- __name(this, "ChimeSDKMeetingsClient");
190
- }
191
- /**
192
- * The resolved configuration of ChimeSDKMeetingsClient class. This is resolved and normalized from the {@link ChimeSDKMeetingsClientConfig | constructor configuration interface}.
193
- */
194
- config;
195
- constructor(...[configuration]) {
196
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
197
- super(_config_0);
198
- this.initConfig = _config_0;
199
- const _config_1 = resolveClientEndpointParameters(_config_0);
200
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
201
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
202
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
203
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
204
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
205
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
206
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
207
- this.config = _config_8;
208
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
209
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
210
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
211
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
212
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
213
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
214
- this.middlewareStack.use(
215
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
216
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultChimeSDKMeetingsHttpAuthSchemeParametersProvider,
217
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
218
- "aws.auth#sigv4": config.credentials
219
- }), "identityProviderConfigProvider")
220
- })
221
- );
222
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
223
- }
224
- /**
225
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
226
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
227
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
228
- */
229
- destroy() {
230
- super.destroy();
231
- }
121
+ const MediaCapabilities = {
122
+ NONE: "None",
123
+ RECEIVE: "Receive",
124
+ SEND: "Send",
125
+ SEND_RECEIVE: "SendReceive",
232
126
  };
233
-
234
- // src/ChimeSDKMeetings.ts
235
-
236
-
237
- // src/commands/BatchCreateAttendeeCommand.ts
238
-
239
- var import_middleware_serde = require("@smithy/middleware-serde");
240
-
241
-
242
- // src/models/models_0.ts
243
-
244
-
245
- // src/models/ChimeSDKMeetingsServiceException.ts
246
-
247
- var ChimeSDKMeetingsServiceException = class _ChimeSDKMeetingsServiceException extends import_smithy_client.ServiceException {
248
- static {
249
- __name(this, "ChimeSDKMeetingsServiceException");
250
- }
251
- /**
252
- * @internal
253
- */
254
- constructor(options) {
255
- super(options);
256
- Object.setPrototypeOf(this, _ChimeSDKMeetingsServiceException.prototype);
257
- }
127
+ const MeetingFeatureStatus = {
128
+ AVAILABLE: "AVAILABLE",
129
+ UNAVAILABLE: "UNAVAILABLE",
258
130
  };
131
+ class BadRequestException extends ChimeSDKMeetingsServiceException {
132
+ name = "BadRequestException";
133
+ $fault = "client";
134
+ Code;
135
+ Message;
136
+ RequestId;
137
+ constructor(opts) {
138
+ super({
139
+ name: "BadRequestException",
140
+ $fault: "client",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, BadRequestException.prototype);
144
+ this.Code = opts.Code;
145
+ this.Message = opts.Message;
146
+ this.RequestId = opts.RequestId;
147
+ }
148
+ }
149
+ class ForbiddenException extends ChimeSDKMeetingsServiceException {
150
+ name = "ForbiddenException";
151
+ $fault = "client";
152
+ Code;
153
+ Message;
154
+ RequestId;
155
+ constructor(opts) {
156
+ super({
157
+ name: "ForbiddenException",
158
+ $fault: "client",
159
+ ...opts,
160
+ });
161
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
162
+ this.Code = opts.Code;
163
+ this.Message = opts.Message;
164
+ this.RequestId = opts.RequestId;
165
+ }
166
+ }
167
+ class LimitExceededException extends ChimeSDKMeetingsServiceException {
168
+ name = "LimitExceededException";
169
+ $fault = "client";
170
+ Code;
171
+ Message;
172
+ RequestId;
173
+ constructor(opts) {
174
+ super({
175
+ name: "LimitExceededException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
180
+ this.Code = opts.Code;
181
+ this.Message = opts.Message;
182
+ this.RequestId = opts.RequestId;
183
+ }
184
+ }
185
+ class NotFoundException extends ChimeSDKMeetingsServiceException {
186
+ name = "NotFoundException";
187
+ $fault = "client";
188
+ Code;
189
+ Message;
190
+ RequestId;
191
+ constructor(opts) {
192
+ super({
193
+ name: "NotFoundException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, NotFoundException.prototype);
198
+ this.Code = opts.Code;
199
+ this.Message = opts.Message;
200
+ this.RequestId = opts.RequestId;
201
+ }
202
+ }
203
+ class ServiceFailureException extends ChimeSDKMeetingsServiceException {
204
+ name = "ServiceFailureException";
205
+ $fault = "server";
206
+ Code;
207
+ Message;
208
+ RequestId;
209
+ constructor(opts) {
210
+ super({
211
+ name: "ServiceFailureException",
212
+ $fault: "server",
213
+ ...opts,
214
+ });
215
+ Object.setPrototypeOf(this, ServiceFailureException.prototype);
216
+ this.Code = opts.Code;
217
+ this.Message = opts.Message;
218
+ this.RequestId = opts.RequestId;
219
+ }
220
+ }
221
+ class ServiceUnavailableException extends ChimeSDKMeetingsServiceException {
222
+ name = "ServiceUnavailableException";
223
+ $fault = "server";
224
+ Code;
225
+ Message;
226
+ RequestId;
227
+ RetryAfterSeconds;
228
+ constructor(opts) {
229
+ super({
230
+ name: "ServiceUnavailableException",
231
+ $fault: "server",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
235
+ this.Code = opts.Code;
236
+ this.Message = opts.Message;
237
+ this.RequestId = opts.RequestId;
238
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
239
+ }
240
+ }
241
+ class ThrottlingException extends ChimeSDKMeetingsServiceException {
242
+ name = "ThrottlingException";
243
+ $fault = "client";
244
+ Code;
245
+ Message;
246
+ RequestId;
247
+ constructor(opts) {
248
+ super({
249
+ name: "ThrottlingException",
250
+ $fault: "client",
251
+ ...opts,
252
+ });
253
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
254
+ this.Code = opts.Code;
255
+ this.Message = opts.Message;
256
+ this.RequestId = opts.RequestId;
257
+ }
258
+ }
259
+ class UnauthorizedException extends ChimeSDKMeetingsServiceException {
260
+ name = "UnauthorizedException";
261
+ $fault = "client";
262
+ Code;
263
+ Message;
264
+ RequestId;
265
+ constructor(opts) {
266
+ super({
267
+ name: "UnauthorizedException",
268
+ $fault: "client",
269
+ ...opts,
270
+ });
271
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
272
+ this.Code = opts.Code;
273
+ this.Message = opts.Message;
274
+ this.RequestId = opts.RequestId;
275
+ }
276
+ }
277
+ class UnprocessableEntityException extends ChimeSDKMeetingsServiceException {
278
+ name = "UnprocessableEntityException";
279
+ $fault = "client";
280
+ Code;
281
+ Message;
282
+ RequestId;
283
+ constructor(opts) {
284
+ super({
285
+ name: "UnprocessableEntityException",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
290
+ this.Code = opts.Code;
291
+ this.Message = opts.Message;
292
+ this.RequestId = opts.RequestId;
293
+ }
294
+ }
295
+ class ConflictException extends ChimeSDKMeetingsServiceException {
296
+ name = "ConflictException";
297
+ $fault = "client";
298
+ Code;
299
+ Message;
300
+ RequestId;
301
+ constructor(opts) {
302
+ super({
303
+ name: "ConflictException",
304
+ $fault: "client",
305
+ ...opts,
306
+ });
307
+ Object.setPrototypeOf(this, ConflictException.prototype);
308
+ this.Code = opts.Code;
309
+ this.Message = opts.Message;
310
+ this.RequestId = opts.RequestId;
311
+ }
312
+ }
313
+ const MediaPlacementNetworkType = {
314
+ DUAL_STACK: "DualStack",
315
+ IPV4_ONLY: "Ipv4Only",
316
+ };
317
+ const ContentResolution = {
318
+ FHD: "FHD",
319
+ NONE: "None",
320
+ UHD: "UHD",
321
+ };
322
+ const VideoResolution = {
323
+ FHD: "FHD",
324
+ HD: "HD",
325
+ NONE: "None",
326
+ };
327
+ class ResourceNotFoundException extends ChimeSDKMeetingsServiceException {
328
+ name = "ResourceNotFoundException";
329
+ $fault = "client";
330
+ Code;
331
+ Message;
332
+ RequestId;
333
+ ResourceName;
334
+ constructor(opts) {
335
+ super({
336
+ name: "ResourceNotFoundException",
337
+ $fault: "client",
338
+ ...opts,
339
+ });
340
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
341
+ this.Code = opts.Code;
342
+ this.Message = opts.Message;
343
+ this.RequestId = opts.RequestId;
344
+ this.ResourceName = opts.ResourceName;
345
+ }
346
+ }
347
+ const TranscribeMedicalContentIdentificationType = {
348
+ PHI: "PHI",
349
+ };
350
+ const TranscribeMedicalLanguageCode = {
351
+ EN_US: "en-US",
352
+ };
353
+ const TranscribeMedicalRegion = {
354
+ AP_SOUTHEAST_2: "ap-southeast-2",
355
+ AUTO: "auto",
356
+ CA_CENTRAL_1: "ca-central-1",
357
+ EU_WEST_1: "eu-west-1",
358
+ US_EAST_1: "us-east-1",
359
+ US_EAST_2: "us-east-2",
360
+ US_WEST_2: "us-west-2",
361
+ };
362
+ const TranscribeMedicalSpecialty = {
363
+ CARDIOLOGY: "CARDIOLOGY",
364
+ NEUROLOGY: "NEUROLOGY",
365
+ ONCOLOGY: "ONCOLOGY",
366
+ PRIMARYCARE: "PRIMARYCARE",
367
+ RADIOLOGY: "RADIOLOGY",
368
+ UROLOGY: "UROLOGY",
369
+ };
370
+ const TranscribeMedicalType = {
371
+ CONVERSATION: "CONVERSATION",
372
+ DICTATION: "DICTATION",
373
+ };
374
+ const TranscribeContentIdentificationType = {
375
+ PII: "PII",
376
+ };
377
+ const TranscribeContentRedactionType = {
378
+ PII: "PII",
379
+ };
380
+ const TranscribeLanguageCode = {
381
+ DE_DE: "de-DE",
382
+ EN_AU: "en-AU",
383
+ EN_GB: "en-GB",
384
+ EN_US: "en-US",
385
+ ES_US: "es-US",
386
+ FR_CA: "fr-CA",
387
+ FR_FR: "fr-FR",
388
+ HI_IN: "hi-IN",
389
+ IT_IT: "it-IT",
390
+ JA_JP: "ja-JP",
391
+ KO_KR: "ko-KR",
392
+ PT_BR: "pt-BR",
393
+ TH_TH: "th-TH",
394
+ ZH_CN: "zh-CN",
395
+ };
396
+ const TranscribePartialResultsStability = {
397
+ HIGH: "high",
398
+ LOW: "low",
399
+ MEDIUM: "medium",
400
+ };
401
+ const TranscribeRegion = {
402
+ AP_NORTHEAST_1: "ap-northeast-1",
403
+ AP_NORTHEAST_2: "ap-northeast-2",
404
+ AP_SOUTHEAST_2: "ap-southeast-2",
405
+ AUTO: "auto",
406
+ CA_CENTRAL_1: "ca-central-1",
407
+ EU_CENTRAL_1: "eu-central-1",
408
+ EU_WEST_1: "eu-west-1",
409
+ EU_WEST_2: "eu-west-2",
410
+ SA_EAST_1: "sa-east-1",
411
+ US_EAST_1: "us-east-1",
412
+ US_EAST_2: "us-east-2",
413
+ US_GOV_WEST_1: "us-gov-west-1",
414
+ US_WEST_2: "us-west-2",
415
+ };
416
+ const TranscribeVocabularyFilterMethod = {
417
+ MASK: "mask",
418
+ REMOVE: "remove",
419
+ TAG: "tag",
420
+ };
421
+ class TooManyTagsException extends ChimeSDKMeetingsServiceException {
422
+ name = "TooManyTagsException";
423
+ $fault = "client";
424
+ Code;
425
+ Message;
426
+ RequestId;
427
+ ResourceName;
428
+ constructor(opts) {
429
+ super({
430
+ name: "TooManyTagsException",
431
+ $fault: "client",
432
+ ...opts,
433
+ });
434
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
435
+ this.Code = opts.Code;
436
+ this.Message = opts.Message;
437
+ this.RequestId = opts.RequestId;
438
+ this.ResourceName = opts.ResourceName;
439
+ }
440
+ }
441
+ const AttendeeFilterSensitiveLog = (obj) => ({
442
+ ...obj,
443
+ ...(obj.ExternalUserId && { ExternalUserId: smithyClient.SENSITIVE_STRING }),
444
+ ...(obj.JoinToken && { JoinToken: smithyClient.SENSITIVE_STRING }),
445
+ });
446
+ const CreateAttendeeRequestItemFilterSensitiveLog = (obj) => ({
447
+ ...obj,
448
+ ...(obj.ExternalUserId && { ExternalUserId: smithyClient.SENSITIVE_STRING }),
449
+ });
450
+ const BatchCreateAttendeeRequestFilterSensitiveLog = (obj) => ({
451
+ ...obj,
452
+ ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }),
453
+ });
454
+ const CreateAttendeeErrorFilterSensitiveLog = (obj) => ({
455
+ ...obj,
456
+ ...(obj.ExternalUserId && { ExternalUserId: smithyClient.SENSITIVE_STRING }),
457
+ });
458
+ const BatchCreateAttendeeResponseFilterSensitiveLog = (obj) => ({
459
+ ...obj,
460
+ ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }),
461
+ ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }),
462
+ });
463
+ const CreateAttendeeRequestFilterSensitiveLog = (obj) => ({
464
+ ...obj,
465
+ ...(obj.ExternalUserId && { ExternalUserId: smithyClient.SENSITIVE_STRING }),
466
+ });
467
+ const CreateAttendeeResponseFilterSensitiveLog = (obj) => ({
468
+ ...obj,
469
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
470
+ });
471
+ const NotificationsConfigurationFilterSensitiveLog = (obj) => ({
472
+ ...obj,
473
+ ...(obj.LambdaFunctionArn && { LambdaFunctionArn: smithyClient.SENSITIVE_STRING }),
474
+ ...(obj.SnsTopicArn && { SnsTopicArn: smithyClient.SENSITIVE_STRING }),
475
+ ...(obj.SqsQueueArn && { SqsQueueArn: smithyClient.SENSITIVE_STRING }),
476
+ });
477
+ const CreateMeetingRequestFilterSensitiveLog = (obj) => ({
478
+ ...obj,
479
+ ...(obj.ClientRequestToken && { ClientRequestToken: smithyClient.SENSITIVE_STRING }),
480
+ ...(obj.MeetingHostId && { MeetingHostId: smithyClient.SENSITIVE_STRING }),
481
+ ...(obj.ExternalMeetingId && { ExternalMeetingId: smithyClient.SENSITIVE_STRING }),
482
+ ...(obj.NotificationsConfiguration && {
483
+ NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration),
484
+ }),
485
+ });
486
+ const MeetingFilterSensitiveLog = (obj) => ({
487
+ ...obj,
488
+ ...(obj.MeetingHostId && { MeetingHostId: smithyClient.SENSITIVE_STRING }),
489
+ ...(obj.ExternalMeetingId && { ExternalMeetingId: smithyClient.SENSITIVE_STRING }),
490
+ });
491
+ const CreateMeetingResponseFilterSensitiveLog = (obj) => ({
492
+ ...obj,
493
+ ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }),
494
+ });
495
+ const CreateMeetingWithAttendeesRequestFilterSensitiveLog = (obj) => ({
496
+ ...obj,
497
+ ...(obj.ClientRequestToken && { ClientRequestToken: smithyClient.SENSITIVE_STRING }),
498
+ ...(obj.MeetingHostId && { MeetingHostId: smithyClient.SENSITIVE_STRING }),
499
+ ...(obj.ExternalMeetingId && { ExternalMeetingId: smithyClient.SENSITIVE_STRING }),
500
+ ...(obj.NotificationsConfiguration && {
501
+ NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration),
502
+ }),
503
+ ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }),
504
+ });
505
+ const CreateMeetingWithAttendeesResponseFilterSensitiveLog = (obj) => ({
506
+ ...obj,
507
+ ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }),
508
+ ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }),
509
+ ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }),
510
+ });
511
+ const GetAttendeeResponseFilterSensitiveLog = (obj) => ({
512
+ ...obj,
513
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
514
+ });
515
+ const GetMeetingResponseFilterSensitiveLog = (obj) => ({
516
+ ...obj,
517
+ ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }),
518
+ });
519
+ const ListAttendeesResponseFilterSensitiveLog = (obj) => ({
520
+ ...obj,
521
+ ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }),
522
+ });
523
+ const UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = (obj) => ({
524
+ ...obj,
525
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
526
+ });
259
527
 
260
- // src/models/models_0.ts
261
- var MediaCapabilities = {
262
- NONE: "None",
263
- RECEIVE: "Receive",
264
- SEND: "Send",
265
- SEND_RECEIVE: "SendReceive"
266
- };
267
- var MeetingFeatureStatus = {
268
- AVAILABLE: "AVAILABLE",
269
- UNAVAILABLE: "UNAVAILABLE"
270
- };
271
- var BadRequestException = class _BadRequestException extends ChimeSDKMeetingsServiceException {
272
- static {
273
- __name(this, "BadRequestException");
274
- }
275
- name = "BadRequestException";
276
- $fault = "client";
277
- Code;
278
- Message;
279
- /**
280
- * <p>The request id associated with the call responsible for the exception.</p>
281
- * @public
282
- */
283
- RequestId;
284
- /**
285
- * @internal
286
- */
287
- constructor(opts) {
288
- super({
289
- name: "BadRequestException",
290
- $fault: "client",
291
- ...opts
528
+ const se_BatchCreateAttendeeCommand = async (input, context) => {
529
+ const b = core.requestBuilder(input, context);
530
+ const headers = {
531
+ "content-type": "application/json",
532
+ };
533
+ b.bp("/meetings/{MeetingId}/attendees");
534
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
535
+ const query = smithyClient.map({
536
+ [_o]: [, "batch-create"],
292
537
  });
293
- Object.setPrototypeOf(this, _BadRequestException.prototype);
294
- this.Code = opts.Code;
295
- this.Message = opts.Message;
296
- this.RequestId = opts.RequestId;
297
- }
298
- };
299
- var ForbiddenException = class _ForbiddenException extends ChimeSDKMeetingsServiceException {
300
- static {
301
- __name(this, "ForbiddenException");
302
- }
303
- name = "ForbiddenException";
304
- $fault = "client";
305
- Code;
306
- Message;
307
- /**
308
- * <p>The request id associated with the call responsible for the exception.</p>
309
- * @public
310
- */
311
- RequestId;
312
- /**
313
- * @internal
314
- */
315
- constructor(opts) {
316
- super({
317
- name: "ForbiddenException",
318
- $fault: "client",
319
- ...opts
538
+ let body;
539
+ body = JSON.stringify(smithyClient.take(input, {
540
+ Attendees: (_) => smithyClient._json(_),
541
+ }));
542
+ b.m("POST").h(headers).q(query).b(body);
543
+ return b.build();
544
+ };
545
+ const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
546
+ const b = core.requestBuilder(input, context);
547
+ const headers = {
548
+ "content-type": "application/json",
549
+ };
550
+ b.bp("/meetings/{MeetingId}/attendees/capabilities");
551
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
552
+ const query = smithyClient.map({
553
+ [_o]: [, "batch-update-except"],
320
554
  });
321
- Object.setPrototypeOf(this, _ForbiddenException.prototype);
322
- this.Code = opts.Code;
323
- this.Message = opts.Message;
324
- this.RequestId = opts.RequestId;
325
- }
326
- };
327
- var LimitExceededException = class _LimitExceededException extends ChimeSDKMeetingsServiceException {
328
- static {
329
- __name(this, "LimitExceededException");
330
- }
331
- name = "LimitExceededException";
332
- $fault = "client";
333
- Code;
334
- Message;
335
- /**
336
- * <p>The request id associated with the call responsible for the exception.</p>
337
- * @public
338
- */
339
- RequestId;
340
- /**
341
- * @internal
342
- */
343
- constructor(opts) {
344
- super({
345
- name: "LimitExceededException",
346
- $fault: "client",
347
- ...opts
555
+ let body;
556
+ body = JSON.stringify(smithyClient.take(input, {
557
+ Capabilities: (_) => smithyClient._json(_),
558
+ ExcludedAttendeeIds: (_) => smithyClient._json(_),
559
+ }));
560
+ b.m("PUT").h(headers).q(query).b(body);
561
+ return b.build();
562
+ };
563
+ const se_CreateAttendeeCommand = async (input, context) => {
564
+ const b = core.requestBuilder(input, context);
565
+ const headers = {
566
+ "content-type": "application/json",
567
+ };
568
+ b.bp("/meetings/{MeetingId}/attendees");
569
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
570
+ let body;
571
+ body = JSON.stringify(smithyClient.take(input, {
572
+ Capabilities: (_) => smithyClient._json(_),
573
+ ExternalUserId: [],
574
+ }));
575
+ b.m("POST").h(headers).b(body);
576
+ return b.build();
577
+ };
578
+ const se_CreateMeetingCommand = async (input, context) => {
579
+ const b = core.requestBuilder(input, context);
580
+ const headers = {
581
+ "content-type": "application/json",
582
+ };
583
+ b.bp("/meetings");
584
+ let body;
585
+ body = JSON.stringify(smithyClient.take(input, {
586
+ ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
587
+ ExternalMeetingId: [],
588
+ MediaPlacementNetworkType: [],
589
+ MediaRegion: [],
590
+ MeetingFeatures: (_) => smithyClient._json(_),
591
+ MeetingHostId: [],
592
+ NotificationsConfiguration: (_) => smithyClient._json(_),
593
+ PrimaryMeetingId: [],
594
+ Tags: (_) => smithyClient._json(_),
595
+ TenantIds: (_) => smithyClient._json(_),
596
+ }));
597
+ b.m("POST").h(headers).b(body);
598
+ return b.build();
599
+ };
600
+ const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
601
+ const b = core.requestBuilder(input, context);
602
+ const headers = {
603
+ "content-type": "application/json",
604
+ };
605
+ b.bp("/meetings");
606
+ const query = smithyClient.map({
607
+ [_o]: [, "create-attendees"],
348
608
  });
349
- Object.setPrototypeOf(this, _LimitExceededException.prototype);
350
- this.Code = opts.Code;
351
- this.Message = opts.Message;
352
- this.RequestId = opts.RequestId;
353
- }
354
- };
355
- var NotFoundException = class _NotFoundException extends ChimeSDKMeetingsServiceException {
356
- static {
357
- __name(this, "NotFoundException");
358
- }
359
- name = "NotFoundException";
360
- $fault = "client";
361
- Code;
362
- Message;
363
- /**
364
- * <p>The request ID associated with the call responsible for the exception.</p>
365
- * @public
366
- */
367
- RequestId;
368
- /**
369
- * @internal
370
- */
371
- constructor(opts) {
372
- super({
373
- name: "NotFoundException",
374
- $fault: "client",
375
- ...opts
609
+ let body;
610
+ body = JSON.stringify(smithyClient.take(input, {
611
+ Attendees: (_) => smithyClient._json(_),
612
+ ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
613
+ ExternalMeetingId: [],
614
+ MediaPlacementNetworkType: [],
615
+ MediaRegion: [],
616
+ MeetingFeatures: (_) => smithyClient._json(_),
617
+ MeetingHostId: [],
618
+ NotificationsConfiguration: (_) => smithyClient._json(_),
619
+ PrimaryMeetingId: [],
620
+ Tags: (_) => smithyClient._json(_),
621
+ TenantIds: (_) => smithyClient._json(_),
622
+ }));
623
+ b.m("POST").h(headers).q(query).b(body);
624
+ return b.build();
625
+ };
626
+ const se_DeleteAttendeeCommand = async (input, context) => {
627
+ const b = core.requestBuilder(input, context);
628
+ const headers = {};
629
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
630
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
631
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
632
+ let body;
633
+ b.m("DELETE").h(headers).b(body);
634
+ return b.build();
635
+ };
636
+ const se_DeleteMeetingCommand = async (input, context) => {
637
+ const b = core.requestBuilder(input, context);
638
+ const headers = {};
639
+ b.bp("/meetings/{MeetingId}");
640
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
641
+ let body;
642
+ b.m("DELETE").h(headers).b(body);
643
+ return b.build();
644
+ };
645
+ const se_GetAttendeeCommand = async (input, context) => {
646
+ const b = core.requestBuilder(input, context);
647
+ const headers = {};
648
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
649
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
650
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
651
+ let body;
652
+ b.m("GET").h(headers).b(body);
653
+ return b.build();
654
+ };
655
+ const se_GetMeetingCommand = async (input, context) => {
656
+ const b = core.requestBuilder(input, context);
657
+ const headers = {};
658
+ b.bp("/meetings/{MeetingId}");
659
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
660
+ let body;
661
+ b.m("GET").h(headers).b(body);
662
+ return b.build();
663
+ };
664
+ const se_ListAttendeesCommand = async (input, context) => {
665
+ const b = core.requestBuilder(input, context);
666
+ const headers = {};
667
+ b.bp("/meetings/{MeetingId}/attendees");
668
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
669
+ const query = smithyClient.map({
670
+ [_nt]: [, input[_NT]],
671
+ [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
376
672
  });
377
- Object.setPrototypeOf(this, _NotFoundException.prototype);
378
- this.Code = opts.Code;
379
- this.Message = opts.Message;
380
- this.RequestId = opts.RequestId;
381
- }
382
- };
383
- var ServiceFailureException = class _ServiceFailureException extends ChimeSDKMeetingsServiceException {
384
- static {
385
- __name(this, "ServiceFailureException");
386
- }
387
- name = "ServiceFailureException";
388
- $fault = "server";
389
- Code;
390
- Message;
391
- /**
392
- * <p>The ID of the failed request.</p>
393
- * @public
394
- */
395
- RequestId;
396
- /**
397
- * @internal
398
- */
399
- constructor(opts) {
400
- super({
401
- name: "ServiceFailureException",
402
- $fault: "server",
403
- ...opts
673
+ let body;
674
+ b.m("GET").h(headers).q(query).b(body);
675
+ return b.build();
676
+ };
677
+ const se_ListTagsForResourceCommand = async (input, context) => {
678
+ const b = core.requestBuilder(input, context);
679
+ const headers = {};
680
+ b.bp("/tags");
681
+ const query = smithyClient.map({
682
+ [_a]: [, smithyClient.expectNonNull(input[_RARN], `ResourceARN`)],
404
683
  });
405
- Object.setPrototypeOf(this, _ServiceFailureException.prototype);
406
- this.Code = opts.Code;
407
- this.Message = opts.Message;
408
- this.RequestId = opts.RequestId;
409
- }
410
- };
411
- var ServiceUnavailableException = class _ServiceUnavailableException extends ChimeSDKMeetingsServiceException {
412
- static {
413
- __name(this, "ServiceUnavailableException");
414
- }
415
- name = "ServiceUnavailableException";
416
- $fault = "server";
417
- Code;
418
- Message;
419
- /**
420
- * <p>The request id associated with the call responsible for the exception.</p>
421
- * @public
422
- */
423
- RequestId;
424
- /**
425
- * <p>The number of seconds the caller should wait before retrying.</p>
426
- * @public
427
- */
428
- RetryAfterSeconds;
429
- /**
430
- * @internal
431
- */
432
- constructor(opts) {
433
- super({
434
- name: "ServiceUnavailableException",
435
- $fault: "server",
436
- ...opts
684
+ let body;
685
+ b.m("GET").h(headers).q(query).b(body);
686
+ return b.build();
687
+ };
688
+ const se_StartMeetingTranscriptionCommand = async (input, context) => {
689
+ const b = core.requestBuilder(input, context);
690
+ const headers = {
691
+ "content-type": "application/json",
692
+ };
693
+ b.bp("/meetings/{MeetingId}/transcription");
694
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
695
+ const query = smithyClient.map({
696
+ [_o]: [, "start"],
437
697
  });
438
- Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
439
- this.Code = opts.Code;
440
- this.Message = opts.Message;
441
- this.RequestId = opts.RequestId;
442
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
443
- }
444
- };
445
- var ThrottlingException = class _ThrottlingException extends ChimeSDKMeetingsServiceException {
446
- static {
447
- __name(this, "ThrottlingException");
448
- }
449
- name = "ThrottlingException";
450
- $fault = "client";
451
- Code;
452
- Message;
453
- /**
454
- * <p>The ID of the request that exceeded the throttling limit.</p>
455
- * @public
456
- */
457
- RequestId;
458
- /**
459
- * @internal
460
- */
461
- constructor(opts) {
462
- super({
463
- name: "ThrottlingException",
464
- $fault: "client",
465
- ...opts
698
+ let body;
699
+ body = JSON.stringify(smithyClient.take(input, {
700
+ TranscriptionConfiguration: (_) => smithyClient._json(_),
701
+ }));
702
+ b.m("POST").h(headers).q(query).b(body);
703
+ return b.build();
704
+ };
705
+ const se_StopMeetingTranscriptionCommand = async (input, context) => {
706
+ const b = core.requestBuilder(input, context);
707
+ const headers = {};
708
+ b.bp("/meetings/{MeetingId}/transcription");
709
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
710
+ const query = smithyClient.map({
711
+ [_o]: [, "stop"],
466
712
  });
467
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
468
- this.Code = opts.Code;
469
- this.Message = opts.Message;
470
- this.RequestId = opts.RequestId;
471
- }
472
- };
473
- var UnauthorizedException = class _UnauthorizedException extends ChimeSDKMeetingsServiceException {
474
- static {
475
- __name(this, "UnauthorizedException");
476
- }
477
- name = "UnauthorizedException";
478
- $fault = "client";
479
- Code;
480
- Message;
481
- /**
482
- * <p>The request id associated with the call responsible for the exception.</p>
483
- * @public
484
- */
485
- RequestId;
486
- /**
487
- * @internal
488
- */
489
- constructor(opts) {
490
- super({
491
- name: "UnauthorizedException",
492
- $fault: "client",
493
- ...opts
713
+ let body;
714
+ b.m("POST").h(headers).q(query).b(body);
715
+ return b.build();
716
+ };
717
+ const se_TagResourceCommand = async (input, context) => {
718
+ const b = core.requestBuilder(input, context);
719
+ const headers = {
720
+ "content-type": "application/json",
721
+ };
722
+ b.bp("/tags");
723
+ const query = smithyClient.map({
724
+ [_o]: [, "tag-resource"],
494
725
  });
495
- Object.setPrototypeOf(this, _UnauthorizedException.prototype);
496
- this.Code = opts.Code;
497
- this.Message = opts.Message;
498
- this.RequestId = opts.RequestId;
499
- }
500
- };
501
- var UnprocessableEntityException = class _UnprocessableEntityException extends ChimeSDKMeetingsServiceException {
502
- static {
503
- __name(this, "UnprocessableEntityException");
504
- }
505
- name = "UnprocessableEntityException";
506
- $fault = "client";
507
- Code;
508
- Message;
509
- /**
510
- * <p>The request id associated with the call responsible for the exception.</p>
511
- * @public
512
- */
513
- RequestId;
514
- /**
515
- * @internal
516
- */
517
- constructor(opts) {
518
- super({
519
- name: "UnprocessableEntityException",
520
- $fault: "client",
521
- ...opts
726
+ let body;
727
+ body = JSON.stringify(smithyClient.take(input, {
728
+ ResourceARN: [],
729
+ Tags: (_) => smithyClient._json(_),
730
+ }));
731
+ b.m("POST").h(headers).q(query).b(body);
732
+ return b.build();
733
+ };
734
+ const se_UntagResourceCommand = async (input, context) => {
735
+ const b = core.requestBuilder(input, context);
736
+ const headers = {
737
+ "content-type": "application/json",
738
+ };
739
+ b.bp("/tags");
740
+ const query = smithyClient.map({
741
+ [_o]: [, "untag-resource"],
522
742
  });
523
- Object.setPrototypeOf(this, _UnprocessableEntityException.prototype);
524
- this.Code = opts.Code;
525
- this.Message = opts.Message;
526
- this.RequestId = opts.RequestId;
527
- }
528
- };
529
- var ConflictException = class _ConflictException extends ChimeSDKMeetingsServiceException {
530
- static {
531
- __name(this, "ConflictException");
532
- }
533
- name = "ConflictException";
534
- $fault = "client";
535
- Code;
536
- Message;
537
- /**
538
- * <p>The ID of the request involved in the conflict.</p>
539
- * @public
540
- */
541
- RequestId;
542
- /**
543
- * @internal
544
- */
545
- constructor(opts) {
546
- super({
547
- name: "ConflictException",
548
- $fault: "client",
549
- ...opts
743
+ let body;
744
+ body = JSON.stringify(smithyClient.take(input, {
745
+ ResourceARN: [],
746
+ TagKeys: (_) => smithyClient._json(_),
747
+ }));
748
+ b.m("POST").h(headers).q(query).b(body);
749
+ return b.build();
750
+ };
751
+ const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
752
+ const b = core.requestBuilder(input, context);
753
+ const headers = {
754
+ "content-type": "application/json",
755
+ };
756
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities");
757
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
758
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
759
+ let body;
760
+ body = JSON.stringify(smithyClient.take(input, {
761
+ Capabilities: (_) => smithyClient._json(_),
762
+ }));
763
+ b.m("PUT").h(headers).b(body);
764
+ return b.build();
765
+ };
766
+ const de_BatchCreateAttendeeCommand = async (output, context) => {
767
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
768
+ return de_CommandError(output, context);
769
+ }
770
+ const contents = smithyClient.map({
771
+ $metadata: deserializeMetadata(output),
550
772
  });
551
- Object.setPrototypeOf(this, _ConflictException.prototype);
552
- this.Code = opts.Code;
553
- this.Message = opts.Message;
554
- this.RequestId = opts.RequestId;
555
- }
556
- };
557
- var MediaPlacementNetworkType = {
558
- DUAL_STACK: "DualStack",
559
- IPV4_ONLY: "Ipv4Only"
560
- };
561
- var ContentResolution = {
562
- FHD: "FHD",
563
- NONE: "None",
564
- UHD: "UHD"
565
- };
566
- var VideoResolution = {
567
- FHD: "FHD",
568
- HD: "HD",
569
- NONE: "None"
570
- };
571
- var ResourceNotFoundException = class _ResourceNotFoundException extends ChimeSDKMeetingsServiceException {
572
- static {
573
- __name(this, "ResourceNotFoundException");
574
- }
575
- name = "ResourceNotFoundException";
576
- $fault = "client";
577
- Code;
578
- Message;
579
- /**
580
- * <p>The ID of the resource that couldn't be found.</p>
581
- * @public
582
- */
583
- RequestId;
584
- /**
585
- * <p>The name of the resource that couldn't be found.</p>
586
- * @public
587
- */
588
- ResourceName;
589
- /**
590
- * @internal
591
- */
592
- constructor(opts) {
593
- super({
594
- name: "ResourceNotFoundException",
595
- $fault: "client",
596
- ...opts
773
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
774
+ const doc = smithyClient.take(data, {
775
+ Attendees: smithyClient._json,
776
+ Errors: smithyClient._json,
597
777
  });
598
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
599
- this.Code = opts.Code;
600
- this.Message = opts.Message;
601
- this.RequestId = opts.RequestId;
602
- this.ResourceName = opts.ResourceName;
603
- }
604
- };
605
- var TranscribeMedicalContentIdentificationType = {
606
- PHI: "PHI"
607
- };
608
- var TranscribeMedicalLanguageCode = {
609
- EN_US: "en-US"
610
- };
611
- var TranscribeMedicalRegion = {
612
- AP_SOUTHEAST_2: "ap-southeast-2",
613
- AUTO: "auto",
614
- CA_CENTRAL_1: "ca-central-1",
615
- EU_WEST_1: "eu-west-1",
616
- US_EAST_1: "us-east-1",
617
- US_EAST_2: "us-east-2",
618
- US_WEST_2: "us-west-2"
619
- };
620
- var TranscribeMedicalSpecialty = {
621
- CARDIOLOGY: "CARDIOLOGY",
622
- NEUROLOGY: "NEUROLOGY",
623
- ONCOLOGY: "ONCOLOGY",
624
- PRIMARYCARE: "PRIMARYCARE",
625
- RADIOLOGY: "RADIOLOGY",
626
- UROLOGY: "UROLOGY"
627
- };
628
- var TranscribeMedicalType = {
629
- CONVERSATION: "CONVERSATION",
630
- DICTATION: "DICTATION"
631
- };
632
- var TranscribeContentIdentificationType = {
633
- PII: "PII"
634
- };
635
- var TranscribeContentRedactionType = {
636
- PII: "PII"
637
- };
638
- var TranscribeLanguageCode = {
639
- DE_DE: "de-DE",
640
- EN_AU: "en-AU",
641
- EN_GB: "en-GB",
642
- EN_US: "en-US",
643
- ES_US: "es-US",
644
- FR_CA: "fr-CA",
645
- FR_FR: "fr-FR",
646
- HI_IN: "hi-IN",
647
- IT_IT: "it-IT",
648
- JA_JP: "ja-JP",
649
- KO_KR: "ko-KR",
650
- PT_BR: "pt-BR",
651
- TH_TH: "th-TH",
652
- ZH_CN: "zh-CN"
653
- };
654
- var TranscribePartialResultsStability = {
655
- HIGH: "high",
656
- LOW: "low",
657
- MEDIUM: "medium"
658
- };
659
- var TranscribeRegion = {
660
- AP_NORTHEAST_1: "ap-northeast-1",
661
- AP_NORTHEAST_2: "ap-northeast-2",
662
- AP_SOUTHEAST_2: "ap-southeast-2",
663
- AUTO: "auto",
664
- CA_CENTRAL_1: "ca-central-1",
665
- EU_CENTRAL_1: "eu-central-1",
666
- EU_WEST_1: "eu-west-1",
667
- EU_WEST_2: "eu-west-2",
668
- SA_EAST_1: "sa-east-1",
669
- US_EAST_1: "us-east-1",
670
- US_EAST_2: "us-east-2",
671
- US_GOV_WEST_1: "us-gov-west-1",
672
- US_WEST_2: "us-west-2"
673
- };
674
- var TranscribeVocabularyFilterMethod = {
675
- MASK: "mask",
676
- REMOVE: "remove",
677
- TAG: "tag"
678
- };
679
- var TooManyTagsException = class _TooManyTagsException extends ChimeSDKMeetingsServiceException {
680
- static {
681
- __name(this, "TooManyTagsException");
682
- }
683
- name = "TooManyTagsException";
684
- $fault = "client";
685
- Code;
686
- Message;
687
- /**
688
- * <p>The ID of the request that contains too many tags.</p>
689
- * @public
690
- */
691
- RequestId;
692
- /**
693
- * <p>The name of the resource that received too many tags.</p>
694
- * @public
695
- */
696
- ResourceName;
697
- /**
698
- * @internal
699
- */
700
- constructor(opts) {
701
- super({
702
- name: "TooManyTagsException",
703
- $fault: "client",
704
- ...opts
778
+ Object.assign(contents, doc);
779
+ return contents;
780
+ };
781
+ const de_BatchUpdateAttendeeCapabilitiesExceptCommand = async (output, context) => {
782
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
783
+ return de_CommandError(output, context);
784
+ }
785
+ const contents = smithyClient.map({
786
+ $metadata: deserializeMetadata(output),
705
787
  });
706
- Object.setPrototypeOf(this, _TooManyTagsException.prototype);
707
- this.Code = opts.Code;
708
- this.Message = opts.Message;
709
- this.RequestId = opts.RequestId;
710
- this.ResourceName = opts.ResourceName;
711
- }
712
- };
713
- var AttendeeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
714
- ...obj,
715
- ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING },
716
- ...obj.JoinToken && { JoinToken: import_smithy_client.SENSITIVE_STRING }
717
- }), "AttendeeFilterSensitiveLog");
718
- var CreateAttendeeRequestItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
719
- ...obj,
720
- ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
721
- }), "CreateAttendeeRequestItemFilterSensitiveLog");
722
- var BatchCreateAttendeeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
723
- ...obj,
724
- ...obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }
725
- }), "BatchCreateAttendeeRequestFilterSensitiveLog");
726
- var CreateAttendeeErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
727
- ...obj,
728
- ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
729
- }), "CreateAttendeeErrorFilterSensitiveLog");
730
- var BatchCreateAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
731
- ...obj,
732
- ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) },
733
- ...obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }
734
- }), "BatchCreateAttendeeResponseFilterSensitiveLog");
735
- var CreateAttendeeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
736
- ...obj,
737
- ...obj.ExternalUserId && { ExternalUserId: import_smithy_client.SENSITIVE_STRING }
738
- }), "CreateAttendeeRequestFilterSensitiveLog");
739
- var CreateAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
740
- ...obj,
741
- ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
742
- }), "CreateAttendeeResponseFilterSensitiveLog");
743
- var NotificationsConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
744
- ...obj,
745
- ...obj.LambdaFunctionArn && { LambdaFunctionArn: import_smithy_client.SENSITIVE_STRING },
746
- ...obj.SnsTopicArn && { SnsTopicArn: import_smithy_client.SENSITIVE_STRING },
747
- ...obj.SqsQueueArn && { SqsQueueArn: import_smithy_client.SENSITIVE_STRING }
748
- }), "NotificationsConfigurationFilterSensitiveLog");
749
- var CreateMeetingRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
750
- ...obj,
751
- ...obj.ClientRequestToken && { ClientRequestToken: import_smithy_client.SENSITIVE_STRING },
752
- ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
753
- ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING },
754
- ...obj.NotificationsConfiguration && {
755
- NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration)
756
- }
757
- }), "CreateMeetingRequestFilterSensitiveLog");
758
- var MeetingFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
759
- ...obj,
760
- ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
761
- ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING }
762
- }), "MeetingFilterSensitiveLog");
763
- var CreateMeetingResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
764
- ...obj,
765
- ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }
766
- }), "CreateMeetingResponseFilterSensitiveLog");
767
- var CreateMeetingWithAttendeesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
768
- ...obj,
769
- ...obj.ClientRequestToken && { ClientRequestToken: import_smithy_client.SENSITIVE_STRING },
770
- ...obj.MeetingHostId && { MeetingHostId: import_smithy_client.SENSITIVE_STRING },
771
- ...obj.ExternalMeetingId && { ExternalMeetingId: import_smithy_client.SENSITIVE_STRING },
772
- ...obj.NotificationsConfiguration && {
773
- NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration)
774
- },
775
- ...obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }
776
- }), "CreateMeetingWithAttendeesRequestFilterSensitiveLog");
777
- var CreateMeetingWithAttendeesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
778
- ...obj,
779
- ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) },
780
- ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) },
781
- ...obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }
782
- }), "CreateMeetingWithAttendeesResponseFilterSensitiveLog");
783
- var GetAttendeeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
784
- ...obj,
785
- ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
786
- }), "GetAttendeeResponseFilterSensitiveLog");
787
- var GetMeetingResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
788
- ...obj,
789
- ...obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }
790
- }), "GetMeetingResponseFilterSensitiveLog");
791
- var ListAttendeesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
792
- ...obj,
793
- ...obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }
794
- }), "ListAttendeesResponseFilterSensitiveLog");
795
- var UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
796
- ...obj,
797
- ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
798
- }), "UpdateAttendeeCapabilitiesResponseFilterSensitiveLog");
799
-
800
- // src/protocols/Aws_restJson1.ts
801
- var import_core2 = require("@aws-sdk/core");
802
-
803
-
804
- var import_uuid = require("@smithy/uuid");
805
- var se_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
806
- const b = (0, import_core.requestBuilder)(input, context);
807
- const headers = {
808
- "content-type": "application/json"
809
- };
810
- b.bp("/meetings/{MeetingId}/attendees");
811
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
812
- const query = (0, import_smithy_client.map)({
813
- [_o]: [, "batch-create"]
814
- });
815
- let body;
816
- body = JSON.stringify(
817
- (0, import_smithy_client.take)(input, {
818
- Attendees: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attendees")
819
- })
820
- );
821
- b.m("POST").h(headers).q(query).b(body);
822
- return b.build();
823
- }, "se_BatchCreateAttendeeCommand");
824
- var se_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(async (input, context) => {
825
- const b = (0, import_core.requestBuilder)(input, context);
826
- const headers = {
827
- "content-type": "application/json"
828
- };
829
- b.bp("/meetings/{MeetingId}/attendees/capabilities");
830
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
831
- const query = (0, import_smithy_client.map)({
832
- [_o]: [, "batch-update-except"]
833
- });
834
- let body;
835
- body = JSON.stringify(
836
- (0, import_smithy_client.take)(input, {
837
- Capabilities: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Capabilities"),
838
- ExcludedAttendeeIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ExcludedAttendeeIds")
839
- })
840
- );
841
- b.m("PUT").h(headers).q(query).b(body);
842
- return b.build();
843
- }, "se_BatchUpdateAttendeeCapabilitiesExceptCommand");
844
- var se_CreateAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
845
- const b = (0, import_core.requestBuilder)(input, context);
846
- const headers = {
847
- "content-type": "application/json"
848
- };
849
- b.bp("/meetings/{MeetingId}/attendees");
850
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
851
- let body;
852
- body = JSON.stringify(
853
- (0, import_smithy_client.take)(input, {
854
- Capabilities: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Capabilities"),
855
- ExternalUserId: []
856
- })
857
- );
858
- b.m("POST").h(headers).b(body);
859
- return b.build();
860
- }, "se_CreateAttendeeCommand");
861
- var se_CreateMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
862
- const b = (0, import_core.requestBuilder)(input, context);
863
- const headers = {
864
- "content-type": "application/json"
865
- };
866
- b.bp("/meetings");
867
- let body;
868
- body = JSON.stringify(
869
- (0, import_smithy_client.take)(input, {
870
- ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
871
- ExternalMeetingId: [],
872
- MediaPlacementNetworkType: [],
873
- MediaRegion: [],
874
- MeetingFeatures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MeetingFeatures"),
875
- MeetingHostId: [],
876
- NotificationsConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NotificationsConfiguration"),
877
- PrimaryMeetingId: [],
878
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
879
- TenantIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TenantIds")
880
- })
881
- );
882
- b.m("POST").h(headers).b(body);
883
- return b.build();
884
- }, "se_CreateMeetingCommand");
885
- var se_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (input, context) => {
886
- const b = (0, import_core.requestBuilder)(input, context);
887
- const headers = {
888
- "content-type": "application/json"
889
- };
890
- b.bp("/meetings");
891
- const query = (0, import_smithy_client.map)({
892
- [_o]: [, "create-attendees"]
893
- });
894
- let body;
895
- body = JSON.stringify(
896
- (0, import_smithy_client.take)(input, {
897
- Attendees: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attendees"),
898
- ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
899
- ExternalMeetingId: [],
900
- MediaPlacementNetworkType: [],
901
- MediaRegion: [],
902
- MeetingFeatures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MeetingFeatures"),
903
- MeetingHostId: [],
904
- NotificationsConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NotificationsConfiguration"),
905
- PrimaryMeetingId: [],
906
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
907
- TenantIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TenantIds")
908
- })
909
- );
910
- b.m("POST").h(headers).q(query).b(body);
911
- return b.build();
912
- }, "se_CreateMeetingWithAttendeesCommand");
913
- var se_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
914
- const b = (0, import_core.requestBuilder)(input, context);
915
- const headers = {};
916
- b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
917
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
918
- b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
919
- let body;
920
- b.m("DELETE").h(headers).b(body);
921
- return b.build();
922
- }, "se_DeleteAttendeeCommand");
923
- var se_DeleteMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
924
- const b = (0, import_core.requestBuilder)(input, context);
925
- const headers = {};
926
- b.bp("/meetings/{MeetingId}");
927
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
928
- let body;
929
- b.m("DELETE").h(headers).b(body);
930
- return b.build();
931
- }, "se_DeleteMeetingCommand");
932
- var se_GetAttendeeCommand = /* @__PURE__ */ __name(async (input, context) => {
933
- const b = (0, import_core.requestBuilder)(input, context);
934
- const headers = {};
935
- b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
936
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
937
- b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
938
- let body;
939
- b.m("GET").h(headers).b(body);
940
- return b.build();
941
- }, "se_GetAttendeeCommand");
942
- var se_GetMeetingCommand = /* @__PURE__ */ __name(async (input, context) => {
943
- const b = (0, import_core.requestBuilder)(input, context);
944
- const headers = {};
945
- b.bp("/meetings/{MeetingId}");
946
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
947
- let body;
948
- b.m("GET").h(headers).b(body);
949
- return b.build();
950
- }, "se_GetMeetingCommand");
951
- var se_ListAttendeesCommand = /* @__PURE__ */ __name(async (input, context) => {
952
- const b = (0, import_core.requestBuilder)(input, context);
953
- const headers = {};
954
- b.bp("/meetings/{MeetingId}/attendees");
955
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
956
- const query = (0, import_smithy_client.map)({
957
- [_nt]: [, input[_NT]],
958
- [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
959
- });
960
- let body;
961
- b.m("GET").h(headers).q(query).b(body);
962
- return b.build();
963
- }, "se_ListAttendeesCommand");
964
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
965
- const b = (0, import_core.requestBuilder)(input, context);
966
- const headers = {};
967
- b.bp("/tags");
968
- const query = (0, import_smithy_client.map)({
969
- [_a]: [, (0, import_smithy_client.expectNonNull)(input[_RARN], `ResourceARN`)]
970
- });
971
- let body;
972
- b.m("GET").h(headers).q(query).b(body);
973
- return b.build();
974
- }, "se_ListTagsForResourceCommand");
975
- var se_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
976
- const b = (0, import_core.requestBuilder)(input, context);
977
- const headers = {
978
- "content-type": "application/json"
979
- };
980
- b.bp("/meetings/{MeetingId}/transcription");
981
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
982
- const query = (0, import_smithy_client.map)({
983
- [_o]: [, "start"]
984
- });
985
- let body;
986
- body = JSON.stringify(
987
- (0, import_smithy_client.take)(input, {
988
- TranscriptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TranscriptionConfiguration")
989
- })
990
- );
991
- b.m("POST").h(headers).q(query).b(body);
992
- return b.build();
993
- }, "se_StartMeetingTranscriptionCommand");
994
- var se_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
995
- const b = (0, import_core.requestBuilder)(input, context);
996
- const headers = {};
997
- b.bp("/meetings/{MeetingId}/transcription");
998
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
999
- const query = (0, import_smithy_client.map)({
1000
- [_o]: [, "stop"]
1001
- });
1002
- let body;
1003
- b.m("POST").h(headers).q(query).b(body);
1004
- return b.build();
1005
- }, "se_StopMeetingTranscriptionCommand");
1006
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1007
- const b = (0, import_core.requestBuilder)(input, context);
1008
- const headers = {
1009
- "content-type": "application/json"
1010
- };
1011
- b.bp("/tags");
1012
- const query = (0, import_smithy_client.map)({
1013
- [_o]: [, "tag-resource"]
1014
- });
1015
- let body;
1016
- body = JSON.stringify(
1017
- (0, import_smithy_client.take)(input, {
1018
- ResourceARN: [],
1019
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1020
- })
1021
- );
1022
- b.m("POST").h(headers).q(query).b(body);
1023
- return b.build();
1024
- }, "se_TagResourceCommand");
1025
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1026
- const b = (0, import_core.requestBuilder)(input, context);
1027
- const headers = {
1028
- "content-type": "application/json"
1029
- };
1030
- b.bp("/tags");
1031
- const query = (0, import_smithy_client.map)({
1032
- [_o]: [, "untag-resource"]
1033
- });
1034
- let body;
1035
- body = JSON.stringify(
1036
- (0, import_smithy_client.take)(input, {
1037
- ResourceARN: [],
1038
- TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys")
1039
- })
1040
- );
1041
- b.m("POST").h(headers).q(query).b(body);
1042
- return b.build();
1043
- }, "se_UntagResourceCommand");
1044
- var se_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
1045
- const b = (0, import_core.requestBuilder)(input, context);
1046
- const headers = {
1047
- "content-type": "application/json"
1048
- };
1049
- b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities");
1050
- b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
1051
- b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
1052
- let body;
1053
- body = JSON.stringify(
1054
- (0, import_smithy_client.take)(input, {
1055
- Capabilities: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Capabilities")
1056
- })
1057
- );
1058
- b.m("PUT").h(headers).b(body);
1059
- return b.build();
1060
- }, "se_UpdateAttendeeCapabilitiesCommand");
1061
- var de_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1062
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1063
- return de_CommandError(output, context);
1064
- }
1065
- const contents = (0, import_smithy_client.map)({
1066
- $metadata: deserializeMetadata(output)
1067
- });
1068
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1069
- const doc = (0, import_smithy_client.take)(data, {
1070
- Attendees: import_smithy_client._json,
1071
- Errors: import_smithy_client._json
1072
- });
1073
- Object.assign(contents, doc);
1074
- return contents;
1075
- }, "de_BatchCreateAttendeeCommand");
1076
- var de_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(async (output, context) => {
1077
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1078
- return de_CommandError(output, context);
1079
- }
1080
- const contents = (0, import_smithy_client.map)({
1081
- $metadata: deserializeMetadata(output)
1082
- });
1083
- await (0, import_smithy_client.collectBody)(output.body, context);
1084
- return contents;
1085
- }, "de_BatchUpdateAttendeeCapabilitiesExceptCommand");
1086
- var de_CreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1087
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
- return de_CommandError(output, context);
1089
- }
1090
- const contents = (0, import_smithy_client.map)({
1091
- $metadata: deserializeMetadata(output)
1092
- });
1093
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1094
- const doc = (0, import_smithy_client.take)(data, {
1095
- Attendee: import_smithy_client._json
1096
- });
1097
- Object.assign(contents, doc);
1098
- return contents;
1099
- }, "de_CreateAttendeeCommand");
1100
- var de_CreateMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1101
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1102
- return de_CommandError(output, context);
1103
- }
1104
- const contents = (0, import_smithy_client.map)({
1105
- $metadata: deserializeMetadata(output)
1106
- });
1107
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1108
- const doc = (0, import_smithy_client.take)(data, {
1109
- Meeting: import_smithy_client._json
1110
- });
1111
- Object.assign(contents, doc);
1112
- return contents;
1113
- }, "de_CreateMeetingCommand");
1114
- var de_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
1115
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1116
- return de_CommandError(output, context);
1117
- }
1118
- const contents = (0, import_smithy_client.map)({
1119
- $metadata: deserializeMetadata(output)
1120
- });
1121
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1122
- const doc = (0, import_smithy_client.take)(data, {
1123
- Attendees: import_smithy_client._json,
1124
- Errors: import_smithy_client._json,
1125
- Meeting: import_smithy_client._json
1126
- });
1127
- Object.assign(contents, doc);
1128
- return contents;
1129
- }, "de_CreateMeetingWithAttendeesCommand");
1130
- var de_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1131
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1132
- return de_CommandError(output, context);
1133
- }
1134
- const contents = (0, import_smithy_client.map)({
1135
- $metadata: deserializeMetadata(output)
1136
- });
1137
- await (0, import_smithy_client.collectBody)(output.body, context);
1138
- return contents;
1139
- }, "de_DeleteAttendeeCommand");
1140
- var de_DeleteMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1141
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1142
- return de_CommandError(output, context);
1143
- }
1144
- const contents = (0, import_smithy_client.map)({
1145
- $metadata: deserializeMetadata(output)
1146
- });
1147
- await (0, import_smithy_client.collectBody)(output.body, context);
1148
- return contents;
1149
- }, "de_DeleteMeetingCommand");
1150
- var de_GetAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
1151
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
- return de_CommandError(output, context);
1153
- }
1154
- const contents = (0, import_smithy_client.map)({
1155
- $metadata: deserializeMetadata(output)
1156
- });
1157
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1158
- const doc = (0, import_smithy_client.take)(data, {
1159
- Attendee: import_smithy_client._json
1160
- });
1161
- Object.assign(contents, doc);
1162
- return contents;
1163
- }, "de_GetAttendeeCommand");
1164
- var de_GetMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
1165
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1166
- return de_CommandError(output, context);
1167
- }
1168
- const contents = (0, import_smithy_client.map)({
1169
- $metadata: deserializeMetadata(output)
1170
- });
1171
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1172
- const doc = (0, import_smithy_client.take)(data, {
1173
- Meeting: import_smithy_client._json
1174
- });
1175
- Object.assign(contents, doc);
1176
- return contents;
1177
- }, "de_GetMeetingCommand");
1178
- var de_ListAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
1179
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1180
- return de_CommandError(output, context);
1181
- }
1182
- const contents = (0, import_smithy_client.map)({
1183
- $metadata: deserializeMetadata(output)
1184
- });
1185
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1186
- const doc = (0, import_smithy_client.take)(data, {
1187
- Attendees: import_smithy_client._json,
1188
- NextToken: import_smithy_client.expectString
1189
- });
1190
- Object.assign(contents, doc);
1191
- return contents;
1192
- }, "de_ListAttendeesCommand");
1193
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1194
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1195
- return de_CommandError(output, context);
1196
- }
1197
- const contents = (0, import_smithy_client.map)({
1198
- $metadata: deserializeMetadata(output)
1199
- });
1200
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1201
- const doc = (0, import_smithy_client.take)(data, {
1202
- Tags: import_smithy_client._json
1203
- });
1204
- Object.assign(contents, doc);
1205
- return contents;
1206
- }, "de_ListTagsForResourceCommand");
1207
- var de_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1208
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1209
- return de_CommandError(output, context);
1210
- }
1211
- const contents = (0, import_smithy_client.map)({
1212
- $metadata: deserializeMetadata(output)
1213
- });
1214
- await (0, import_smithy_client.collectBody)(output.body, context);
1215
- return contents;
1216
- }, "de_StartMeetingTranscriptionCommand");
1217
- var de_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1218
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
- return de_CommandError(output, context);
1220
- }
1221
- const contents = (0, import_smithy_client.map)({
1222
- $metadata: deserializeMetadata(output)
1223
- });
1224
- await (0, import_smithy_client.collectBody)(output.body, context);
1225
- return contents;
1226
- }, "de_StopMeetingTranscriptionCommand");
1227
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1228
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1229
- return de_CommandError(output, context);
1230
- }
1231
- const contents = (0, import_smithy_client.map)({
1232
- $metadata: deserializeMetadata(output)
1233
- });
1234
- await (0, import_smithy_client.collectBody)(output.body, context);
1235
- return contents;
1236
- }, "de_TagResourceCommand");
1237
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1238
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const contents = (0, import_smithy_client.map)({
1242
- $metadata: deserializeMetadata(output)
1243
- });
1244
- await (0, import_smithy_client.collectBody)(output.body, context);
1245
- return contents;
1246
- }, "de_UntagResourceCommand");
1247
- var de_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1248
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1249
- return de_CommandError(output, context);
1250
- }
1251
- const contents = (0, import_smithy_client.map)({
1252
- $metadata: deserializeMetadata(output)
1253
- });
1254
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1255
- const doc = (0, import_smithy_client.take)(data, {
1256
- Attendee: import_smithy_client._json
1257
- });
1258
- Object.assign(contents, doc);
1259
- return contents;
1260
- }, "de_UpdateAttendeeCapabilitiesCommand");
1261
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1262
- const parsedOutput = {
1263
- ...output,
1264
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1265
- };
1266
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1267
- switch (errorCode) {
1268
- case "BadRequestException":
1269
- case "com.amazonaws.chimesdkmeetings#BadRequestException":
1270
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1271
- case "ForbiddenException":
1272
- case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1273
- throw await de_ForbiddenExceptionRes(parsedOutput, context);
1274
- case "LimitExceededException":
1275
- case "com.amazonaws.chimesdkmeetings#LimitExceededException":
1276
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1277
- case "NotFoundException":
1278
- case "com.amazonaws.chimesdkmeetings#NotFoundException":
1279
- throw await de_NotFoundExceptionRes(parsedOutput, context);
1280
- case "ServiceFailureException":
1281
- case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1282
- throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1283
- case "ServiceUnavailableException":
1284
- case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1285
- throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1286
- case "ThrottlingException":
1287
- case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1288
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1289
- case "UnauthorizedException":
1290
- case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1291
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1292
- case "UnprocessableEntityException":
1293
- case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
1294
- throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
1295
- case "ConflictException":
1296
- case "com.amazonaws.chimesdkmeetings#ConflictException":
1297
- throw await de_ConflictExceptionRes(parsedOutput, context);
1298
- case "ResourceNotFoundException":
1299
- case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1300
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1301
- case "TooManyTagsException":
1302
- case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
1303
- throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1304
- default:
1305
- const parsedBody = parsedOutput.body;
1306
- return throwDefaultError({
1307
- output,
1308
- parsedBody,
1309
- errorCode
1310
- });
1311
- }
1312
- }, "de_CommandError");
1313
- var throwDefaultError = (0, import_smithy_client.withBaseException)(ChimeSDKMeetingsServiceException);
1314
- var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1315
- const contents = (0, import_smithy_client.map)({});
1316
- const data = parsedOutput.body;
1317
- const doc = (0, import_smithy_client.take)(data, {
1318
- Code: import_smithy_client.expectString,
1319
- Message: import_smithy_client.expectString,
1320
- RequestId: import_smithy_client.expectString
1321
- });
1322
- Object.assign(contents, doc);
1323
- const exception = new BadRequestException({
1324
- $metadata: deserializeMetadata(parsedOutput),
1325
- ...contents
1326
- });
1327
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1328
- }, "de_BadRequestExceptionRes");
1329
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1330
- const contents = (0, import_smithy_client.map)({});
1331
- const data = parsedOutput.body;
1332
- const doc = (0, import_smithy_client.take)(data, {
1333
- Code: import_smithy_client.expectString,
1334
- Message: import_smithy_client.expectString,
1335
- RequestId: import_smithy_client.expectString
1336
- });
1337
- Object.assign(contents, doc);
1338
- const exception = new ConflictException({
1339
- $metadata: deserializeMetadata(parsedOutput),
1340
- ...contents
1341
- });
1342
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1343
- }, "de_ConflictExceptionRes");
1344
- var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1345
- const contents = (0, import_smithy_client.map)({});
1346
- const data = parsedOutput.body;
1347
- const doc = (0, import_smithy_client.take)(data, {
1348
- Code: import_smithy_client.expectString,
1349
- Message: import_smithy_client.expectString,
1350
- RequestId: import_smithy_client.expectString
1351
- });
1352
- Object.assign(contents, doc);
1353
- const exception = new ForbiddenException({
1354
- $metadata: deserializeMetadata(parsedOutput),
1355
- ...contents
1356
- });
1357
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1358
- }, "de_ForbiddenExceptionRes");
1359
- var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1360
- const contents = (0, import_smithy_client.map)({});
1361
- const data = parsedOutput.body;
1362
- const doc = (0, import_smithy_client.take)(data, {
1363
- Code: import_smithy_client.expectString,
1364
- Message: import_smithy_client.expectString,
1365
- RequestId: import_smithy_client.expectString
1366
- });
1367
- Object.assign(contents, doc);
1368
- const exception = new LimitExceededException({
1369
- $metadata: deserializeMetadata(parsedOutput),
1370
- ...contents
1371
- });
1372
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1373
- }, "de_LimitExceededExceptionRes");
1374
- var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1375
- const contents = (0, import_smithy_client.map)({});
1376
- const data = parsedOutput.body;
1377
- const doc = (0, import_smithy_client.take)(data, {
1378
- Code: import_smithy_client.expectString,
1379
- Message: import_smithy_client.expectString,
1380
- RequestId: import_smithy_client.expectString
1381
- });
1382
- Object.assign(contents, doc);
1383
- const exception = new NotFoundException({
1384
- $metadata: deserializeMetadata(parsedOutput),
1385
- ...contents
1386
- });
1387
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1388
- }, "de_NotFoundExceptionRes");
1389
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1390
- const contents = (0, import_smithy_client.map)({});
1391
- const data = parsedOutput.body;
1392
- const doc = (0, import_smithy_client.take)(data, {
1393
- Code: import_smithy_client.expectString,
1394
- Message: import_smithy_client.expectString,
1395
- RequestId: import_smithy_client.expectString,
1396
- ResourceName: import_smithy_client.expectString
1397
- });
1398
- Object.assign(contents, doc);
1399
- const exception = new ResourceNotFoundException({
1400
- $metadata: deserializeMetadata(parsedOutput),
1401
- ...contents
1402
- });
1403
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1404
- }, "de_ResourceNotFoundExceptionRes");
1405
- var de_ServiceFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1406
- const contents = (0, import_smithy_client.map)({});
1407
- const data = parsedOutput.body;
1408
- const doc = (0, import_smithy_client.take)(data, {
1409
- Code: import_smithy_client.expectString,
1410
- Message: import_smithy_client.expectString,
1411
- RequestId: import_smithy_client.expectString
1412
- });
1413
- Object.assign(contents, doc);
1414
- const exception = new ServiceFailureException({
1415
- $metadata: deserializeMetadata(parsedOutput),
1416
- ...contents
1417
- });
1418
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1419
- }, "de_ServiceFailureExceptionRes");
1420
- var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1421
- const contents = (0, import_smithy_client.map)({
1422
- [_RAS]: [, parsedOutput.headers[_ra]]
1423
- });
1424
- const data = parsedOutput.body;
1425
- const doc = (0, import_smithy_client.take)(data, {
1426
- Code: import_smithy_client.expectString,
1427
- Message: import_smithy_client.expectString,
1428
- RequestId: import_smithy_client.expectString
1429
- });
1430
- Object.assign(contents, doc);
1431
- const exception = new ServiceUnavailableException({
1432
- $metadata: deserializeMetadata(parsedOutput),
1433
- ...contents
1434
- });
1435
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1436
- }, "de_ServiceUnavailableExceptionRes");
1437
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1438
- const contents = (0, import_smithy_client.map)({});
1439
- const data = parsedOutput.body;
1440
- const doc = (0, import_smithy_client.take)(data, {
1441
- Code: import_smithy_client.expectString,
1442
- Message: import_smithy_client.expectString,
1443
- RequestId: import_smithy_client.expectString
1444
- });
1445
- Object.assign(contents, doc);
1446
- const exception = new ThrottlingException({
1447
- $metadata: deserializeMetadata(parsedOutput),
1448
- ...contents
1449
- });
1450
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1451
- }, "de_ThrottlingExceptionRes");
1452
- var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1453
- const contents = (0, import_smithy_client.map)({});
1454
- const data = parsedOutput.body;
1455
- const doc = (0, import_smithy_client.take)(data, {
1456
- Code: import_smithy_client.expectString,
1457
- Message: import_smithy_client.expectString,
1458
- RequestId: import_smithy_client.expectString,
1459
- ResourceName: import_smithy_client.expectString
1460
- });
1461
- Object.assign(contents, doc);
1462
- const exception = new TooManyTagsException({
1463
- $metadata: deserializeMetadata(parsedOutput),
1464
- ...contents
1465
- });
1466
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1467
- }, "de_TooManyTagsExceptionRes");
1468
- var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1469
- const contents = (0, import_smithy_client.map)({});
1470
- const data = parsedOutput.body;
1471
- const doc = (0, import_smithy_client.take)(data, {
1472
- Code: import_smithy_client.expectString,
1473
- Message: import_smithy_client.expectString,
1474
- RequestId: import_smithy_client.expectString
1475
- });
1476
- Object.assign(contents, doc);
1477
- const exception = new UnauthorizedException({
1478
- $metadata: deserializeMetadata(parsedOutput),
1479
- ...contents
1480
- });
1481
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1482
- }, "de_UnauthorizedExceptionRes");
1483
- var de_UnprocessableEntityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1484
- const contents = (0, import_smithy_client.map)({});
1485
- const data = parsedOutput.body;
1486
- const doc = (0, import_smithy_client.take)(data, {
1487
- Code: import_smithy_client.expectString,
1488
- Message: import_smithy_client.expectString,
1489
- RequestId: import_smithy_client.expectString
1490
- });
1491
- Object.assign(contents, doc);
1492
- const exception = new UnprocessableEntityException({
1493
- $metadata: deserializeMetadata(parsedOutput),
1494
- ...contents
1495
- });
1496
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1497
- }, "de_UnprocessableEntityExceptionRes");
1498
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1499
- httpStatusCode: output.statusCode,
1500
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1501
- extendedRequestId: output.headers["x-amz-id-2"],
1502
- cfId: output.headers["x-amz-cf-id"]
1503
- }), "deserializeMetadata");
1504
- var _MR = "MaxResults";
1505
- var _NT = "NextToken";
1506
- var _RARN = "ResourceARN";
1507
- var _RAS = "RetryAfterSeconds";
1508
- var _a = "arn";
1509
- var _mr = "max-results";
1510
- var _nt = "next-token";
1511
- var _o = "operation";
1512
- var _ra = "retry-after";
1513
-
1514
- // src/commands/BatchCreateAttendeeCommand.ts
1515
- var BatchCreateAttendeeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1516
- return [
1517
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1518
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1519
- ];
1520
- }).s("ChimeMeetingsSDKService", "BatchCreateAttendee", {}).n("ChimeSDKMeetingsClient", "BatchCreateAttendeeCommand").f(BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog).ser(se_BatchCreateAttendeeCommand).de(de_BatchCreateAttendeeCommand).build() {
1521
- static {
1522
- __name(this, "BatchCreateAttendeeCommand");
1523
- }
788
+ await smithyClient.collectBody(output.body, context);
789
+ return contents;
1524
790
  };
1525
-
1526
- // src/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.ts
1527
-
1528
-
1529
-
1530
- var BatchUpdateAttendeeCapabilitiesExceptCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1531
- return [
1532
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1533
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1534
- ];
1535
- }).s("ChimeMeetingsSDKService", "BatchUpdateAttendeeCapabilitiesExcept", {}).n("ChimeSDKMeetingsClient", "BatchUpdateAttendeeCapabilitiesExceptCommand").f(void 0, void 0).ser(se_BatchUpdateAttendeeCapabilitiesExceptCommand).de(de_BatchUpdateAttendeeCapabilitiesExceptCommand).build() {
1536
- static {
1537
- __name(this, "BatchUpdateAttendeeCapabilitiesExceptCommand");
1538
- }
791
+ const de_CreateAttendeeCommand = async (output, context) => {
792
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
793
+ return de_CommandError(output, context);
794
+ }
795
+ const contents = smithyClient.map({
796
+ $metadata: deserializeMetadata(output),
797
+ });
798
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
799
+ const doc = smithyClient.take(data, {
800
+ Attendee: smithyClient._json,
801
+ });
802
+ Object.assign(contents, doc);
803
+ return contents;
1539
804
  };
1540
-
1541
- // src/commands/CreateAttendeeCommand.ts
1542
-
1543
-
1544
-
1545
- var CreateAttendeeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1546
- return [
1547
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1548
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1549
- ];
1550
- }).s("ChimeMeetingsSDKService", "CreateAttendee", {}).n("ChimeSDKMeetingsClient", "CreateAttendeeCommand").f(CreateAttendeeRequestFilterSensitiveLog, CreateAttendeeResponseFilterSensitiveLog).ser(se_CreateAttendeeCommand).de(de_CreateAttendeeCommand).build() {
1551
- static {
1552
- __name(this, "CreateAttendeeCommand");
1553
- }
805
+ const de_CreateMeetingCommand = async (output, context) => {
806
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
807
+ return de_CommandError(output, context);
808
+ }
809
+ const contents = smithyClient.map({
810
+ $metadata: deserializeMetadata(output),
811
+ });
812
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
813
+ const doc = smithyClient.take(data, {
814
+ Meeting: smithyClient._json,
815
+ });
816
+ Object.assign(contents, doc);
817
+ return contents;
1554
818
  };
1555
-
1556
- // src/commands/CreateMeetingCommand.ts
1557
-
1558
-
1559
-
1560
- var CreateMeetingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1561
- return [
1562
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1563
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1564
- ];
1565
- }).s("ChimeMeetingsSDKService", "CreateMeeting", {}).n("ChimeSDKMeetingsClient", "CreateMeetingCommand").f(CreateMeetingRequestFilterSensitiveLog, CreateMeetingResponseFilterSensitiveLog).ser(se_CreateMeetingCommand).de(de_CreateMeetingCommand).build() {
1566
- static {
1567
- __name(this, "CreateMeetingCommand");
1568
- }
819
+ const de_CreateMeetingWithAttendeesCommand = async (output, context) => {
820
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
821
+ return de_CommandError(output, context);
822
+ }
823
+ const contents = smithyClient.map({
824
+ $metadata: deserializeMetadata(output),
825
+ });
826
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
827
+ const doc = smithyClient.take(data, {
828
+ Attendees: smithyClient._json,
829
+ Errors: smithyClient._json,
830
+ Meeting: smithyClient._json,
831
+ });
832
+ Object.assign(contents, doc);
833
+ return contents;
1569
834
  };
1570
-
1571
- // src/commands/CreateMeetingWithAttendeesCommand.ts
1572
-
1573
-
1574
-
1575
- var CreateMeetingWithAttendeesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1576
- return [
1577
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1578
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1579
- ];
1580
- }).s("ChimeMeetingsSDKService", "CreateMeetingWithAttendees", {}).n("ChimeSDKMeetingsClient", "CreateMeetingWithAttendeesCommand").f(CreateMeetingWithAttendeesRequestFilterSensitiveLog, CreateMeetingWithAttendeesResponseFilterSensitiveLog).ser(se_CreateMeetingWithAttendeesCommand).de(de_CreateMeetingWithAttendeesCommand).build() {
1581
- static {
1582
- __name(this, "CreateMeetingWithAttendeesCommand");
1583
- }
835
+ const de_DeleteAttendeeCommand = async (output, context) => {
836
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
837
+ return de_CommandError(output, context);
838
+ }
839
+ const contents = smithyClient.map({
840
+ $metadata: deserializeMetadata(output),
841
+ });
842
+ await smithyClient.collectBody(output.body, context);
843
+ return contents;
1584
844
  };
1585
-
1586
- // src/commands/DeleteAttendeeCommand.ts
1587
-
1588
-
1589
-
1590
- var DeleteAttendeeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1591
- return [
1592
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1593
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1594
- ];
1595
- }).s("ChimeMeetingsSDKService", "DeleteAttendee", {}).n("ChimeSDKMeetingsClient", "DeleteAttendeeCommand").f(void 0, void 0).ser(se_DeleteAttendeeCommand).de(de_DeleteAttendeeCommand).build() {
1596
- static {
1597
- __name(this, "DeleteAttendeeCommand");
1598
- }
845
+ const de_DeleteMeetingCommand = async (output, context) => {
846
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
847
+ return de_CommandError(output, context);
848
+ }
849
+ const contents = smithyClient.map({
850
+ $metadata: deserializeMetadata(output),
851
+ });
852
+ await smithyClient.collectBody(output.body, context);
853
+ return contents;
1599
854
  };
1600
-
1601
- // src/commands/DeleteMeetingCommand.ts
1602
-
1603
-
1604
-
1605
- var DeleteMeetingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1606
- return [
1607
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1608
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1609
- ];
1610
- }).s("ChimeMeetingsSDKService", "DeleteMeeting", {}).n("ChimeSDKMeetingsClient", "DeleteMeetingCommand").f(void 0, void 0).ser(se_DeleteMeetingCommand).de(de_DeleteMeetingCommand).build() {
1611
- static {
1612
- __name(this, "DeleteMeetingCommand");
1613
- }
855
+ const de_GetAttendeeCommand = async (output, context) => {
856
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
857
+ return de_CommandError(output, context);
858
+ }
859
+ const contents = smithyClient.map({
860
+ $metadata: deserializeMetadata(output),
861
+ });
862
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
863
+ const doc = smithyClient.take(data, {
864
+ Attendee: smithyClient._json,
865
+ });
866
+ Object.assign(contents, doc);
867
+ return contents;
1614
868
  };
1615
-
1616
- // src/commands/GetAttendeeCommand.ts
1617
-
1618
-
1619
-
1620
- var GetAttendeeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1621
- return [
1622
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1623
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1624
- ];
1625
- }).s("ChimeMeetingsSDKService", "GetAttendee", {}).n("ChimeSDKMeetingsClient", "GetAttendeeCommand").f(void 0, GetAttendeeResponseFilterSensitiveLog).ser(se_GetAttendeeCommand).de(de_GetAttendeeCommand).build() {
1626
- static {
1627
- __name(this, "GetAttendeeCommand");
1628
- }
869
+ const de_GetMeetingCommand = async (output, context) => {
870
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
871
+ return de_CommandError(output, context);
872
+ }
873
+ const contents = smithyClient.map({
874
+ $metadata: deserializeMetadata(output),
875
+ });
876
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
877
+ const doc = smithyClient.take(data, {
878
+ Meeting: smithyClient._json,
879
+ });
880
+ Object.assign(contents, doc);
881
+ return contents;
1629
882
  };
1630
-
1631
- // src/commands/GetMeetingCommand.ts
1632
-
1633
-
1634
-
1635
- var GetMeetingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1636
- return [
1637
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1638
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1639
- ];
1640
- }).s("ChimeMeetingsSDKService", "GetMeeting", {}).n("ChimeSDKMeetingsClient", "GetMeetingCommand").f(void 0, GetMeetingResponseFilterSensitiveLog).ser(se_GetMeetingCommand).de(de_GetMeetingCommand).build() {
1641
- static {
1642
- __name(this, "GetMeetingCommand");
1643
- }
883
+ const de_ListAttendeesCommand = async (output, context) => {
884
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
885
+ return de_CommandError(output, context);
886
+ }
887
+ const contents = smithyClient.map({
888
+ $metadata: deserializeMetadata(output),
889
+ });
890
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
891
+ const doc = smithyClient.take(data, {
892
+ Attendees: smithyClient._json,
893
+ NextToken: smithyClient.expectString,
894
+ });
895
+ Object.assign(contents, doc);
896
+ return contents;
1644
897
  };
1645
-
1646
- // src/commands/ListAttendeesCommand.ts
1647
-
1648
-
1649
-
1650
- var ListAttendeesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1651
- return [
1652
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1653
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1654
- ];
1655
- }).s("ChimeMeetingsSDKService", "ListAttendees", {}).n("ChimeSDKMeetingsClient", "ListAttendeesCommand").f(void 0, ListAttendeesResponseFilterSensitiveLog).ser(se_ListAttendeesCommand).de(de_ListAttendeesCommand).build() {
1656
- static {
1657
- __name(this, "ListAttendeesCommand");
1658
- }
898
+ const de_ListTagsForResourceCommand = async (output, context) => {
899
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
900
+ return de_CommandError(output, context);
901
+ }
902
+ const contents = smithyClient.map({
903
+ $metadata: deserializeMetadata(output),
904
+ });
905
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
906
+ const doc = smithyClient.take(data, {
907
+ Tags: smithyClient._json,
908
+ });
909
+ Object.assign(contents, doc);
910
+ return contents;
1659
911
  };
1660
-
1661
- // src/commands/ListTagsForResourceCommand.ts
1662
-
1663
-
1664
-
1665
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1666
- return [
1667
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1668
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1669
- ];
1670
- }).s("ChimeMeetingsSDKService", "ListTagsForResource", {}).n("ChimeSDKMeetingsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1671
- static {
1672
- __name(this, "ListTagsForResourceCommand");
1673
- }
912
+ const de_StartMeetingTranscriptionCommand = async (output, context) => {
913
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
914
+ return de_CommandError(output, context);
915
+ }
916
+ const contents = smithyClient.map({
917
+ $metadata: deserializeMetadata(output),
918
+ });
919
+ await smithyClient.collectBody(output.body, context);
920
+ return contents;
1674
921
  };
1675
-
1676
- // src/commands/StartMeetingTranscriptionCommand.ts
1677
-
1678
-
1679
-
1680
- var StartMeetingTranscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1681
- return [
1682
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1683
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1684
- ];
1685
- }).s("ChimeMeetingsSDKService", "StartMeetingTranscription", {}).n("ChimeSDKMeetingsClient", "StartMeetingTranscriptionCommand").f(void 0, void 0).ser(se_StartMeetingTranscriptionCommand).de(de_StartMeetingTranscriptionCommand).build() {
1686
- static {
1687
- __name(this, "StartMeetingTranscriptionCommand");
1688
- }
922
+ const de_StopMeetingTranscriptionCommand = async (output, context) => {
923
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
924
+ return de_CommandError(output, context);
925
+ }
926
+ const contents = smithyClient.map({
927
+ $metadata: deserializeMetadata(output),
928
+ });
929
+ await smithyClient.collectBody(output.body, context);
930
+ return contents;
1689
931
  };
1690
-
1691
- // src/commands/StopMeetingTranscriptionCommand.ts
1692
-
1693
-
1694
-
1695
- var StopMeetingTranscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1696
- return [
1697
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1698
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1699
- ];
1700
- }).s("ChimeMeetingsSDKService", "StopMeetingTranscription", {}).n("ChimeSDKMeetingsClient", "StopMeetingTranscriptionCommand").f(void 0, void 0).ser(se_StopMeetingTranscriptionCommand).de(de_StopMeetingTranscriptionCommand).build() {
1701
- static {
1702
- __name(this, "StopMeetingTranscriptionCommand");
1703
- }
932
+ const de_TagResourceCommand = async (output, context) => {
933
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
934
+ return de_CommandError(output, context);
935
+ }
936
+ const contents = smithyClient.map({
937
+ $metadata: deserializeMetadata(output),
938
+ });
939
+ await smithyClient.collectBody(output.body, context);
940
+ return contents;
1704
941
  };
1705
-
1706
- // src/commands/TagResourceCommand.ts
1707
-
1708
-
1709
-
1710
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1711
- return [
1712
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1713
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1714
- ];
1715
- }).s("ChimeMeetingsSDKService", "TagResource", {}).n("ChimeSDKMeetingsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1716
- static {
1717
- __name(this, "TagResourceCommand");
1718
- }
942
+ const de_UntagResourceCommand = async (output, context) => {
943
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
944
+ return de_CommandError(output, context);
945
+ }
946
+ const contents = smithyClient.map({
947
+ $metadata: deserializeMetadata(output),
948
+ });
949
+ await smithyClient.collectBody(output.body, context);
950
+ return contents;
1719
951
  };
1720
-
1721
- // src/commands/UntagResourceCommand.ts
1722
-
1723
-
1724
-
1725
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1726
- return [
1727
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1728
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1729
- ];
1730
- }).s("ChimeMeetingsSDKService", "UntagResource", {}).n("ChimeSDKMeetingsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1731
- static {
1732
- __name(this, "UntagResourceCommand");
1733
- }
952
+ const de_UpdateAttendeeCapabilitiesCommand = async (output, context) => {
953
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
954
+ return de_CommandError(output, context);
955
+ }
956
+ const contents = smithyClient.map({
957
+ $metadata: deserializeMetadata(output),
958
+ });
959
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
960
+ const doc = smithyClient.take(data, {
961
+ Attendee: smithyClient._json,
962
+ });
963
+ Object.assign(contents, doc);
964
+ return contents;
1734
965
  };
1735
-
1736
- // src/commands/UpdateAttendeeCapabilitiesCommand.ts
1737
-
1738
-
1739
-
1740
- var UpdateAttendeeCapabilitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1741
- return [
1742
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1743
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1744
- ];
1745
- }).s("ChimeMeetingsSDKService", "UpdateAttendeeCapabilities", {}).n("ChimeSDKMeetingsClient", "UpdateAttendeeCapabilitiesCommand").f(void 0, UpdateAttendeeCapabilitiesResponseFilterSensitiveLog).ser(se_UpdateAttendeeCapabilitiesCommand).de(de_UpdateAttendeeCapabilitiesCommand).build() {
1746
- static {
1747
- __name(this, "UpdateAttendeeCapabilitiesCommand");
1748
- }
966
+ const de_CommandError = async (output, context) => {
967
+ const parsedOutput = {
968
+ ...output,
969
+ body: await core$1.parseJsonErrorBody(output.body, context),
970
+ };
971
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
972
+ switch (errorCode) {
973
+ case "BadRequestException":
974
+ case "com.amazonaws.chimesdkmeetings#BadRequestException":
975
+ throw await de_BadRequestExceptionRes(parsedOutput);
976
+ case "ForbiddenException":
977
+ case "com.amazonaws.chimesdkmeetings#ForbiddenException":
978
+ throw await de_ForbiddenExceptionRes(parsedOutput);
979
+ case "LimitExceededException":
980
+ case "com.amazonaws.chimesdkmeetings#LimitExceededException":
981
+ throw await de_LimitExceededExceptionRes(parsedOutput);
982
+ case "NotFoundException":
983
+ case "com.amazonaws.chimesdkmeetings#NotFoundException":
984
+ throw await de_NotFoundExceptionRes(parsedOutput);
985
+ case "ServiceFailureException":
986
+ case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
987
+ throw await de_ServiceFailureExceptionRes(parsedOutput);
988
+ case "ServiceUnavailableException":
989
+ case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
990
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput);
991
+ case "ThrottlingException":
992
+ case "com.amazonaws.chimesdkmeetings#ThrottlingException":
993
+ throw await de_ThrottlingExceptionRes(parsedOutput);
994
+ case "UnauthorizedException":
995
+ case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
996
+ throw await de_UnauthorizedExceptionRes(parsedOutput);
997
+ case "UnprocessableEntityException":
998
+ case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
999
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput);
1000
+ case "ConflictException":
1001
+ case "com.amazonaws.chimesdkmeetings#ConflictException":
1002
+ throw await de_ConflictExceptionRes(parsedOutput);
1003
+ case "ResourceNotFoundException":
1004
+ case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1005
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1006
+ case "TooManyTagsException":
1007
+ case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
1008
+ throw await de_TooManyTagsExceptionRes(parsedOutput);
1009
+ default:
1010
+ const parsedBody = parsedOutput.body;
1011
+ return throwDefaultError({
1012
+ output,
1013
+ parsedBody,
1014
+ errorCode,
1015
+ });
1016
+ }
1749
1017
  };
1018
+ const throwDefaultError = smithyClient.withBaseException(ChimeSDKMeetingsServiceException);
1019
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1020
+ const contents = smithyClient.map({});
1021
+ const data = parsedOutput.body;
1022
+ const doc = smithyClient.take(data, {
1023
+ Code: smithyClient.expectString,
1024
+ Message: smithyClient.expectString,
1025
+ RequestId: smithyClient.expectString,
1026
+ });
1027
+ Object.assign(contents, doc);
1028
+ const exception = new BadRequestException({
1029
+ $metadata: deserializeMetadata(parsedOutput),
1030
+ ...contents,
1031
+ });
1032
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1033
+ };
1034
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1035
+ const contents = smithyClient.map({});
1036
+ const data = parsedOutput.body;
1037
+ const doc = smithyClient.take(data, {
1038
+ Code: smithyClient.expectString,
1039
+ Message: smithyClient.expectString,
1040
+ RequestId: smithyClient.expectString,
1041
+ });
1042
+ Object.assign(contents, doc);
1043
+ const exception = new ConflictException({
1044
+ $metadata: deserializeMetadata(parsedOutput),
1045
+ ...contents,
1046
+ });
1047
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1048
+ };
1049
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1050
+ const contents = smithyClient.map({});
1051
+ const data = parsedOutput.body;
1052
+ const doc = smithyClient.take(data, {
1053
+ Code: smithyClient.expectString,
1054
+ Message: smithyClient.expectString,
1055
+ RequestId: smithyClient.expectString,
1056
+ });
1057
+ Object.assign(contents, doc);
1058
+ const exception = new ForbiddenException({
1059
+ $metadata: deserializeMetadata(parsedOutput),
1060
+ ...contents,
1061
+ });
1062
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1063
+ };
1064
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1065
+ const contents = smithyClient.map({});
1066
+ const data = parsedOutput.body;
1067
+ const doc = smithyClient.take(data, {
1068
+ Code: smithyClient.expectString,
1069
+ Message: smithyClient.expectString,
1070
+ RequestId: smithyClient.expectString,
1071
+ });
1072
+ Object.assign(contents, doc);
1073
+ const exception = new LimitExceededException({
1074
+ $metadata: deserializeMetadata(parsedOutput),
1075
+ ...contents,
1076
+ });
1077
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1078
+ };
1079
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1080
+ const contents = smithyClient.map({});
1081
+ const data = parsedOutput.body;
1082
+ const doc = smithyClient.take(data, {
1083
+ Code: smithyClient.expectString,
1084
+ Message: smithyClient.expectString,
1085
+ RequestId: smithyClient.expectString,
1086
+ });
1087
+ Object.assign(contents, doc);
1088
+ const exception = new NotFoundException({
1089
+ $metadata: deserializeMetadata(parsedOutput),
1090
+ ...contents,
1091
+ });
1092
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1093
+ };
1094
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1095
+ const contents = smithyClient.map({});
1096
+ const data = parsedOutput.body;
1097
+ const doc = smithyClient.take(data, {
1098
+ Code: smithyClient.expectString,
1099
+ Message: smithyClient.expectString,
1100
+ RequestId: smithyClient.expectString,
1101
+ ResourceName: smithyClient.expectString,
1102
+ });
1103
+ Object.assign(contents, doc);
1104
+ const exception = new ResourceNotFoundException({
1105
+ $metadata: deserializeMetadata(parsedOutput),
1106
+ ...contents,
1107
+ });
1108
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1109
+ };
1110
+ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
1111
+ const contents = smithyClient.map({});
1112
+ const data = parsedOutput.body;
1113
+ const doc = smithyClient.take(data, {
1114
+ Code: smithyClient.expectString,
1115
+ Message: smithyClient.expectString,
1116
+ RequestId: smithyClient.expectString,
1117
+ });
1118
+ Object.assign(contents, doc);
1119
+ const exception = new ServiceFailureException({
1120
+ $metadata: deserializeMetadata(parsedOutput),
1121
+ ...contents,
1122
+ });
1123
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1124
+ };
1125
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1126
+ const contents = smithyClient.map({
1127
+ [_RAS]: [, parsedOutput.headers[_ra]],
1128
+ });
1129
+ const data = parsedOutput.body;
1130
+ const doc = smithyClient.take(data, {
1131
+ Code: smithyClient.expectString,
1132
+ Message: smithyClient.expectString,
1133
+ RequestId: smithyClient.expectString,
1134
+ });
1135
+ Object.assign(contents, doc);
1136
+ const exception = new ServiceUnavailableException({
1137
+ $metadata: deserializeMetadata(parsedOutput),
1138
+ ...contents,
1139
+ });
1140
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1141
+ };
1142
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1143
+ const contents = smithyClient.map({});
1144
+ const data = parsedOutput.body;
1145
+ const doc = smithyClient.take(data, {
1146
+ Code: smithyClient.expectString,
1147
+ Message: smithyClient.expectString,
1148
+ RequestId: smithyClient.expectString,
1149
+ });
1150
+ Object.assign(contents, doc);
1151
+ const exception = new ThrottlingException({
1152
+ $metadata: deserializeMetadata(parsedOutput),
1153
+ ...contents,
1154
+ });
1155
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1156
+ };
1157
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1158
+ const contents = smithyClient.map({});
1159
+ const data = parsedOutput.body;
1160
+ const doc = smithyClient.take(data, {
1161
+ Code: smithyClient.expectString,
1162
+ Message: smithyClient.expectString,
1163
+ RequestId: smithyClient.expectString,
1164
+ ResourceName: smithyClient.expectString,
1165
+ });
1166
+ Object.assign(contents, doc);
1167
+ const exception = new TooManyTagsException({
1168
+ $metadata: deserializeMetadata(parsedOutput),
1169
+ ...contents,
1170
+ });
1171
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1172
+ };
1173
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1174
+ const contents = smithyClient.map({});
1175
+ const data = parsedOutput.body;
1176
+ const doc = smithyClient.take(data, {
1177
+ Code: smithyClient.expectString,
1178
+ Message: smithyClient.expectString,
1179
+ RequestId: smithyClient.expectString,
1180
+ });
1181
+ Object.assign(contents, doc);
1182
+ const exception = new UnauthorizedException({
1183
+ $metadata: deserializeMetadata(parsedOutput),
1184
+ ...contents,
1185
+ });
1186
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1187
+ };
1188
+ const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
1189
+ const contents = smithyClient.map({});
1190
+ const data = parsedOutput.body;
1191
+ const doc = smithyClient.take(data, {
1192
+ Code: smithyClient.expectString,
1193
+ Message: smithyClient.expectString,
1194
+ RequestId: smithyClient.expectString,
1195
+ });
1196
+ Object.assign(contents, doc);
1197
+ const exception = new UnprocessableEntityException({
1198
+ $metadata: deserializeMetadata(parsedOutput),
1199
+ ...contents,
1200
+ });
1201
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1202
+ };
1203
+ const deserializeMetadata = (output) => ({
1204
+ httpStatusCode: output.statusCode,
1205
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1206
+ extendedRequestId: output.headers["x-amz-id-2"],
1207
+ cfId: output.headers["x-amz-cf-id"],
1208
+ });
1209
+ const _MR = "MaxResults";
1210
+ const _NT = "NextToken";
1211
+ const _RARN = "ResourceARN";
1212
+ const _RAS = "RetryAfterSeconds";
1213
+ const _a = "arn";
1214
+ const _mr = "max-results";
1215
+ const _nt = "next-token";
1216
+ const _o = "operation";
1217
+ const _ra = "retry-after";
1218
+
1219
+ class BatchCreateAttendeeCommand extends smithyClient.Command
1220
+ .classBuilder()
1221
+ .ep(commonParams)
1222
+ .m(function (Command, cs, config, o) {
1223
+ return [
1224
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1225
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1226
+ ];
1227
+ })
1228
+ .s("ChimeMeetingsSDKService", "BatchCreateAttendee", {})
1229
+ .n("ChimeSDKMeetingsClient", "BatchCreateAttendeeCommand")
1230
+ .f(BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog)
1231
+ .ser(se_BatchCreateAttendeeCommand)
1232
+ .de(de_BatchCreateAttendeeCommand)
1233
+ .build() {
1234
+ }
1235
+
1236
+ class BatchUpdateAttendeeCapabilitiesExceptCommand extends smithyClient.Command
1237
+ .classBuilder()
1238
+ .ep(commonParams)
1239
+ .m(function (Command, cs, config, o) {
1240
+ return [
1241
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1242
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1243
+ ];
1244
+ })
1245
+ .s("ChimeMeetingsSDKService", "BatchUpdateAttendeeCapabilitiesExcept", {})
1246
+ .n("ChimeSDKMeetingsClient", "BatchUpdateAttendeeCapabilitiesExceptCommand")
1247
+ .f(void 0, void 0)
1248
+ .ser(se_BatchUpdateAttendeeCapabilitiesExceptCommand)
1249
+ .de(de_BatchUpdateAttendeeCapabilitiesExceptCommand)
1250
+ .build() {
1251
+ }
1252
+
1253
+ class CreateAttendeeCommand extends smithyClient.Command
1254
+ .classBuilder()
1255
+ .ep(commonParams)
1256
+ .m(function (Command, cs, config, o) {
1257
+ return [
1258
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1259
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1260
+ ];
1261
+ })
1262
+ .s("ChimeMeetingsSDKService", "CreateAttendee", {})
1263
+ .n("ChimeSDKMeetingsClient", "CreateAttendeeCommand")
1264
+ .f(CreateAttendeeRequestFilterSensitiveLog, CreateAttendeeResponseFilterSensitiveLog)
1265
+ .ser(se_CreateAttendeeCommand)
1266
+ .de(de_CreateAttendeeCommand)
1267
+ .build() {
1268
+ }
1269
+
1270
+ class CreateMeetingCommand extends smithyClient.Command
1271
+ .classBuilder()
1272
+ .ep(commonParams)
1273
+ .m(function (Command, cs, config, o) {
1274
+ return [
1275
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1276
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1277
+ ];
1278
+ })
1279
+ .s("ChimeMeetingsSDKService", "CreateMeeting", {})
1280
+ .n("ChimeSDKMeetingsClient", "CreateMeetingCommand")
1281
+ .f(CreateMeetingRequestFilterSensitiveLog, CreateMeetingResponseFilterSensitiveLog)
1282
+ .ser(se_CreateMeetingCommand)
1283
+ .de(de_CreateMeetingCommand)
1284
+ .build() {
1285
+ }
1286
+
1287
+ class CreateMeetingWithAttendeesCommand extends smithyClient.Command
1288
+ .classBuilder()
1289
+ .ep(commonParams)
1290
+ .m(function (Command, cs, config, o) {
1291
+ return [
1292
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1293
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1294
+ ];
1295
+ })
1296
+ .s("ChimeMeetingsSDKService", "CreateMeetingWithAttendees", {})
1297
+ .n("ChimeSDKMeetingsClient", "CreateMeetingWithAttendeesCommand")
1298
+ .f(CreateMeetingWithAttendeesRequestFilterSensitiveLog, CreateMeetingWithAttendeesResponseFilterSensitiveLog)
1299
+ .ser(se_CreateMeetingWithAttendeesCommand)
1300
+ .de(de_CreateMeetingWithAttendeesCommand)
1301
+ .build() {
1302
+ }
1303
+
1304
+ class DeleteAttendeeCommand extends smithyClient.Command
1305
+ .classBuilder()
1306
+ .ep(commonParams)
1307
+ .m(function (Command, cs, config, o) {
1308
+ return [
1309
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1310
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1311
+ ];
1312
+ })
1313
+ .s("ChimeMeetingsSDKService", "DeleteAttendee", {})
1314
+ .n("ChimeSDKMeetingsClient", "DeleteAttendeeCommand")
1315
+ .f(void 0, void 0)
1316
+ .ser(se_DeleteAttendeeCommand)
1317
+ .de(de_DeleteAttendeeCommand)
1318
+ .build() {
1319
+ }
1320
+
1321
+ class DeleteMeetingCommand extends smithyClient.Command
1322
+ .classBuilder()
1323
+ .ep(commonParams)
1324
+ .m(function (Command, cs, config, o) {
1325
+ return [
1326
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1327
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1328
+ ];
1329
+ })
1330
+ .s("ChimeMeetingsSDKService", "DeleteMeeting", {})
1331
+ .n("ChimeSDKMeetingsClient", "DeleteMeetingCommand")
1332
+ .f(void 0, void 0)
1333
+ .ser(se_DeleteMeetingCommand)
1334
+ .de(de_DeleteMeetingCommand)
1335
+ .build() {
1336
+ }
1337
+
1338
+ class GetAttendeeCommand extends smithyClient.Command
1339
+ .classBuilder()
1340
+ .ep(commonParams)
1341
+ .m(function (Command, cs, config, o) {
1342
+ return [
1343
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1344
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1345
+ ];
1346
+ })
1347
+ .s("ChimeMeetingsSDKService", "GetAttendee", {})
1348
+ .n("ChimeSDKMeetingsClient", "GetAttendeeCommand")
1349
+ .f(void 0, GetAttendeeResponseFilterSensitiveLog)
1350
+ .ser(se_GetAttendeeCommand)
1351
+ .de(de_GetAttendeeCommand)
1352
+ .build() {
1353
+ }
1354
+
1355
+ class GetMeetingCommand extends smithyClient.Command
1356
+ .classBuilder()
1357
+ .ep(commonParams)
1358
+ .m(function (Command, cs, config, o) {
1359
+ return [
1360
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1361
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1362
+ ];
1363
+ })
1364
+ .s("ChimeMeetingsSDKService", "GetMeeting", {})
1365
+ .n("ChimeSDKMeetingsClient", "GetMeetingCommand")
1366
+ .f(void 0, GetMeetingResponseFilterSensitiveLog)
1367
+ .ser(se_GetMeetingCommand)
1368
+ .de(de_GetMeetingCommand)
1369
+ .build() {
1370
+ }
1371
+
1372
+ class ListAttendeesCommand extends smithyClient.Command
1373
+ .classBuilder()
1374
+ .ep(commonParams)
1375
+ .m(function (Command, cs, config, o) {
1376
+ return [
1377
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1378
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1379
+ ];
1380
+ })
1381
+ .s("ChimeMeetingsSDKService", "ListAttendees", {})
1382
+ .n("ChimeSDKMeetingsClient", "ListAttendeesCommand")
1383
+ .f(void 0, ListAttendeesResponseFilterSensitiveLog)
1384
+ .ser(se_ListAttendeesCommand)
1385
+ .de(de_ListAttendeesCommand)
1386
+ .build() {
1387
+ }
1388
+
1389
+ class ListTagsForResourceCommand extends smithyClient.Command
1390
+ .classBuilder()
1391
+ .ep(commonParams)
1392
+ .m(function (Command, cs, config, o) {
1393
+ return [
1394
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1395
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1396
+ ];
1397
+ })
1398
+ .s("ChimeMeetingsSDKService", "ListTagsForResource", {})
1399
+ .n("ChimeSDKMeetingsClient", "ListTagsForResourceCommand")
1400
+ .f(void 0, void 0)
1401
+ .ser(se_ListTagsForResourceCommand)
1402
+ .de(de_ListTagsForResourceCommand)
1403
+ .build() {
1404
+ }
1405
+
1406
+ class StartMeetingTranscriptionCommand extends smithyClient.Command
1407
+ .classBuilder()
1408
+ .ep(commonParams)
1409
+ .m(function (Command, cs, config, o) {
1410
+ return [
1411
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1412
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1413
+ ];
1414
+ })
1415
+ .s("ChimeMeetingsSDKService", "StartMeetingTranscription", {})
1416
+ .n("ChimeSDKMeetingsClient", "StartMeetingTranscriptionCommand")
1417
+ .f(void 0, void 0)
1418
+ .ser(se_StartMeetingTranscriptionCommand)
1419
+ .de(de_StartMeetingTranscriptionCommand)
1420
+ .build() {
1421
+ }
1422
+
1423
+ class StopMeetingTranscriptionCommand extends smithyClient.Command
1424
+ .classBuilder()
1425
+ .ep(commonParams)
1426
+ .m(function (Command, cs, config, o) {
1427
+ return [
1428
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1429
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1430
+ ];
1431
+ })
1432
+ .s("ChimeMeetingsSDKService", "StopMeetingTranscription", {})
1433
+ .n("ChimeSDKMeetingsClient", "StopMeetingTranscriptionCommand")
1434
+ .f(void 0, void 0)
1435
+ .ser(se_StopMeetingTranscriptionCommand)
1436
+ .de(de_StopMeetingTranscriptionCommand)
1437
+ .build() {
1438
+ }
1439
+
1440
+ class TagResourceCommand extends smithyClient.Command
1441
+ .classBuilder()
1442
+ .ep(commonParams)
1443
+ .m(function (Command, cs, config, o) {
1444
+ return [
1445
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1446
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1447
+ ];
1448
+ })
1449
+ .s("ChimeMeetingsSDKService", "TagResource", {})
1450
+ .n("ChimeSDKMeetingsClient", "TagResourceCommand")
1451
+ .f(void 0, void 0)
1452
+ .ser(se_TagResourceCommand)
1453
+ .de(de_TagResourceCommand)
1454
+ .build() {
1455
+ }
1456
+
1457
+ class UntagResourceCommand extends smithyClient.Command
1458
+ .classBuilder()
1459
+ .ep(commonParams)
1460
+ .m(function (Command, cs, config, o) {
1461
+ return [
1462
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1463
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1464
+ ];
1465
+ })
1466
+ .s("ChimeMeetingsSDKService", "UntagResource", {})
1467
+ .n("ChimeSDKMeetingsClient", "UntagResourceCommand")
1468
+ .f(void 0, void 0)
1469
+ .ser(se_UntagResourceCommand)
1470
+ .de(de_UntagResourceCommand)
1471
+ .build() {
1472
+ }
1473
+
1474
+ class UpdateAttendeeCapabilitiesCommand extends smithyClient.Command
1475
+ .classBuilder()
1476
+ .ep(commonParams)
1477
+ .m(function (Command, cs, config, o) {
1478
+ return [
1479
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1480
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1481
+ ];
1482
+ })
1483
+ .s("ChimeMeetingsSDKService", "UpdateAttendeeCapabilities", {})
1484
+ .n("ChimeSDKMeetingsClient", "UpdateAttendeeCapabilitiesCommand")
1485
+ .f(void 0, UpdateAttendeeCapabilitiesResponseFilterSensitiveLog)
1486
+ .ser(se_UpdateAttendeeCapabilitiesCommand)
1487
+ .de(de_UpdateAttendeeCapabilitiesCommand)
1488
+ .build() {
1489
+ }
1490
+
1491
+ const commands = {
1492
+ BatchCreateAttendeeCommand,
1493
+ BatchUpdateAttendeeCapabilitiesExceptCommand,
1494
+ CreateAttendeeCommand,
1495
+ CreateMeetingCommand,
1496
+ CreateMeetingWithAttendeesCommand,
1497
+ DeleteAttendeeCommand,
1498
+ DeleteMeetingCommand,
1499
+ GetAttendeeCommand,
1500
+ GetMeetingCommand,
1501
+ ListAttendeesCommand,
1502
+ ListTagsForResourceCommand,
1503
+ StartMeetingTranscriptionCommand,
1504
+ StopMeetingTranscriptionCommand,
1505
+ TagResourceCommand,
1506
+ UntagResourceCommand,
1507
+ UpdateAttendeeCapabilitiesCommand,
1508
+ };
1509
+ class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
1510
+ }
1511
+ smithyClient.createAggregatedClient(commands, ChimeSDKMeetings);
1750
1512
 
1751
- // src/ChimeSDKMeetings.ts
1752
- var commands = {
1753
- BatchCreateAttendeeCommand,
1754
- BatchUpdateAttendeeCapabilitiesExceptCommand,
1755
- CreateAttendeeCommand,
1756
- CreateMeetingCommand,
1757
- CreateMeetingWithAttendeesCommand,
1758
- DeleteAttendeeCommand,
1759
- DeleteMeetingCommand,
1760
- GetAttendeeCommand,
1761
- GetMeetingCommand,
1762
- ListAttendeesCommand,
1763
- ListTagsForResourceCommand,
1764
- StartMeetingTranscriptionCommand,
1765
- StopMeetingTranscriptionCommand,
1766
- TagResourceCommand,
1767
- UntagResourceCommand,
1768
- UpdateAttendeeCapabilitiesCommand
1769
- };
1770
- var ChimeSDKMeetings = class extends ChimeSDKMeetingsClient {
1771
- static {
1772
- __name(this, "ChimeSDKMeetings");
1773
- }
1774
- };
1775
- (0, import_smithy_client.createAggregatedClient)(commands, ChimeSDKMeetings);
1776
-
1777
- // src/pagination/ListAttendeesPaginator.ts
1778
-
1779
- var paginateListAttendees = (0, import_core.createPaginator)(ChimeSDKMeetingsClient, ListAttendeesCommand, "NextToken", "NextToken", "MaxResults");
1780
- // Annotate the CommonJS export names for ESM import in node:
1513
+ const paginateListAttendees = core.createPaginator(ChimeSDKMeetingsClient, ListAttendeesCommand, "NextToken", "NextToken", "MaxResults");
1781
1514
 
1782
- 0 && (module.exports = {
1783
- ChimeSDKMeetingsServiceException,
1784
- __Client,
1785
- ChimeSDKMeetingsClient,
1786
- ChimeSDKMeetings,
1787
- $Command,
1788
- BatchCreateAttendeeCommand,
1789
- BatchUpdateAttendeeCapabilitiesExceptCommand,
1790
- CreateAttendeeCommand,
1791
- CreateMeetingCommand,
1792
- CreateMeetingWithAttendeesCommand,
1793
- DeleteAttendeeCommand,
1794
- DeleteMeetingCommand,
1795
- GetAttendeeCommand,
1796
- GetMeetingCommand,
1797
- ListAttendeesCommand,
1798
- ListTagsForResourceCommand,
1799
- StartMeetingTranscriptionCommand,
1800
- StopMeetingTranscriptionCommand,
1801
- TagResourceCommand,
1802
- UntagResourceCommand,
1803
- UpdateAttendeeCapabilitiesCommand,
1804
- paginateListAttendees,
1805
- MediaCapabilities,
1806
- MeetingFeatureStatus,
1807
- BadRequestException,
1808
- ForbiddenException,
1809
- LimitExceededException,
1810
- NotFoundException,
1811
- ServiceFailureException,
1812
- ServiceUnavailableException,
1813
- ThrottlingException,
1814
- UnauthorizedException,
1815
- UnprocessableEntityException,
1816
- ConflictException,
1817
- MediaPlacementNetworkType,
1818
- ContentResolution,
1819
- VideoResolution,
1820
- ResourceNotFoundException,
1821
- TranscribeMedicalContentIdentificationType,
1822
- TranscribeMedicalLanguageCode,
1823
- TranscribeMedicalRegion,
1824
- TranscribeMedicalSpecialty,
1825
- TranscribeMedicalType,
1826
- TranscribeContentIdentificationType,
1827
- TranscribeContentRedactionType,
1828
- TranscribeLanguageCode,
1829
- TranscribePartialResultsStability,
1830
- TranscribeRegion,
1831
- TranscribeVocabularyFilterMethod,
1832
- TooManyTagsException,
1833
- AttendeeFilterSensitiveLog,
1834
- CreateAttendeeRequestItemFilterSensitiveLog,
1835
- BatchCreateAttendeeRequestFilterSensitiveLog,
1836
- CreateAttendeeErrorFilterSensitiveLog,
1837
- BatchCreateAttendeeResponseFilterSensitiveLog,
1838
- CreateAttendeeRequestFilterSensitiveLog,
1839
- CreateAttendeeResponseFilterSensitiveLog,
1840
- NotificationsConfigurationFilterSensitiveLog,
1841
- CreateMeetingRequestFilterSensitiveLog,
1842
- MeetingFilterSensitiveLog,
1843
- CreateMeetingResponseFilterSensitiveLog,
1844
- CreateMeetingWithAttendeesRequestFilterSensitiveLog,
1845
- CreateMeetingWithAttendeesResponseFilterSensitiveLog,
1846
- GetAttendeeResponseFilterSensitiveLog,
1847
- GetMeetingResponseFilterSensitiveLog,
1848
- ListAttendeesResponseFilterSensitiveLog,
1849
- UpdateAttendeeCapabilitiesResponseFilterSensitiveLog
1515
+ Object.defineProperty(exports, "$Command", {
1516
+ enumerable: true,
1517
+ get: function () { return smithyClient.Command; }
1850
1518
  });
1851
-
1519
+ Object.defineProperty(exports, "__Client", {
1520
+ enumerable: true,
1521
+ get: function () { return smithyClient.Client; }
1522
+ });
1523
+ exports.AttendeeFilterSensitiveLog = AttendeeFilterSensitiveLog;
1524
+ exports.BadRequestException = BadRequestException;
1525
+ exports.BatchCreateAttendeeCommand = BatchCreateAttendeeCommand;
1526
+ exports.BatchCreateAttendeeRequestFilterSensitiveLog = BatchCreateAttendeeRequestFilterSensitiveLog;
1527
+ exports.BatchCreateAttendeeResponseFilterSensitiveLog = BatchCreateAttendeeResponseFilterSensitiveLog;
1528
+ exports.BatchUpdateAttendeeCapabilitiesExceptCommand = BatchUpdateAttendeeCapabilitiesExceptCommand;
1529
+ exports.ChimeSDKMeetings = ChimeSDKMeetings;
1530
+ exports.ChimeSDKMeetingsClient = ChimeSDKMeetingsClient;
1531
+ exports.ChimeSDKMeetingsServiceException = ChimeSDKMeetingsServiceException;
1532
+ exports.ConflictException = ConflictException;
1533
+ exports.ContentResolution = ContentResolution;
1534
+ exports.CreateAttendeeCommand = CreateAttendeeCommand;
1535
+ exports.CreateAttendeeErrorFilterSensitiveLog = CreateAttendeeErrorFilterSensitiveLog;
1536
+ exports.CreateAttendeeRequestFilterSensitiveLog = CreateAttendeeRequestFilterSensitiveLog;
1537
+ exports.CreateAttendeeRequestItemFilterSensitiveLog = CreateAttendeeRequestItemFilterSensitiveLog;
1538
+ exports.CreateAttendeeResponseFilterSensitiveLog = CreateAttendeeResponseFilterSensitiveLog;
1539
+ exports.CreateMeetingCommand = CreateMeetingCommand;
1540
+ exports.CreateMeetingRequestFilterSensitiveLog = CreateMeetingRequestFilterSensitiveLog;
1541
+ exports.CreateMeetingResponseFilterSensitiveLog = CreateMeetingResponseFilterSensitiveLog;
1542
+ exports.CreateMeetingWithAttendeesCommand = CreateMeetingWithAttendeesCommand;
1543
+ exports.CreateMeetingWithAttendeesRequestFilterSensitiveLog = CreateMeetingWithAttendeesRequestFilterSensitiveLog;
1544
+ exports.CreateMeetingWithAttendeesResponseFilterSensitiveLog = CreateMeetingWithAttendeesResponseFilterSensitiveLog;
1545
+ exports.DeleteAttendeeCommand = DeleteAttendeeCommand;
1546
+ exports.DeleteMeetingCommand = DeleteMeetingCommand;
1547
+ exports.ForbiddenException = ForbiddenException;
1548
+ exports.GetAttendeeCommand = GetAttendeeCommand;
1549
+ exports.GetAttendeeResponseFilterSensitiveLog = GetAttendeeResponseFilterSensitiveLog;
1550
+ exports.GetMeetingCommand = GetMeetingCommand;
1551
+ exports.GetMeetingResponseFilterSensitiveLog = GetMeetingResponseFilterSensitiveLog;
1552
+ exports.LimitExceededException = LimitExceededException;
1553
+ exports.ListAttendeesCommand = ListAttendeesCommand;
1554
+ exports.ListAttendeesResponseFilterSensitiveLog = ListAttendeesResponseFilterSensitiveLog;
1555
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1556
+ exports.MediaCapabilities = MediaCapabilities;
1557
+ exports.MediaPlacementNetworkType = MediaPlacementNetworkType;
1558
+ exports.MeetingFeatureStatus = MeetingFeatureStatus;
1559
+ exports.MeetingFilterSensitiveLog = MeetingFilterSensitiveLog;
1560
+ exports.NotFoundException = NotFoundException;
1561
+ exports.NotificationsConfigurationFilterSensitiveLog = NotificationsConfigurationFilterSensitiveLog;
1562
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1563
+ exports.ServiceFailureException = ServiceFailureException;
1564
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1565
+ exports.StartMeetingTranscriptionCommand = StartMeetingTranscriptionCommand;
1566
+ exports.StopMeetingTranscriptionCommand = StopMeetingTranscriptionCommand;
1567
+ exports.TagResourceCommand = TagResourceCommand;
1568
+ exports.ThrottlingException = ThrottlingException;
1569
+ exports.TooManyTagsException = TooManyTagsException;
1570
+ exports.TranscribeContentIdentificationType = TranscribeContentIdentificationType;
1571
+ exports.TranscribeContentRedactionType = TranscribeContentRedactionType;
1572
+ exports.TranscribeLanguageCode = TranscribeLanguageCode;
1573
+ exports.TranscribeMedicalContentIdentificationType = TranscribeMedicalContentIdentificationType;
1574
+ exports.TranscribeMedicalLanguageCode = TranscribeMedicalLanguageCode;
1575
+ exports.TranscribeMedicalRegion = TranscribeMedicalRegion;
1576
+ exports.TranscribeMedicalSpecialty = TranscribeMedicalSpecialty;
1577
+ exports.TranscribeMedicalType = TranscribeMedicalType;
1578
+ exports.TranscribePartialResultsStability = TranscribePartialResultsStability;
1579
+ exports.TranscribeRegion = TranscribeRegion;
1580
+ exports.TranscribeVocabularyFilterMethod = TranscribeVocabularyFilterMethod;
1581
+ exports.UnauthorizedException = UnauthorizedException;
1582
+ exports.UnprocessableEntityException = UnprocessableEntityException;
1583
+ exports.UntagResourceCommand = UntagResourceCommand;
1584
+ exports.UpdateAttendeeCapabilitiesCommand = UpdateAttendeeCapabilitiesCommand;
1585
+ exports.UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = UpdateAttendeeCapabilitiesResponseFilterSensitiveLog;
1586
+ exports.VideoResolution = VideoResolution;
1587
+ exports.paginateListAttendees = paginateListAttendees;