@aws-sdk/client-connectparticipant 3.928.0 → 3.930.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.
- package/dist-cjs/index.js +664 -594
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ConnectParticipantClient.js +2 -0
- package/dist-es/commands/CancelParticipantAuthenticationCommand.js +3 -9
- package/dist-es/commands/CompleteAttachmentUploadCommand.js +3 -9
- package/dist-es/commands/CreateParticipantConnectionCommand.js +3 -10
- package/dist-es/commands/DescribeViewCommand.js +3 -10
- package/dist-es/commands/DisconnectParticipantCommand.js +3 -9
- package/dist-es/commands/GetAttachmentCommand.js +3 -9
- package/dist-es/commands/GetAuthenticationUrlCommand.js +3 -9
- package/dist-es/commands/GetTranscriptCommand.js +3 -9
- package/dist-es/commands/SendEventCommand.js +3 -9
- package/dist-es/commands/SendMessageCommand.js +3 -9
- package/dist-es/commands/StartAttachmentUploadCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +624 -0
- package/dist-types/ConnectParticipantClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +71 -0
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -12
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -465
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -101
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -137
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
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
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class ConnectParticipantClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getOmitRetryHeadersPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
@@ -112,14 +111,14 @@ class ConnectParticipantClient extends smithyClient.Client {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
class ConnectParticipantServiceException extends smithyClient.ServiceException {
|
|
114
|
+
let ConnectParticipantServiceException$1 = class ConnectParticipantServiceException extends smithyClient.ServiceException {
|
|
116
115
|
constructor(options) {
|
|
117
116
|
super(options);
|
|
118
117
|
Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
|
|
119
118
|
}
|
|
120
|
-
}
|
|
119
|
+
};
|
|
121
120
|
|
|
122
|
-
class AccessDeniedException extends ConnectParticipantServiceException {
|
|
121
|
+
let AccessDeniedException$1 = class AccessDeniedException extends ConnectParticipantServiceException$1 {
|
|
123
122
|
name = "AccessDeniedException";
|
|
124
123
|
$fault = "client";
|
|
125
124
|
Message;
|
|
@@ -132,8 +131,8 @@ class AccessDeniedException extends ConnectParticipantServiceException {
|
|
|
132
131
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
133
132
|
this.Message = opts.Message;
|
|
134
133
|
}
|
|
135
|
-
}
|
|
136
|
-
class InternalServerException extends ConnectParticipantServiceException {
|
|
134
|
+
};
|
|
135
|
+
let InternalServerException$1 = class InternalServerException extends ConnectParticipantServiceException$1 {
|
|
137
136
|
name = "InternalServerException";
|
|
138
137
|
$fault = "server";
|
|
139
138
|
Message;
|
|
@@ -146,8 +145,8 @@ class InternalServerException extends ConnectParticipantServiceException {
|
|
|
146
145
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
147
146
|
this.Message = opts.Message;
|
|
148
147
|
}
|
|
149
|
-
}
|
|
150
|
-
class ThrottlingException extends ConnectParticipantServiceException {
|
|
148
|
+
};
|
|
149
|
+
let ThrottlingException$1 = class ThrottlingException extends ConnectParticipantServiceException$1 {
|
|
151
150
|
name = "ThrottlingException";
|
|
152
151
|
$fault = "client";
|
|
153
152
|
Message;
|
|
@@ -160,8 +159,8 @@ class ThrottlingException extends ConnectParticipantServiceException {
|
|
|
160
159
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
161
160
|
this.Message = opts.Message;
|
|
162
161
|
}
|
|
163
|
-
}
|
|
164
|
-
class ValidationException extends ConnectParticipantServiceException {
|
|
162
|
+
};
|
|
163
|
+
let ValidationException$1 = class ValidationException extends ConnectParticipantServiceException$1 {
|
|
165
164
|
name = "ValidationException";
|
|
166
165
|
$fault = "client";
|
|
167
166
|
Message;
|
|
@@ -174,8 +173,8 @@ class ValidationException extends ConnectParticipantServiceException {
|
|
|
174
173
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
175
174
|
this.Message = opts.Message;
|
|
176
175
|
}
|
|
177
|
-
}
|
|
178
|
-
class ConflictException extends ConnectParticipantServiceException {
|
|
176
|
+
};
|
|
177
|
+
let ConflictException$1 = class ConflictException extends ConnectParticipantServiceException$1 {
|
|
179
178
|
name = "ConflictException";
|
|
180
179
|
$fault = "client";
|
|
181
180
|
Message;
|
|
@@ -188,8 +187,8 @@ class ConflictException extends ConnectParticipantServiceException {
|
|
|
188
187
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
189
188
|
this.Message = opts.Message;
|
|
190
189
|
}
|
|
191
|
-
}
|
|
192
|
-
class ServiceQuotaExceededException extends ConnectParticipantServiceException {
|
|
190
|
+
};
|
|
191
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ConnectParticipantServiceException$1 {
|
|
193
192
|
name = "ServiceQuotaExceededException";
|
|
194
193
|
$fault = "client";
|
|
195
194
|
Message;
|
|
@@ -202,7 +201,7 @@ class ServiceQuotaExceededException extends ConnectParticipantServiceException {
|
|
|
202
201
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
203
202
|
this.Message = opts.Message;
|
|
204
203
|
}
|
|
205
|
-
}
|
|
204
|
+
};
|
|
206
205
|
const ConnectionType = {
|
|
207
206
|
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
208
207
|
WEBRTC_CONNECTION: "WEBRTC_CONNECTION",
|
|
@@ -222,7 +221,7 @@ const ResourceType = {
|
|
|
222
221
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
223
222
|
USER: "USER",
|
|
224
223
|
};
|
|
225
|
-
class ResourceNotFoundException extends ConnectParticipantServiceException {
|
|
224
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ConnectParticipantServiceException$1 {
|
|
226
225
|
name = "ResourceNotFoundException";
|
|
227
226
|
$fault = "client";
|
|
228
227
|
Message;
|
|
@@ -239,7 +238,7 @@ class ResourceNotFoundException extends ConnectParticipantServiceException {
|
|
|
239
238
|
this.ResourceId = opts.ResourceId;
|
|
240
239
|
this.ResourceType = opts.ResourceType;
|
|
241
240
|
}
|
|
242
|
-
}
|
|
241
|
+
};
|
|
243
242
|
const ScanDirection = {
|
|
244
243
|
BACKWARD: "BACKWARD",
|
|
245
244
|
FORWARD: "FORWARD",
|
|
@@ -274,507 +273,634 @@ const ChatItemType = {
|
|
|
274
273
|
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
275
274
|
TYPING: "TYPING",
|
|
276
275
|
};
|
|
277
|
-
const AttendeeFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.JoinToken && { JoinToken: smithyClient.SENSITIVE_STRING }),
|
|
280
|
-
});
|
|
281
|
-
const WebRTCConnectionFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
|
|
284
|
-
});
|
|
285
|
-
const CreateParticipantConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
...(obj.WebRTCConnection && { WebRTCConnection: WebRTCConnectionFilterSensitiveLog(obj.WebRTCConnection) }),
|
|
288
|
-
});
|
|
289
|
-
const ViewContentFilterSensitiveLog = (obj) => ({
|
|
290
|
-
...obj,
|
|
291
|
-
...(obj.InputSchema && { InputSchema: smithyClient.SENSITIVE_STRING }),
|
|
292
|
-
...(obj.Template && { Template: smithyClient.SENSITIVE_STRING }),
|
|
293
|
-
...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
|
|
294
|
-
});
|
|
295
|
-
const ViewFilterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
298
|
-
...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
|
|
299
|
-
});
|
|
300
|
-
const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
301
|
-
...obj,
|
|
302
|
-
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
303
|
-
});
|
|
304
276
|
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
const
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
let body;
|
|
382
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
383
|
-
AttachmentId: [],
|
|
384
|
-
UrlExpiryInSeconds: [],
|
|
385
|
-
}));
|
|
386
|
-
b.m("POST").h(headers).b(body);
|
|
387
|
-
return b.build();
|
|
388
|
-
};
|
|
389
|
-
const se_GetAuthenticationUrlCommand = async (input, context) => {
|
|
390
|
-
const b = core.requestBuilder(input, context);
|
|
391
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
392
|
-
"content-type": "application/json",
|
|
393
|
-
[_xab]: input[_CT],
|
|
394
|
-
});
|
|
395
|
-
b.bp("/participant/authentication-url");
|
|
396
|
-
let body;
|
|
397
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
398
|
-
RedirectUri: [],
|
|
399
|
-
SessionId: [],
|
|
400
|
-
}));
|
|
401
|
-
b.m("POST").h(headers).b(body);
|
|
402
|
-
return b.build();
|
|
403
|
-
};
|
|
404
|
-
const se_GetTranscriptCommand = async (input, context) => {
|
|
405
|
-
const b = core.requestBuilder(input, context);
|
|
406
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
407
|
-
"content-type": "application/json",
|
|
408
|
-
[_xab]: input[_CT],
|
|
409
|
-
});
|
|
410
|
-
b.bp("/participant/transcript");
|
|
411
|
-
let body;
|
|
412
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
413
|
-
ContactId: [],
|
|
414
|
-
MaxResults: [],
|
|
415
|
-
NextToken: [],
|
|
416
|
-
ScanDirection: [],
|
|
417
|
-
SortOrder: [],
|
|
418
|
-
StartPosition: (_) => smithyClient._json(_),
|
|
419
|
-
}));
|
|
420
|
-
b.m("POST").h(headers).b(body);
|
|
421
|
-
return b.build();
|
|
422
|
-
};
|
|
423
|
-
const se_SendEventCommand = async (input, context) => {
|
|
424
|
-
const b = core.requestBuilder(input, context);
|
|
425
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
426
|
-
"content-type": "application/json",
|
|
427
|
-
[_xab]: input[_CT],
|
|
428
|
-
});
|
|
429
|
-
b.bp("/participant/event");
|
|
430
|
-
let body;
|
|
431
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
432
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
433
|
-
Content: [],
|
|
434
|
-
ContentType: [],
|
|
435
|
-
}));
|
|
436
|
-
b.m("POST").h(headers).b(body);
|
|
437
|
-
return b.build();
|
|
438
|
-
};
|
|
439
|
-
const se_SendMessageCommand = async (input, context) => {
|
|
440
|
-
const b = core.requestBuilder(input, context);
|
|
441
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
442
|
-
"content-type": "application/json",
|
|
443
|
-
[_xab]: input[_CT],
|
|
444
|
-
});
|
|
445
|
-
b.bp("/participant/message");
|
|
446
|
-
let body;
|
|
447
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
448
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
449
|
-
Content: [],
|
|
450
|
-
ContentType: [],
|
|
451
|
-
}));
|
|
452
|
-
b.m("POST").h(headers).b(body);
|
|
453
|
-
return b.build();
|
|
454
|
-
};
|
|
455
|
-
const se_StartAttachmentUploadCommand = async (input, context) => {
|
|
456
|
-
const b = core.requestBuilder(input, context);
|
|
457
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
458
|
-
"content-type": "application/json",
|
|
459
|
-
[_xab]: input[_CT],
|
|
460
|
-
});
|
|
461
|
-
b.bp("/participant/start-attachment-upload");
|
|
462
|
-
let body;
|
|
463
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
464
|
-
AttachmentName: [],
|
|
465
|
-
AttachmentSizeInBytes: [],
|
|
466
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
467
|
-
ContentType: [],
|
|
468
|
-
}));
|
|
469
|
-
b.m("POST").h(headers).b(body);
|
|
470
|
-
return b.build();
|
|
471
|
-
};
|
|
472
|
-
const de_CancelParticipantAuthenticationCommand = async (output, context) => {
|
|
473
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
474
|
-
return de_CommandError(output, context);
|
|
475
|
-
}
|
|
476
|
-
const contents = smithyClient.map({
|
|
477
|
-
$metadata: deserializeMetadata(output),
|
|
478
|
-
});
|
|
479
|
-
await smithyClient.collectBody(output.body, context);
|
|
480
|
-
return contents;
|
|
481
|
-
};
|
|
482
|
-
const de_CompleteAttachmentUploadCommand = async (output, context) => {
|
|
483
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
484
|
-
return de_CommandError(output, context);
|
|
485
|
-
}
|
|
486
|
-
const contents = smithyClient.map({
|
|
487
|
-
$metadata: deserializeMetadata(output),
|
|
488
|
-
});
|
|
489
|
-
await smithyClient.collectBody(output.body, context);
|
|
490
|
-
return contents;
|
|
491
|
-
};
|
|
492
|
-
const de_CreateParticipantConnectionCommand = async (output, context) => {
|
|
493
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
494
|
-
return de_CommandError(output, context);
|
|
495
|
-
}
|
|
496
|
-
const contents = smithyClient.map({
|
|
497
|
-
$metadata: deserializeMetadata(output),
|
|
498
|
-
});
|
|
499
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
500
|
-
const doc = smithyClient.take(data, {
|
|
501
|
-
ConnectionCredentials: smithyClient._json,
|
|
502
|
-
WebRTCConnection: smithyClient._json,
|
|
503
|
-
Websocket: smithyClient._json,
|
|
504
|
-
});
|
|
505
|
-
Object.assign(contents, doc);
|
|
506
|
-
return contents;
|
|
507
|
-
};
|
|
508
|
-
const de_DescribeViewCommand = async (output, context) => {
|
|
509
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
510
|
-
return de_CommandError(output, context);
|
|
511
|
-
}
|
|
512
|
-
const contents = smithyClient.map({
|
|
513
|
-
$metadata: deserializeMetadata(output),
|
|
514
|
-
});
|
|
515
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
516
|
-
const doc = smithyClient.take(data, {
|
|
517
|
-
View: smithyClient._json,
|
|
518
|
-
});
|
|
519
|
-
Object.assign(contents, doc);
|
|
520
|
-
return contents;
|
|
521
|
-
};
|
|
522
|
-
const de_DisconnectParticipantCommand = async (output, context) => {
|
|
523
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
524
|
-
return de_CommandError(output, context);
|
|
525
|
-
}
|
|
526
|
-
const contents = smithyClient.map({
|
|
527
|
-
$metadata: deserializeMetadata(output),
|
|
528
|
-
});
|
|
529
|
-
await smithyClient.collectBody(output.body, context);
|
|
530
|
-
return contents;
|
|
531
|
-
};
|
|
532
|
-
const de_GetAttachmentCommand = async (output, context) => {
|
|
533
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
|
-
return de_CommandError(output, context);
|
|
535
|
-
}
|
|
536
|
-
const contents = smithyClient.map({
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
});
|
|
539
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
540
|
-
const doc = smithyClient.take(data, {
|
|
541
|
-
AttachmentSizeInBytes: smithyClient.expectLong,
|
|
542
|
-
Url: smithyClient.expectString,
|
|
543
|
-
UrlExpiry: smithyClient.expectString,
|
|
544
|
-
});
|
|
545
|
-
Object.assign(contents, doc);
|
|
546
|
-
return contents;
|
|
547
|
-
};
|
|
548
|
-
const de_GetAuthenticationUrlCommand = async (output, context) => {
|
|
549
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
550
|
-
return de_CommandError(output, context);
|
|
551
|
-
}
|
|
552
|
-
const contents = smithyClient.map({
|
|
553
|
-
$metadata: deserializeMetadata(output),
|
|
554
|
-
});
|
|
555
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
556
|
-
const doc = smithyClient.take(data, {
|
|
557
|
-
AuthenticationUrl: smithyClient.expectString,
|
|
558
|
-
});
|
|
559
|
-
Object.assign(contents, doc);
|
|
560
|
-
return contents;
|
|
561
|
-
};
|
|
562
|
-
const de_GetTranscriptCommand = async (output, context) => {
|
|
563
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
564
|
-
return de_CommandError(output, context);
|
|
565
|
-
}
|
|
566
|
-
const contents = smithyClient.map({
|
|
567
|
-
$metadata: deserializeMetadata(output),
|
|
568
|
-
});
|
|
569
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
570
|
-
const doc = smithyClient.take(data, {
|
|
571
|
-
InitialContactId: smithyClient.expectString,
|
|
572
|
-
NextToken: smithyClient.expectString,
|
|
573
|
-
Transcript: smithyClient._json,
|
|
574
|
-
});
|
|
575
|
-
Object.assign(contents, doc);
|
|
576
|
-
return contents;
|
|
577
|
-
};
|
|
578
|
-
const de_SendEventCommand = async (output, context) => {
|
|
579
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
580
|
-
return de_CommandError(output, context);
|
|
581
|
-
}
|
|
582
|
-
const contents = smithyClient.map({
|
|
583
|
-
$metadata: deserializeMetadata(output),
|
|
584
|
-
});
|
|
585
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
586
|
-
const doc = smithyClient.take(data, {
|
|
587
|
-
AbsoluteTime: smithyClient.expectString,
|
|
588
|
-
Id: smithyClient.expectString,
|
|
589
|
-
});
|
|
590
|
-
Object.assign(contents, doc);
|
|
591
|
-
return contents;
|
|
592
|
-
};
|
|
593
|
-
const de_SendMessageCommand = async (output, context) => {
|
|
594
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
595
|
-
return de_CommandError(output, context);
|
|
596
|
-
}
|
|
597
|
-
const contents = smithyClient.map({
|
|
598
|
-
$metadata: deserializeMetadata(output),
|
|
599
|
-
});
|
|
600
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
601
|
-
const doc = smithyClient.take(data, {
|
|
602
|
-
AbsoluteTime: smithyClient.expectString,
|
|
603
|
-
Id: smithyClient.expectString,
|
|
604
|
-
});
|
|
605
|
-
Object.assign(contents, doc);
|
|
606
|
-
return contents;
|
|
607
|
-
};
|
|
608
|
-
const de_StartAttachmentUploadCommand = async (output, context) => {
|
|
609
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
610
|
-
return de_CommandError(output, context);
|
|
611
|
-
}
|
|
612
|
-
const contents = smithyClient.map({
|
|
613
|
-
$metadata: deserializeMetadata(output),
|
|
614
|
-
});
|
|
615
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
616
|
-
const doc = smithyClient.take(data, {
|
|
617
|
-
AttachmentId: smithyClient.expectString,
|
|
618
|
-
UploadMetadata: smithyClient._json,
|
|
619
|
-
});
|
|
620
|
-
Object.assign(contents, doc);
|
|
621
|
-
return contents;
|
|
622
|
-
};
|
|
623
|
-
const de_CommandError = async (output, context) => {
|
|
624
|
-
const parsedOutput = {
|
|
625
|
-
...output,
|
|
626
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
627
|
-
};
|
|
628
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
629
|
-
switch (errorCode) {
|
|
630
|
-
case "AccessDeniedException":
|
|
631
|
-
case "com.amazonaws.connectparticipant#AccessDeniedException":
|
|
632
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
633
|
-
case "InternalServerException":
|
|
634
|
-
case "com.amazonaws.connectparticipant#InternalServerException":
|
|
635
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
636
|
-
case "ThrottlingException":
|
|
637
|
-
case "com.amazonaws.connectparticipant#ThrottlingException":
|
|
638
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
639
|
-
case "ValidationException":
|
|
640
|
-
case "com.amazonaws.connectparticipant#ValidationException":
|
|
641
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
642
|
-
case "ConflictException":
|
|
643
|
-
case "com.amazonaws.connectparticipant#ConflictException":
|
|
644
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
645
|
-
case "ServiceQuotaExceededException":
|
|
646
|
-
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
|
|
647
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
648
|
-
case "ResourceNotFoundException":
|
|
649
|
-
case "com.amazonaws.connectparticipant#ResourceNotFoundException":
|
|
650
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
651
|
-
default:
|
|
652
|
-
const parsedBody = parsedOutput.body;
|
|
653
|
-
return throwDefaultError({
|
|
654
|
-
output,
|
|
655
|
-
parsedBody,
|
|
656
|
-
errorCode,
|
|
657
|
-
});
|
|
658
|
-
}
|
|
659
|
-
};
|
|
660
|
-
const throwDefaultError = smithyClient.withBaseException(ConnectParticipantServiceException);
|
|
661
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
662
|
-
const contents = smithyClient.map({});
|
|
663
|
-
const data = parsedOutput.body;
|
|
664
|
-
const doc = smithyClient.take(data, {
|
|
665
|
-
Message: smithyClient.expectString,
|
|
666
|
-
});
|
|
667
|
-
Object.assign(contents, doc);
|
|
668
|
-
const exception = new AccessDeniedException({
|
|
669
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
670
|
-
...contents,
|
|
671
|
-
});
|
|
672
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
673
|
-
};
|
|
674
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
675
|
-
const contents = smithyClient.map({});
|
|
676
|
-
const data = parsedOutput.body;
|
|
677
|
-
const doc = smithyClient.take(data, {
|
|
678
|
-
Message: smithyClient.expectString,
|
|
679
|
-
});
|
|
680
|
-
Object.assign(contents, doc);
|
|
681
|
-
const exception = new ConflictException({
|
|
682
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
683
|
-
...contents,
|
|
684
|
-
});
|
|
685
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
686
|
-
};
|
|
687
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
688
|
-
const contents = smithyClient.map({});
|
|
689
|
-
const data = parsedOutput.body;
|
|
690
|
-
const doc = smithyClient.take(data, {
|
|
691
|
-
Message: smithyClient.expectString,
|
|
692
|
-
});
|
|
693
|
-
Object.assign(contents, doc);
|
|
694
|
-
const exception = new InternalServerException({
|
|
695
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
696
|
-
...contents,
|
|
697
|
-
});
|
|
698
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
699
|
-
};
|
|
700
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
701
|
-
const contents = smithyClient.map({});
|
|
702
|
-
const data = parsedOutput.body;
|
|
703
|
-
const doc = smithyClient.take(data, {
|
|
704
|
-
Message: smithyClient.expectString,
|
|
705
|
-
ResourceId: smithyClient.expectString,
|
|
706
|
-
ResourceType: smithyClient.expectString,
|
|
707
|
-
});
|
|
708
|
-
Object.assign(contents, doc);
|
|
709
|
-
const exception = new ResourceNotFoundException({
|
|
710
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
711
|
-
...contents,
|
|
712
|
-
});
|
|
713
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
714
|
-
};
|
|
715
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
716
|
-
const contents = smithyClient.map({});
|
|
717
|
-
const data = parsedOutput.body;
|
|
718
|
-
const doc = smithyClient.take(data, {
|
|
719
|
-
Message: smithyClient.expectString,
|
|
720
|
-
});
|
|
721
|
-
Object.assign(contents, doc);
|
|
722
|
-
const exception = new ServiceQuotaExceededException({
|
|
723
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
724
|
-
...contents,
|
|
725
|
-
});
|
|
726
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
727
|
-
};
|
|
728
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
729
|
-
const contents = smithyClient.map({});
|
|
730
|
-
const data = parsedOutput.body;
|
|
731
|
-
const doc = smithyClient.take(data, {
|
|
732
|
-
Message: smithyClient.expectString,
|
|
733
|
-
});
|
|
734
|
-
Object.assign(contents, doc);
|
|
735
|
-
const exception = new ThrottlingException({
|
|
736
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
737
|
-
...contents,
|
|
738
|
-
});
|
|
739
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
740
|
-
};
|
|
741
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
742
|
-
const contents = smithyClient.map({});
|
|
743
|
-
const data = parsedOutput.body;
|
|
744
|
-
const doc = smithyClient.take(data, {
|
|
745
|
-
Message: smithyClient.expectString,
|
|
746
|
-
});
|
|
747
|
-
Object.assign(contents, doc);
|
|
748
|
-
const exception = new ValidationException({
|
|
749
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
750
|
-
...contents,
|
|
751
|
-
});
|
|
752
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
753
|
-
};
|
|
754
|
-
const deserializeMetadata = (output) => ({
|
|
755
|
-
httpStatusCode: output.statusCode,
|
|
756
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
757
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
758
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
759
|
-
});
|
|
760
|
-
const _CT = "ConnectionToken";
|
|
277
|
+
const _A = "Attendee";
|
|
278
|
+
const _ADE = "AccessDeniedException";
|
|
279
|
+
const _AF = "AudioFeatures";
|
|
280
|
+
const _AFU = "AudioFallbackUrl";
|
|
281
|
+
const _AHU = "AudioHostUrl";
|
|
282
|
+
const _AI = "AttachmentItem";
|
|
283
|
+
const _AIt = "AttachmentId";
|
|
284
|
+
const _AItt = "AttendeeId";
|
|
285
|
+
const _AItta = "AttachmentIds";
|
|
286
|
+
const _AN = "AttachmentName";
|
|
287
|
+
const _ASIB = "AttachmentSizeInBytes";
|
|
288
|
+
const _AT = "AbsoluteTime";
|
|
289
|
+
const _AU = "AuthenticationUrl";
|
|
290
|
+
const _Ac = "Actions";
|
|
291
|
+
const _Ar = "Arn";
|
|
292
|
+
const _At = "Attachments";
|
|
293
|
+
const _Au = "Audio";
|
|
294
|
+
const _C = "Content";
|
|
295
|
+
const _CAU = "CompleteAttachmentUpload";
|
|
296
|
+
const _CAUR = "CompleteAttachmentUploadRequest";
|
|
297
|
+
const _CAURo = "CompleteAttachmentUploadResponse";
|
|
298
|
+
const _CC = "ConnectionCredentials";
|
|
299
|
+
const _CE = "ConflictException";
|
|
300
|
+
const _CEo = "ConnectionExpiry";
|
|
301
|
+
const _CI = "ContactId";
|
|
302
|
+
const _CP = "ConnectParticipant";
|
|
303
|
+
const _CPA = "CancelParticipantAuthentication";
|
|
304
|
+
const _CPAR = "CancelParticipantAuthenticationRequest";
|
|
305
|
+
const _CPARa = "CancelParticipantAuthenticationResponse";
|
|
306
|
+
const _CPC = "CreateParticipantConnection";
|
|
307
|
+
const _CPCR = "CreateParticipantConnectionRequest";
|
|
308
|
+
const _CPCRr = "CreateParticipantConnectionResponse";
|
|
309
|
+
const _CT = "ContentType";
|
|
310
|
+
const _CTl = "ClientToken";
|
|
311
|
+
const _CTo = "ConnectionToken";
|
|
312
|
+
const _DN = "DisplayName";
|
|
313
|
+
const _DP = "DisconnectParticipant";
|
|
314
|
+
const _DPR = "DisconnectParticipantRequest";
|
|
315
|
+
const _DPRi = "DisconnectParticipantResponse";
|
|
316
|
+
const _DT = "DeliveredTimestamp";
|
|
317
|
+
const _DV = "DescribeView";
|
|
318
|
+
const _DVR = "DescribeViewRequest";
|
|
319
|
+
const _DVRe = "DescribeViewResponse";
|
|
320
|
+
const _E = "Expiry";
|
|
321
|
+
const _EIU = "EventIngestionUrl";
|
|
322
|
+
const _ER = "EchoReduction";
|
|
323
|
+
const _GA = "GetAttachment";
|
|
324
|
+
const _GAR = "GetAttachmentRequest";
|
|
325
|
+
const _GARe = "GetAttachmentResponse";
|
|
326
|
+
const _GAU = "GetAuthenticationUrl";
|
|
327
|
+
const _GAUR = "GetAuthenticationUrlRequest";
|
|
328
|
+
const _GAURe = "GetAuthenticationUrlResponse";
|
|
329
|
+
const _GT = "GetTranscript";
|
|
330
|
+
const _GTR = "GetTranscriptRequest";
|
|
331
|
+
const _GTRe = "GetTranscriptResponse";
|
|
332
|
+
const _HTI = "HeadersToInclude";
|
|
333
|
+
const _I = "Item";
|
|
334
|
+
const _ICI = "InitialContactId";
|
|
335
|
+
const _IS = "InputSchema";
|
|
336
|
+
const _ISE = "InternalServerException";
|
|
337
|
+
const _Id = "Id";
|
|
338
|
+
const _JT = "JoinToken";
|
|
339
|
+
const _M = "Message";
|
|
340
|
+
const _MF = "MeetingFeatures";
|
|
341
|
+
const _MFC = "MeetingFeaturesConfiguration";
|
|
342
|
+
const _MI = "MessageId";
|
|
343
|
+
const _MIe = "MeetingId";
|
|
344
|
+
const _MM = "MessageMetadata";
|
|
345
|
+
const _MP = "MediaPlacement";
|
|
346
|
+
const _MR = "MaxResults";
|
|
347
|
+
const _MRo = "MostRecent";
|
|
348
|
+
const _Me = "Meeting";
|
|
349
|
+
const _N = "Name";
|
|
350
|
+
const _NT = "NextToken";
|
|
351
|
+
const _PI = "ParticipantId";
|
|
352
|
+
const _PR = "ParticipantRole";
|
|
761
353
|
const _PT = "ParticipantToken";
|
|
762
|
-
const
|
|
354
|
+
const _R = "Receipts";
|
|
355
|
+
const _RCI = "RelatedContactId";
|
|
356
|
+
const _RI = "ResourceId";
|
|
357
|
+
const _RNFE = "ResourceNotFoundException";
|
|
358
|
+
const _RPI = "RecipientParticipantId";
|
|
359
|
+
const _RT = "ReadTimestamp";
|
|
360
|
+
const _RTe = "ResourceType";
|
|
361
|
+
const _RU = "RedirectUri";
|
|
362
|
+
const _Re = "Receipt";
|
|
363
|
+
const _S = "Status";
|
|
364
|
+
const _SAU = "StartAttachmentUpload";
|
|
365
|
+
const _SAUR = "StartAttachmentUploadRequest";
|
|
366
|
+
const _SAURt = "StartAttachmentUploadResponse";
|
|
367
|
+
const _SD = "ScanDirection";
|
|
368
|
+
const _SE = "SendEvent";
|
|
369
|
+
const _SER = "SendEventRequest";
|
|
370
|
+
const _SERe = "SendEventResponse";
|
|
371
|
+
const _SI = "SessionId";
|
|
372
|
+
const _SM = "SendMessage";
|
|
373
|
+
const _SMR = "SendMessageRequest";
|
|
374
|
+
const _SMRe = "SendMessageResponse";
|
|
375
|
+
const _SO = "SortOrder";
|
|
376
|
+
const _SP = "StartPosition";
|
|
377
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
378
|
+
const _SU = "SignalingUrl";
|
|
379
|
+
const _T = "Type";
|
|
380
|
+
const _TE = "ThrottlingException";
|
|
381
|
+
const _Te = "Template";
|
|
382
|
+
const _Tr = "Transcript";
|
|
383
|
+
const _U = "Url";
|
|
384
|
+
const _UE = "UrlExpiry";
|
|
385
|
+
const _UEIS = "UrlExpiryInSeconds";
|
|
386
|
+
const _UM = "UploadMetadata";
|
|
387
|
+
const _V = "View";
|
|
388
|
+
const _VA = "ViewAction";
|
|
389
|
+
const _VAi = "ViewActions";
|
|
390
|
+
const _VC = "ViewContent";
|
|
391
|
+
const _VE = "ValidationException";
|
|
392
|
+
const _VIS = "ViewInputSchema";
|
|
393
|
+
const _VN = "ViewName";
|
|
394
|
+
const _VT = "ViewTemplate";
|
|
395
|
+
const _VTi = "ViewToken";
|
|
396
|
+
const _Ve = "Version";
|
|
397
|
+
const _W = "Websocket";
|
|
398
|
+
const _WRTCC = "WebRTCConnection";
|
|
399
|
+
const _WRTCM = "WebRTCMeeting";
|
|
400
|
+
const _WRTCMP = "WebRTCMediaPlacement";
|
|
401
|
+
const _XAB = "X-Amz-Bearer";
|
|
402
|
+
const _c = "client";
|
|
403
|
+
const _e = "error";
|
|
404
|
+
const _h = "http";
|
|
405
|
+
const _hE = "httpError";
|
|
406
|
+
const _hH = "httpHeader";
|
|
407
|
+
const _s = "server";
|
|
408
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.connectparticipant";
|
|
409
|
+
const n0 = "com.amazonaws.connectparticipant";
|
|
410
|
+
var JoinToken = [0, n0, _JT, 8, 0];
|
|
411
|
+
var ViewAction = [0, n0, _VA, 8, 0];
|
|
412
|
+
var ViewInputSchema = [0, n0, _VIS, 8, 0];
|
|
413
|
+
var ViewName = [0, n0, _VN, 8, 0];
|
|
414
|
+
var ViewTemplate = [0, n0, _VT, 8, 0];
|
|
415
|
+
var AccessDeniedException = [
|
|
416
|
+
-3,
|
|
417
|
+
n0,
|
|
418
|
+
_ADE,
|
|
419
|
+
{
|
|
420
|
+
[_e]: _c,
|
|
421
|
+
[_hE]: 403,
|
|
422
|
+
},
|
|
423
|
+
[_M],
|
|
424
|
+
[0],
|
|
425
|
+
];
|
|
426
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
427
|
+
var AttachmentItem = [3, n0, _AI, 0, [_CT, _AIt, _AN, _S], [0, 0, 0, 0]];
|
|
428
|
+
var Attendee = [3, n0, _A, 0, [_AItt, _JT], [0, [() => JoinToken, 0]]];
|
|
429
|
+
var AudioFeatures = [3, n0, _AF, 0, [_ER], [0]];
|
|
430
|
+
var CancelParticipantAuthenticationRequest = [
|
|
431
|
+
3,
|
|
432
|
+
n0,
|
|
433
|
+
_CPAR,
|
|
434
|
+
0,
|
|
435
|
+
[_SI, _CTo],
|
|
436
|
+
[
|
|
437
|
+
0,
|
|
438
|
+
[
|
|
439
|
+
0,
|
|
440
|
+
{
|
|
441
|
+
[_hH]: _XAB,
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
],
|
|
445
|
+
];
|
|
446
|
+
var CancelParticipantAuthenticationResponse = [3, n0, _CPARa, 0, [], []];
|
|
447
|
+
var CompleteAttachmentUploadRequest = [
|
|
448
|
+
3,
|
|
449
|
+
n0,
|
|
450
|
+
_CAUR,
|
|
451
|
+
0,
|
|
452
|
+
[_AItta, _CTl, _CTo],
|
|
453
|
+
[
|
|
454
|
+
64 | 0,
|
|
455
|
+
[0, 4],
|
|
456
|
+
[
|
|
457
|
+
0,
|
|
458
|
+
{
|
|
459
|
+
[_hH]: _XAB,
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
],
|
|
463
|
+
];
|
|
464
|
+
var CompleteAttachmentUploadResponse = [3, n0, _CAURo, 0, [], []];
|
|
465
|
+
var ConflictException = [
|
|
466
|
+
-3,
|
|
467
|
+
n0,
|
|
468
|
+
_CE,
|
|
469
|
+
{
|
|
470
|
+
[_e]: _c,
|
|
471
|
+
[_hE]: 409,
|
|
472
|
+
},
|
|
473
|
+
[_M],
|
|
474
|
+
[0],
|
|
475
|
+
];
|
|
476
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
477
|
+
var ConnectionCredentials = [3, n0, _CC, 0, [_CTo, _E], [0, 0]];
|
|
478
|
+
var CreateParticipantConnectionRequest = [
|
|
479
|
+
3,
|
|
480
|
+
n0,
|
|
481
|
+
_CPCR,
|
|
482
|
+
0,
|
|
483
|
+
[_T, _PT, _CP],
|
|
484
|
+
[
|
|
485
|
+
64 | 0,
|
|
486
|
+
[
|
|
487
|
+
0,
|
|
488
|
+
{
|
|
489
|
+
[_hH]: _XAB,
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
2,
|
|
493
|
+
],
|
|
494
|
+
];
|
|
495
|
+
var CreateParticipantConnectionResponse = [
|
|
496
|
+
3,
|
|
497
|
+
n0,
|
|
498
|
+
_CPCRr,
|
|
499
|
+
0,
|
|
500
|
+
[_W, _CC, _WRTCC],
|
|
501
|
+
[() => Websocket, () => ConnectionCredentials, [() => WebRTCConnection, 0]],
|
|
502
|
+
];
|
|
503
|
+
var DescribeViewRequest = [
|
|
504
|
+
3,
|
|
505
|
+
n0,
|
|
506
|
+
_DVR,
|
|
507
|
+
0,
|
|
508
|
+
[_VTi, _CTo],
|
|
509
|
+
[
|
|
510
|
+
[0, 1],
|
|
511
|
+
[
|
|
512
|
+
0,
|
|
513
|
+
{
|
|
514
|
+
[_hH]: _XAB,
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
],
|
|
518
|
+
];
|
|
519
|
+
var DescribeViewResponse = [3, n0, _DVRe, 0, [_V], [[() => View, 0]]];
|
|
520
|
+
var DisconnectParticipantRequest = [
|
|
521
|
+
3,
|
|
522
|
+
n0,
|
|
523
|
+
_DPR,
|
|
524
|
+
0,
|
|
525
|
+
[_CTl, _CTo],
|
|
526
|
+
[
|
|
527
|
+
[0, 4],
|
|
528
|
+
[
|
|
529
|
+
0,
|
|
530
|
+
{
|
|
531
|
+
[_hH]: _XAB,
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
],
|
|
535
|
+
];
|
|
536
|
+
var DisconnectParticipantResponse = [3, n0, _DPRi, 0, [], []];
|
|
537
|
+
var GetAttachmentRequest = [
|
|
538
|
+
3,
|
|
539
|
+
n0,
|
|
540
|
+
_GAR,
|
|
541
|
+
0,
|
|
542
|
+
[_AIt, _CTo, _UEIS],
|
|
543
|
+
[
|
|
544
|
+
0,
|
|
545
|
+
[
|
|
546
|
+
0,
|
|
547
|
+
{
|
|
548
|
+
[_hH]: _XAB,
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
1,
|
|
552
|
+
],
|
|
553
|
+
];
|
|
554
|
+
var GetAttachmentResponse = [3, n0, _GARe, 0, [_U, _UE, _ASIB], [0, 0, 1]];
|
|
555
|
+
var GetAuthenticationUrlRequest = [
|
|
556
|
+
3,
|
|
557
|
+
n0,
|
|
558
|
+
_GAUR,
|
|
559
|
+
0,
|
|
560
|
+
[_SI, _RU, _CTo],
|
|
561
|
+
[
|
|
562
|
+
0,
|
|
563
|
+
0,
|
|
564
|
+
[
|
|
565
|
+
0,
|
|
566
|
+
{
|
|
567
|
+
[_hH]: _XAB,
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
],
|
|
571
|
+
];
|
|
572
|
+
var GetAuthenticationUrlResponse = [3, n0, _GAURe, 0, [_AU], [0]];
|
|
573
|
+
var GetTranscriptRequest = [
|
|
574
|
+
3,
|
|
575
|
+
n0,
|
|
576
|
+
_GTR,
|
|
577
|
+
0,
|
|
578
|
+
[_CI, _MR, _NT, _SD, _SO, _SP, _CTo],
|
|
579
|
+
[
|
|
580
|
+
0,
|
|
581
|
+
1,
|
|
582
|
+
0,
|
|
583
|
+
0,
|
|
584
|
+
0,
|
|
585
|
+
() => StartPosition,
|
|
586
|
+
[
|
|
587
|
+
0,
|
|
588
|
+
{
|
|
589
|
+
[_hH]: _XAB,
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
],
|
|
593
|
+
];
|
|
594
|
+
var GetTranscriptResponse = [3, n0, _GTRe, 0, [_ICI, _Tr, _NT], [0, () => Transcript, 0]];
|
|
595
|
+
var InternalServerException = [
|
|
596
|
+
-3,
|
|
597
|
+
n0,
|
|
598
|
+
_ISE,
|
|
599
|
+
{
|
|
600
|
+
[_e]: _s,
|
|
601
|
+
[_hE]: 500,
|
|
602
|
+
},
|
|
603
|
+
[_M],
|
|
604
|
+
[0],
|
|
605
|
+
];
|
|
606
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
607
|
+
var Item = [
|
|
608
|
+
3,
|
|
609
|
+
n0,
|
|
610
|
+
_I,
|
|
611
|
+
0,
|
|
612
|
+
[_AT, _C, _CT, _Id, _T, _PI, _DN, _PR, _At, _MM, _RCI, _CI],
|
|
613
|
+
[0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => MessageMetadata, 0, 0],
|
|
614
|
+
];
|
|
615
|
+
var MeetingFeaturesConfiguration = [3, n0, _MFC, 0, [_Au], [() => AudioFeatures]];
|
|
616
|
+
var MessageMetadata = [3, n0, _MM, 0, [_MI, _R], [0, () => Receipts]];
|
|
617
|
+
var Receipt = [3, n0, _Re, 0, [_DT, _RT, _RPI], [0, 0, 0]];
|
|
618
|
+
var ResourceNotFoundException = [
|
|
619
|
+
-3,
|
|
620
|
+
n0,
|
|
621
|
+
_RNFE,
|
|
622
|
+
{
|
|
623
|
+
[_e]: _c,
|
|
624
|
+
[_hE]: 404,
|
|
625
|
+
},
|
|
626
|
+
[_M, _RI, _RTe],
|
|
627
|
+
[0, 0, 0],
|
|
628
|
+
];
|
|
629
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
630
|
+
var SendEventRequest = [
|
|
631
|
+
3,
|
|
632
|
+
n0,
|
|
633
|
+
_SER,
|
|
634
|
+
0,
|
|
635
|
+
[_CT, _C, _CTl, _CTo],
|
|
636
|
+
[
|
|
637
|
+
0,
|
|
638
|
+
0,
|
|
639
|
+
[0, 4],
|
|
640
|
+
[
|
|
641
|
+
0,
|
|
642
|
+
{
|
|
643
|
+
[_hH]: _XAB,
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
],
|
|
647
|
+
];
|
|
648
|
+
var SendEventResponse = [3, n0, _SERe, 0, [_Id, _AT], [0, 0]];
|
|
649
|
+
var SendMessageRequest = [
|
|
650
|
+
3,
|
|
651
|
+
n0,
|
|
652
|
+
_SMR,
|
|
653
|
+
0,
|
|
654
|
+
[_CT, _C, _CTl, _CTo],
|
|
655
|
+
[
|
|
656
|
+
0,
|
|
657
|
+
0,
|
|
658
|
+
[0, 4],
|
|
659
|
+
[
|
|
660
|
+
0,
|
|
661
|
+
{
|
|
662
|
+
[_hH]: _XAB,
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
],
|
|
666
|
+
];
|
|
667
|
+
var SendMessageResponse = [3, n0, _SMRe, 0, [_Id, _AT], [0, 0]];
|
|
668
|
+
var ServiceQuotaExceededException = [
|
|
669
|
+
-3,
|
|
670
|
+
n0,
|
|
671
|
+
_SQEE,
|
|
672
|
+
{
|
|
673
|
+
[_e]: _c,
|
|
674
|
+
[_hE]: 402,
|
|
675
|
+
},
|
|
676
|
+
[_M],
|
|
677
|
+
[0],
|
|
678
|
+
];
|
|
679
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
680
|
+
var StartAttachmentUploadRequest = [
|
|
681
|
+
3,
|
|
682
|
+
n0,
|
|
683
|
+
_SAUR,
|
|
684
|
+
0,
|
|
685
|
+
[_CT, _ASIB, _AN, _CTl, _CTo],
|
|
686
|
+
[
|
|
687
|
+
0,
|
|
688
|
+
1,
|
|
689
|
+
0,
|
|
690
|
+
[0, 4],
|
|
691
|
+
[
|
|
692
|
+
0,
|
|
693
|
+
{
|
|
694
|
+
[_hH]: _XAB,
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
],
|
|
698
|
+
];
|
|
699
|
+
var StartAttachmentUploadResponse = [
|
|
700
|
+
3,
|
|
701
|
+
n0,
|
|
702
|
+
_SAURt,
|
|
703
|
+
0,
|
|
704
|
+
[_AIt, _UM],
|
|
705
|
+
[0, () => UploadMetadata],
|
|
706
|
+
];
|
|
707
|
+
var StartPosition = [3, n0, _SP, 0, [_Id, _AT, _MRo], [0, 0, 1]];
|
|
708
|
+
var ThrottlingException = [
|
|
709
|
+
-3,
|
|
710
|
+
n0,
|
|
711
|
+
_TE,
|
|
712
|
+
{
|
|
713
|
+
[_e]: _c,
|
|
714
|
+
[_hE]: 429,
|
|
715
|
+
},
|
|
716
|
+
[_M],
|
|
717
|
+
[0],
|
|
718
|
+
];
|
|
719
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
720
|
+
var UploadMetadata = [3, n0, _UM, 0, [_U, _UE, _HTI], [0, 0, 128 | 0]];
|
|
721
|
+
var ValidationException = [
|
|
722
|
+
-3,
|
|
723
|
+
n0,
|
|
724
|
+
_VE,
|
|
725
|
+
{
|
|
726
|
+
[_e]: _c,
|
|
727
|
+
[_hE]: 400,
|
|
728
|
+
},
|
|
729
|
+
[_M],
|
|
730
|
+
[0],
|
|
731
|
+
];
|
|
732
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
733
|
+
var View = [
|
|
734
|
+
3,
|
|
735
|
+
n0,
|
|
736
|
+
_V,
|
|
737
|
+
0,
|
|
738
|
+
[_Id, _Ar, _N, _Ve, _C],
|
|
739
|
+
[0, 0, [() => ViewName, 0], 1, [() => ViewContent, 0]],
|
|
740
|
+
];
|
|
741
|
+
var ViewContent = [
|
|
742
|
+
3,
|
|
743
|
+
n0,
|
|
744
|
+
_VC,
|
|
745
|
+
0,
|
|
746
|
+
[_IS, _Te, _Ac],
|
|
747
|
+
[
|
|
748
|
+
[() => ViewInputSchema, 0],
|
|
749
|
+
[() => ViewTemplate, 0],
|
|
750
|
+
[() => ViewActions, 0],
|
|
751
|
+
],
|
|
752
|
+
];
|
|
753
|
+
var WebRTCConnection = [
|
|
754
|
+
3,
|
|
755
|
+
n0,
|
|
756
|
+
_WRTCC,
|
|
757
|
+
0,
|
|
758
|
+
[_A, _Me],
|
|
759
|
+
[[() => Attendee, 0], () => WebRTCMeeting],
|
|
760
|
+
];
|
|
761
|
+
var WebRTCMediaPlacement = [3, n0, _WRTCMP, 0, [_AHU, _AFU, _SU, _EIU], [0, 0, 0, 0]];
|
|
762
|
+
var WebRTCMeeting = [
|
|
763
|
+
3,
|
|
764
|
+
n0,
|
|
765
|
+
_WRTCM,
|
|
766
|
+
0,
|
|
767
|
+
[_MP, _MF, _MIe],
|
|
768
|
+
[() => WebRTCMediaPlacement, () => MeetingFeaturesConfiguration, 0],
|
|
769
|
+
];
|
|
770
|
+
var Websocket = [3, n0, _W, 0, [_U, _CEo], [0, 0]];
|
|
771
|
+
var ConnectParticipantServiceException = [
|
|
772
|
+
-3,
|
|
773
|
+
_sm,
|
|
774
|
+
"ConnectParticipantServiceException",
|
|
775
|
+
0,
|
|
776
|
+
[],
|
|
777
|
+
[],
|
|
778
|
+
];
|
|
779
|
+
schema.TypeRegistry.for(_sm).registerError(ConnectParticipantServiceException, ConnectParticipantServiceException$1);
|
|
780
|
+
var Attachments = [1, n0, _At, 0, () => AttachmentItem];
|
|
781
|
+
var Receipts = [1, n0, _R, 0, () => Receipt];
|
|
782
|
+
var Transcript = [1, n0, _Tr, 0, () => Item];
|
|
783
|
+
var ViewActions = [1, n0, _VAi, 0, [() => ViewAction, 0]];
|
|
784
|
+
var CancelParticipantAuthentication = [
|
|
785
|
+
9,
|
|
786
|
+
n0,
|
|
787
|
+
_CPA,
|
|
788
|
+
{
|
|
789
|
+
[_h]: ["POST", "/participant/cancel-authentication", 200],
|
|
790
|
+
},
|
|
791
|
+
() => CancelParticipantAuthenticationRequest,
|
|
792
|
+
() => CancelParticipantAuthenticationResponse,
|
|
793
|
+
];
|
|
794
|
+
var CompleteAttachmentUpload = [
|
|
795
|
+
9,
|
|
796
|
+
n0,
|
|
797
|
+
_CAU,
|
|
798
|
+
{
|
|
799
|
+
[_h]: ["POST", "/participant/complete-attachment-upload", 200],
|
|
800
|
+
},
|
|
801
|
+
() => CompleteAttachmentUploadRequest,
|
|
802
|
+
() => CompleteAttachmentUploadResponse,
|
|
803
|
+
];
|
|
804
|
+
var CreateParticipantConnection = [
|
|
805
|
+
9,
|
|
806
|
+
n0,
|
|
807
|
+
_CPC,
|
|
808
|
+
{
|
|
809
|
+
[_h]: ["POST", "/participant/connection", 200],
|
|
810
|
+
},
|
|
811
|
+
() => CreateParticipantConnectionRequest,
|
|
812
|
+
() => CreateParticipantConnectionResponse,
|
|
813
|
+
];
|
|
814
|
+
var DescribeView = [
|
|
815
|
+
9,
|
|
816
|
+
n0,
|
|
817
|
+
_DV,
|
|
818
|
+
{
|
|
819
|
+
[_h]: ["GET", "/participant/views/{ViewToken}", 200],
|
|
820
|
+
},
|
|
821
|
+
() => DescribeViewRequest,
|
|
822
|
+
() => DescribeViewResponse,
|
|
823
|
+
];
|
|
824
|
+
var DisconnectParticipant = [
|
|
825
|
+
9,
|
|
826
|
+
n0,
|
|
827
|
+
_DP,
|
|
828
|
+
{
|
|
829
|
+
[_h]: ["POST", "/participant/disconnect", 200],
|
|
830
|
+
},
|
|
831
|
+
() => DisconnectParticipantRequest,
|
|
832
|
+
() => DisconnectParticipantResponse,
|
|
833
|
+
];
|
|
834
|
+
var GetAttachment = [
|
|
835
|
+
9,
|
|
836
|
+
n0,
|
|
837
|
+
_GA,
|
|
838
|
+
{
|
|
839
|
+
[_h]: ["POST", "/participant/attachment", 200],
|
|
840
|
+
},
|
|
841
|
+
() => GetAttachmentRequest,
|
|
842
|
+
() => GetAttachmentResponse,
|
|
843
|
+
];
|
|
844
|
+
var GetAuthenticationUrl = [
|
|
845
|
+
9,
|
|
846
|
+
n0,
|
|
847
|
+
_GAU,
|
|
848
|
+
{
|
|
849
|
+
[_h]: ["POST", "/participant/authentication-url", 200],
|
|
850
|
+
},
|
|
851
|
+
() => GetAuthenticationUrlRequest,
|
|
852
|
+
() => GetAuthenticationUrlResponse,
|
|
853
|
+
];
|
|
854
|
+
var GetTranscript = [
|
|
855
|
+
9,
|
|
856
|
+
n0,
|
|
857
|
+
_GT,
|
|
858
|
+
{
|
|
859
|
+
[_h]: ["POST", "/participant/transcript", 200],
|
|
860
|
+
},
|
|
861
|
+
() => GetTranscriptRequest,
|
|
862
|
+
() => GetTranscriptResponse,
|
|
863
|
+
];
|
|
864
|
+
var SendEvent = [
|
|
865
|
+
9,
|
|
866
|
+
n0,
|
|
867
|
+
_SE,
|
|
868
|
+
{
|
|
869
|
+
[_h]: ["POST", "/participant/event", 200],
|
|
870
|
+
},
|
|
871
|
+
() => SendEventRequest,
|
|
872
|
+
() => SendEventResponse,
|
|
873
|
+
];
|
|
874
|
+
var SendMessage = [
|
|
875
|
+
9,
|
|
876
|
+
n0,
|
|
877
|
+
_SM,
|
|
878
|
+
{
|
|
879
|
+
[_h]: ["POST", "/participant/message", 200],
|
|
880
|
+
},
|
|
881
|
+
() => SendMessageRequest,
|
|
882
|
+
() => SendMessageResponse,
|
|
883
|
+
];
|
|
884
|
+
var StartAttachmentUpload = [
|
|
885
|
+
9,
|
|
886
|
+
n0,
|
|
887
|
+
_SAU,
|
|
888
|
+
{
|
|
889
|
+
[_h]: ["POST", "/participant/start-attachment-upload", 200],
|
|
890
|
+
},
|
|
891
|
+
() => StartAttachmentUploadRequest,
|
|
892
|
+
() => StartAttachmentUploadResponse,
|
|
893
|
+
];
|
|
763
894
|
|
|
764
895
|
class CancelParticipantAuthenticationCommand extends smithyClient.Command
|
|
765
896
|
.classBuilder()
|
|
766
897
|
.ep(commonParams)
|
|
767
898
|
.m(function (Command, cs, config, o) {
|
|
768
|
-
return [
|
|
769
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
770
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
771
|
-
];
|
|
899
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
772
900
|
})
|
|
773
901
|
.s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
|
|
774
902
|
.n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
|
|
775
|
-
.
|
|
776
|
-
.ser(se_CancelParticipantAuthenticationCommand)
|
|
777
|
-
.de(de_CancelParticipantAuthenticationCommand)
|
|
903
|
+
.sc(CancelParticipantAuthentication)
|
|
778
904
|
.build() {
|
|
779
905
|
}
|
|
780
906
|
|
|
@@ -782,16 +908,11 @@ class CompleteAttachmentUploadCommand extends smithyClient.Command
|
|
|
782
908
|
.classBuilder()
|
|
783
909
|
.ep(commonParams)
|
|
784
910
|
.m(function (Command, cs, config, o) {
|
|
785
|
-
return [
|
|
786
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
787
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
788
|
-
];
|
|
911
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
789
912
|
})
|
|
790
913
|
.s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
|
|
791
914
|
.n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
|
|
792
|
-
.
|
|
793
|
-
.ser(se_CompleteAttachmentUploadCommand)
|
|
794
|
-
.de(de_CompleteAttachmentUploadCommand)
|
|
915
|
+
.sc(CompleteAttachmentUpload)
|
|
795
916
|
.build() {
|
|
796
917
|
}
|
|
797
918
|
|
|
@@ -799,16 +920,11 @@ class CreateParticipantConnectionCommand extends smithyClient.Command
|
|
|
799
920
|
.classBuilder()
|
|
800
921
|
.ep(commonParams)
|
|
801
922
|
.m(function (Command, cs, config, o) {
|
|
802
|
-
return [
|
|
803
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
804
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
805
|
-
];
|
|
923
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
806
924
|
})
|
|
807
925
|
.s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
|
|
808
926
|
.n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
|
|
809
|
-
.
|
|
810
|
-
.ser(se_CreateParticipantConnectionCommand)
|
|
811
|
-
.de(de_CreateParticipantConnectionCommand)
|
|
927
|
+
.sc(CreateParticipantConnection)
|
|
812
928
|
.build() {
|
|
813
929
|
}
|
|
814
930
|
|
|
@@ -816,16 +932,11 @@ class DescribeViewCommand extends smithyClient.Command
|
|
|
816
932
|
.classBuilder()
|
|
817
933
|
.ep(commonParams)
|
|
818
934
|
.m(function (Command, cs, config, o) {
|
|
819
|
-
return [
|
|
820
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
821
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
822
|
-
];
|
|
935
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
823
936
|
})
|
|
824
937
|
.s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
|
|
825
938
|
.n("ConnectParticipantClient", "DescribeViewCommand")
|
|
826
|
-
.
|
|
827
|
-
.ser(se_DescribeViewCommand)
|
|
828
|
-
.de(de_DescribeViewCommand)
|
|
939
|
+
.sc(DescribeView)
|
|
829
940
|
.build() {
|
|
830
941
|
}
|
|
831
942
|
|
|
@@ -833,16 +944,11 @@ class DisconnectParticipantCommand extends smithyClient.Command
|
|
|
833
944
|
.classBuilder()
|
|
834
945
|
.ep(commonParams)
|
|
835
946
|
.m(function (Command, cs, config, o) {
|
|
836
|
-
return [
|
|
837
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
838
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
839
|
-
];
|
|
947
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
840
948
|
})
|
|
841
949
|
.s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
|
|
842
950
|
.n("ConnectParticipantClient", "DisconnectParticipantCommand")
|
|
843
|
-
.
|
|
844
|
-
.ser(se_DisconnectParticipantCommand)
|
|
845
|
-
.de(de_DisconnectParticipantCommand)
|
|
951
|
+
.sc(DisconnectParticipant)
|
|
846
952
|
.build() {
|
|
847
953
|
}
|
|
848
954
|
|
|
@@ -850,16 +956,11 @@ class GetAttachmentCommand extends smithyClient.Command
|
|
|
850
956
|
.classBuilder()
|
|
851
957
|
.ep(commonParams)
|
|
852
958
|
.m(function (Command, cs, config, o) {
|
|
853
|
-
return [
|
|
854
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
855
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
856
|
-
];
|
|
959
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
857
960
|
})
|
|
858
961
|
.s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
|
|
859
962
|
.n("ConnectParticipantClient", "GetAttachmentCommand")
|
|
860
|
-
.
|
|
861
|
-
.ser(se_GetAttachmentCommand)
|
|
862
|
-
.de(de_GetAttachmentCommand)
|
|
963
|
+
.sc(GetAttachment)
|
|
863
964
|
.build() {
|
|
864
965
|
}
|
|
865
966
|
|
|
@@ -867,16 +968,11 @@ class GetAuthenticationUrlCommand extends smithyClient.Command
|
|
|
867
968
|
.classBuilder()
|
|
868
969
|
.ep(commonParams)
|
|
869
970
|
.m(function (Command, cs, config, o) {
|
|
870
|
-
return [
|
|
871
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
872
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
873
|
-
];
|
|
971
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
874
972
|
})
|
|
875
973
|
.s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
|
|
876
974
|
.n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
|
|
877
|
-
.
|
|
878
|
-
.ser(se_GetAuthenticationUrlCommand)
|
|
879
|
-
.de(de_GetAuthenticationUrlCommand)
|
|
975
|
+
.sc(GetAuthenticationUrl)
|
|
880
976
|
.build() {
|
|
881
977
|
}
|
|
882
978
|
|
|
@@ -884,16 +980,11 @@ class GetTranscriptCommand extends smithyClient.Command
|
|
|
884
980
|
.classBuilder()
|
|
885
981
|
.ep(commonParams)
|
|
886
982
|
.m(function (Command, cs, config, o) {
|
|
887
|
-
return [
|
|
888
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
889
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
890
|
-
];
|
|
983
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
891
984
|
})
|
|
892
985
|
.s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
|
|
893
986
|
.n("ConnectParticipantClient", "GetTranscriptCommand")
|
|
894
|
-
.
|
|
895
|
-
.ser(se_GetTranscriptCommand)
|
|
896
|
-
.de(de_GetTranscriptCommand)
|
|
987
|
+
.sc(GetTranscript)
|
|
897
988
|
.build() {
|
|
898
989
|
}
|
|
899
990
|
|
|
@@ -901,16 +992,11 @@ class SendEventCommand extends smithyClient.Command
|
|
|
901
992
|
.classBuilder()
|
|
902
993
|
.ep(commonParams)
|
|
903
994
|
.m(function (Command, cs, config, o) {
|
|
904
|
-
return [
|
|
905
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
906
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
907
|
-
];
|
|
995
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
996
|
})
|
|
909
997
|
.s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
|
|
910
998
|
.n("ConnectParticipantClient", "SendEventCommand")
|
|
911
|
-
.
|
|
912
|
-
.ser(se_SendEventCommand)
|
|
913
|
-
.de(de_SendEventCommand)
|
|
999
|
+
.sc(SendEvent)
|
|
914
1000
|
.build() {
|
|
915
1001
|
}
|
|
916
1002
|
|
|
@@ -918,16 +1004,11 @@ class SendMessageCommand extends smithyClient.Command
|
|
|
918
1004
|
.classBuilder()
|
|
919
1005
|
.ep(commonParams)
|
|
920
1006
|
.m(function (Command, cs, config, o) {
|
|
921
|
-
return [
|
|
922
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
923
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
924
|
-
];
|
|
1007
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
925
1008
|
})
|
|
926
1009
|
.s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
|
|
927
1010
|
.n("ConnectParticipantClient", "SendMessageCommand")
|
|
928
|
-
.
|
|
929
|
-
.ser(se_SendMessageCommand)
|
|
930
|
-
.de(de_SendMessageCommand)
|
|
1011
|
+
.sc(SendMessage)
|
|
931
1012
|
.build() {
|
|
932
1013
|
}
|
|
933
1014
|
|
|
@@ -935,16 +1016,11 @@ class StartAttachmentUploadCommand extends smithyClient.Command
|
|
|
935
1016
|
.classBuilder()
|
|
936
1017
|
.ep(commonParams)
|
|
937
1018
|
.m(function (Command, cs, config, o) {
|
|
938
|
-
return [
|
|
939
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
940
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
941
|
-
];
|
|
1019
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
942
1020
|
})
|
|
943
1021
|
.s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
|
|
944
1022
|
.n("ConnectParticipantClient", "StartAttachmentUploadCommand")
|
|
945
|
-
.
|
|
946
|
-
.ser(se_StartAttachmentUploadCommand)
|
|
947
|
-
.de(de_StartAttachmentUploadCommand)
|
|
1023
|
+
.sc(StartAttachmentUpload)
|
|
948
1024
|
.build() {
|
|
949
1025
|
}
|
|
950
1026
|
|
|
@@ -975,39 +1051,33 @@ Object.defineProperty(exports, "__Client", {
|
|
|
975
1051
|
enumerable: true,
|
|
976
1052
|
get: function () { return smithyClient.Client; }
|
|
977
1053
|
});
|
|
978
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1054
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
979
1055
|
exports.ArtifactStatus = ArtifactStatus;
|
|
980
|
-
exports.AttendeeFilterSensitiveLog = AttendeeFilterSensitiveLog;
|
|
981
1056
|
exports.CancelParticipantAuthenticationCommand = CancelParticipantAuthenticationCommand;
|
|
982
1057
|
exports.ChatItemType = ChatItemType;
|
|
983
1058
|
exports.CompleteAttachmentUploadCommand = CompleteAttachmentUploadCommand;
|
|
984
|
-
exports.ConflictException = ConflictException;
|
|
1059
|
+
exports.ConflictException = ConflictException$1;
|
|
985
1060
|
exports.ConnectParticipant = ConnectParticipant;
|
|
986
1061
|
exports.ConnectParticipantClient = ConnectParticipantClient;
|
|
987
|
-
exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
|
|
1062
|
+
exports.ConnectParticipantServiceException = ConnectParticipantServiceException$1;
|
|
988
1063
|
exports.ConnectionType = ConnectionType;
|
|
989
1064
|
exports.CreateParticipantConnectionCommand = CreateParticipantConnectionCommand;
|
|
990
|
-
exports.CreateParticipantConnectionResponseFilterSensitiveLog = CreateParticipantConnectionResponseFilterSensitiveLog;
|
|
991
1065
|
exports.DescribeViewCommand = DescribeViewCommand;
|
|
992
|
-
exports.DescribeViewResponseFilterSensitiveLog = DescribeViewResponseFilterSensitiveLog;
|
|
993
1066
|
exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
|
|
994
1067
|
exports.GetAttachmentCommand = GetAttachmentCommand;
|
|
995
1068
|
exports.GetAuthenticationUrlCommand = GetAuthenticationUrlCommand;
|
|
996
1069
|
exports.GetTranscriptCommand = GetTranscriptCommand;
|
|
997
|
-
exports.InternalServerException = InternalServerException;
|
|
1070
|
+
exports.InternalServerException = InternalServerException$1;
|
|
998
1071
|
exports.MeetingFeatureStatus = MeetingFeatureStatus;
|
|
999
1072
|
exports.ParticipantRole = ParticipantRole;
|
|
1000
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1073
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1001
1074
|
exports.ResourceType = ResourceType;
|
|
1002
1075
|
exports.ScanDirection = ScanDirection;
|
|
1003
1076
|
exports.SendEventCommand = SendEventCommand;
|
|
1004
1077
|
exports.SendMessageCommand = SendMessageCommand;
|
|
1005
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1078
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1006
1079
|
exports.SortKey = SortKey;
|
|
1007
1080
|
exports.StartAttachmentUploadCommand = StartAttachmentUploadCommand;
|
|
1008
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1009
|
-
exports.ValidationException = ValidationException;
|
|
1010
|
-
exports.ViewContentFilterSensitiveLog = ViewContentFilterSensitiveLog;
|
|
1011
|
-
exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
|
|
1012
|
-
exports.WebRTCConnectionFilterSensitiveLog = WebRTCConnectionFilterSensitiveLog;
|
|
1081
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1082
|
+
exports.ValidationException = ValidationException$1;
|
|
1013
1083
|
exports.paginateGetTranscript = paginateGetTranscript;
|