@aws-sdk/client-connectparticipant 3.714.0 → 3.716.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 (33) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +137 -44
  3. package/dist-es/ConnectParticipant.js +4 -0
  4. package/dist-es/commands/CancelParticipantAuthenticationCommand.js +22 -0
  5. package/dist-es/commands/GetAuthenticationUrlCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +24 -24
  8. package/dist-es/protocols/Aws_restJson1.js +62 -7
  9. package/dist-types/ConnectParticipant.d.ts +27 -1
  10. package/dist-types/ConnectParticipantClient.d.ts +17 -3
  11. package/dist-types/commands/CancelParticipantAuthenticationCommand.d.ts +87 -0
  12. package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +3 -2
  13. package/dist-types/commands/CreateParticipantConnectionCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeViewCommand.d.ts +1 -0
  15. package/dist-types/commands/DisconnectParticipantCommand.d.ts +1 -0
  16. package/dist-types/commands/GetAttachmentCommand.d.ts +3 -0
  17. package/dist-types/commands/GetAuthenticationUrlCommand.d.ts +99 -0
  18. package/dist-types/commands/GetTranscriptCommand.d.ts +6 -5
  19. package/dist-types/commands/SendEventCommand.d.ts +3 -2
  20. package/dist-types/commands/SendMessageCommand.d.ts +1 -0
  21. package/dist-types/commands/StartAttachmentUploadCommand.d.ts +1 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/index.d.ts +13 -1
  24. package/dist-types/models/models_0.d.ts +100 -36
  25. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  26. package/dist-types/ts3.4/ConnectParticipant.d.ts +34 -0
  27. package/dist-types/ts3.4/ConnectParticipantClient.d.ts +12 -0
  28. package/dist-types/ts3.4/commands/CancelParticipantAuthenticationCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/GetAuthenticationUrlCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +33 -18
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  33. package/package.json +12 -12
package/README.md CHANGED
@@ -6,6 +6,18 @@
6
6
 
7
7
  AWS SDK for JavaScript ConnectParticipant Client for Node.js, Browser and React Native.
8
8
 
9
+ <ul>
10
+ <li>
11
+ <p>
12
+ <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Participant_Service.html">Participant Service actions</a>
13
+ </p>
14
+ </li>
15
+ <li>
16
+ <p>
17
+ <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Participant_Service.html">Participant Service data types</a>
18
+ </p>
19
+ </li>
20
+ </ul>
9
21
  <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
10
22
  enables companies of any size to deliver superior customer service at a lower cost.
11
23
  Amazon Connect communications capabilities make it easy for companies to deliver
@@ -211,6 +223,14 @@ see LICENSE for more information.
211
223
 
212
224
  ## Client Commands (Operations List)
213
225
 
226
+ <details>
227
+ <summary>
228
+ CancelParticipantAuthentication
229
+ </summary>
230
+
231
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectparticipant/command/CancelParticipantAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/CancelParticipantAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/CancelParticipantAuthenticationCommandOutput/)
232
+
233
+ </details>
214
234
  <details>
215
235
  <summary>
216
236
  CompleteAttachmentUpload
@@ -250,6 +270,14 @@ GetAttachment
250
270
 
251
271
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectparticipant/command/GetAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAttachmentCommandOutput/)
252
272
 
273
+ </details>
274
+ <details>
275
+ <summary>
276
+ GetAuthenticationUrl
277
+ </summary>
278
+
279
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectparticipant/command/GetAuthenticationUrlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAuthenticationUrlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectparticipant/Interface/GetAuthenticationUrlCommandOutput/)
280
+
253
281
  </details>
254
282
  <details>
255
283
  <summary>
package/dist-cjs/index.js CHANGED
@@ -23,6 +23,7 @@ var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  ArtifactStatus: () => ArtifactStatus,
26
+ CancelParticipantAuthenticationCommand: () => CancelParticipantAuthenticationCommand,
26
27
  ChatItemType: () => ChatItemType,
27
28
  CompleteAttachmentUploadCommand: () => CompleteAttachmentUploadCommand,
28
29
  ConflictException: () => ConflictException,
@@ -35,6 +36,7 @@ __export(src_exports, {
35
36
  DescribeViewResponseFilterSensitiveLog: () => DescribeViewResponseFilterSensitiveLog,
36
37
  DisconnectParticipantCommand: () => DisconnectParticipantCommand,
37
38
  GetAttachmentCommand: () => GetAttachmentCommand,
39
+ GetAuthenticationUrlCommand: () => GetAuthenticationUrlCommand,
38
40
  GetTranscriptCommand: () => GetTranscriptCommand,
39
41
  InternalServerException: () => InternalServerException,
40
42
  ParticipantRole: () => ParticipantRole,
@@ -196,7 +198,7 @@ var ConnectParticipantClient = _ConnectParticipantClient;
196
198
  // src/ConnectParticipant.ts
197
199
 
198
200
 
199
- // src/commands/CompleteAttachmentUploadCommand.ts
201
+ // src/commands/CancelParticipantAuthenticationCommand.ts
200
202
 
201
203
  var import_middleware_serde = require("@smithy/middleware-serde");
202
204
 
@@ -241,96 +243,96 @@ var _AccessDeniedException = class _AccessDeniedException extends ConnectPartici
241
243
  };
242
244
  __name(_AccessDeniedException, "AccessDeniedException");
243
245
  var AccessDeniedException = _AccessDeniedException;
244
- var _ConflictException = class _ConflictException extends ConnectParticipantServiceException {
246
+ var _InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
245
247
  /**
246
248
  * @internal
247
249
  */
248
250
  constructor(opts) {
249
251
  super({
250
- name: "ConflictException",
251
- $fault: "client",
252
+ name: "InternalServerException",
253
+ $fault: "server",
252
254
  ...opts
253
255
  });
254
- this.name = "ConflictException";
255
- this.$fault = "client";
256
- Object.setPrototypeOf(this, _ConflictException.prototype);
256
+ this.name = "InternalServerException";
257
+ this.$fault = "server";
258
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
257
259
  this.Message = opts.Message;
258
260
  }
259
261
  };
260
- __name(_ConflictException, "ConflictException");
261
- var ConflictException = _ConflictException;
262
- var _InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
262
+ __name(_InternalServerException, "InternalServerException");
263
+ var InternalServerException = _InternalServerException;
264
+ var _ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
263
265
  /**
264
266
  * @internal
265
267
  */
266
268
  constructor(opts) {
267
269
  super({
268
- name: "InternalServerException",
269
- $fault: "server",
270
+ name: "ThrottlingException",
271
+ $fault: "client",
270
272
  ...opts
271
273
  });
272
- this.name = "InternalServerException";
273
- this.$fault = "server";
274
- Object.setPrototypeOf(this, _InternalServerException.prototype);
274
+ this.name = "ThrottlingException";
275
+ this.$fault = "client";
276
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
275
277
  this.Message = opts.Message;
276
278
  }
277
279
  };
278
- __name(_InternalServerException, "InternalServerException");
279
- var InternalServerException = _InternalServerException;
280
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
280
+ __name(_ThrottlingException, "ThrottlingException");
281
+ var ThrottlingException = _ThrottlingException;
282
+ var _ValidationException = class _ValidationException extends ConnectParticipantServiceException {
281
283
  /**
282
284
  * @internal
283
285
  */
284
286
  constructor(opts) {
285
287
  super({
286
- name: "ServiceQuotaExceededException",
288
+ name: "ValidationException",
287
289
  $fault: "client",
288
290
  ...opts
289
291
  });
290
- this.name = "ServiceQuotaExceededException";
292
+ this.name = "ValidationException";
291
293
  this.$fault = "client";
292
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
294
+ Object.setPrototypeOf(this, _ValidationException.prototype);
293
295
  this.Message = opts.Message;
294
296
  }
295
297
  };
296
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
297
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
298
- var _ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
298
+ __name(_ValidationException, "ValidationException");
299
+ var ValidationException = _ValidationException;
300
+ var _ConflictException = class _ConflictException extends ConnectParticipantServiceException {
299
301
  /**
300
302
  * @internal
301
303
  */
302
304
  constructor(opts) {
303
305
  super({
304
- name: "ThrottlingException",
306
+ name: "ConflictException",
305
307
  $fault: "client",
306
308
  ...opts
307
309
  });
308
- this.name = "ThrottlingException";
310
+ this.name = "ConflictException";
309
311
  this.$fault = "client";
310
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
312
+ Object.setPrototypeOf(this, _ConflictException.prototype);
311
313
  this.Message = opts.Message;
312
314
  }
313
315
  };
314
- __name(_ThrottlingException, "ThrottlingException");
315
- var ThrottlingException = _ThrottlingException;
316
- var _ValidationException = class _ValidationException extends ConnectParticipantServiceException {
316
+ __name(_ConflictException, "ConflictException");
317
+ var ConflictException = _ConflictException;
318
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
317
319
  /**
318
320
  * @internal
319
321
  */
320
322
  constructor(opts) {
321
323
  super({
322
- name: "ValidationException",
324
+ name: "ServiceQuotaExceededException",
323
325
  $fault: "client",
324
326
  ...opts
325
327
  });
326
- this.name = "ValidationException";
328
+ this.name = "ServiceQuotaExceededException";
327
329
  this.$fault = "client";
328
- Object.setPrototypeOf(this, _ValidationException.prototype);
330
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
329
331
  this.Message = opts.Message;
330
332
  }
331
333
  };
332
- __name(_ValidationException, "ValidationException");
333
- var ValidationException = _ValidationException;
334
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
335
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
334
336
  var ConnectionType = {
335
337
  CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
336
338
  WEBSOCKET: "WEBSOCKET"
@@ -416,6 +418,22 @@ var DescribeViewResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
416
418
  }), "DescribeViewResponseFilterSensitiveLog");
417
419
 
418
420
  // src/protocols/Aws_restJson1.ts
421
+ var se_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {
422
+ const b = (0, import_core.requestBuilder)(input, context);
423
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
424
+ "content-type": "application/json",
425
+ [_xab]: input[_CT]
426
+ });
427
+ b.bp("/participant/cancel-authentication");
428
+ let body;
429
+ body = JSON.stringify(
430
+ (0, import_smithy_client.take)(input, {
431
+ SessionId: []
432
+ })
433
+ );
434
+ b.m("POST").h(headers).b(body);
435
+ return b.build();
436
+ }, "se_CancelParticipantAuthenticationCommand");
419
437
  var se_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
420
438
  const b = (0, import_core.requestBuilder)(input, context);
421
439
  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
@@ -487,12 +505,30 @@ var se_GetAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
487
505
  let body;
488
506
  body = JSON.stringify(
489
507
  (0, import_smithy_client.take)(input, {
490
- AttachmentId: []
508
+ AttachmentId: [],
509
+ UrlExpiryInSeconds: []
491
510
  })
492
511
  );
493
512
  b.m("POST").h(headers).b(body);
494
513
  return b.build();
495
514
  }, "se_GetAttachmentCommand");
515
+ var se_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
516
+ const b = (0, import_core.requestBuilder)(input, context);
517
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
518
+ "content-type": "application/json",
519
+ [_xab]: input[_CT]
520
+ });
521
+ b.bp("/participant/authentication-url");
522
+ let body;
523
+ body = JSON.stringify(
524
+ (0, import_smithy_client.take)(input, {
525
+ RedirectUri: [],
526
+ SessionId: []
527
+ })
528
+ );
529
+ b.m("POST").h(headers).b(body);
530
+ return b.build();
531
+ }, "se_GetAuthenticationUrlCommand");
496
532
  var se_GetTranscriptCommand = /* @__PURE__ */ __name(async (input, context) => {
497
533
  const b = (0, import_core.requestBuilder)(input, context);
498
534
  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
@@ -569,6 +605,16 @@ var se_StartAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, conte
569
605
  b.m("POST").h(headers).b(body);
570
606
  return b.build();
571
607
  }, "se_StartAttachmentUploadCommand");
608
+ var de_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {
609
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
610
+ return de_CommandError(output, context);
611
+ }
612
+ const contents = (0, import_smithy_client.map)({
613
+ $metadata: deserializeMetadata(output)
614
+ });
615
+ await (0, import_smithy_client.collectBody)(output.body, context);
616
+ return contents;
617
+ }, "de_CancelParticipantAuthenticationCommand");
572
618
  var de_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
573
619
  if (output.statusCode !== 200 && output.statusCode >= 300) {
574
620
  return de_CommandError(output, context);
@@ -627,12 +673,27 @@ var de_GetAttachmentCommand = /* @__PURE__ */ __name(async (output, context) =>
627
673
  });
628
674
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
629
675
  const doc = (0, import_smithy_client.take)(data, {
676
+ AttachmentSizeInBytes: import_smithy_client.expectLong,
630
677
  Url: import_smithy_client.expectString,
631
678
  UrlExpiry: import_smithy_client.expectString
632
679
  });
633
680
  Object.assign(contents, doc);
634
681
  return contents;
635
682
  }, "de_GetAttachmentCommand");
683
+ var de_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
684
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
685
+ return de_CommandError(output, context);
686
+ }
687
+ const contents = (0, import_smithy_client.map)({
688
+ $metadata: deserializeMetadata(output)
689
+ });
690
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
691
+ const doc = (0, import_smithy_client.take)(data, {
692
+ AuthenticationUrl: import_smithy_client.expectString
693
+ });
694
+ Object.assign(contents, doc);
695
+ return contents;
696
+ }, "de_GetAuthenticationUrlCommand");
636
697
  var de_GetTranscriptCommand = /* @__PURE__ */ __name(async (output, context) => {
637
698
  if (output.statusCode !== 200 && output.statusCode >= 300) {
638
699
  return de_CommandError(output, context);
@@ -704,21 +765,21 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
704
765
  case "AccessDeniedException":
705
766
  case "com.amazonaws.connectparticipant#AccessDeniedException":
706
767
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
707
- case "ConflictException":
708
- case "com.amazonaws.connectparticipant#ConflictException":
709
- throw await de_ConflictExceptionRes(parsedOutput, context);
710
768
  case "InternalServerException":
711
769
  case "com.amazonaws.connectparticipant#InternalServerException":
712
770
  throw await de_InternalServerExceptionRes(parsedOutput, context);
713
- case "ServiceQuotaExceededException":
714
- case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
715
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
716
771
  case "ThrottlingException":
717
772
  case "com.amazonaws.connectparticipant#ThrottlingException":
718
773
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
719
774
  case "ValidationException":
720
775
  case "com.amazonaws.connectparticipant#ValidationException":
721
776
  throw await de_ValidationExceptionRes(parsedOutput, context);
777
+ case "ConflictException":
778
+ case "com.amazonaws.connectparticipant#ConflictException":
779
+ throw await de_ConflictExceptionRes(parsedOutput, context);
780
+ case "ServiceQuotaExceededException":
781
+ case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
782
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
722
783
  case "ResourceNotFoundException":
723
784
  case "com.amazonaws.connectparticipant#ResourceNotFoundException":
724
785
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -835,7 +896,21 @@ var _CT = "ConnectionToken";
835
896
  var _PT = "ParticipantToken";
836
897
  var _xab = "x-amz-bearer";
837
898
 
899
+ // src/commands/CancelParticipantAuthenticationCommand.ts
900
+ var _CancelParticipantAuthenticationCommand = class _CancelParticipantAuthenticationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
901
+ return [
902
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
903
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
904
+ ];
905
+ }).s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {}).n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand").f(void 0, void 0).ser(se_CancelParticipantAuthenticationCommand).de(de_CancelParticipantAuthenticationCommand).build() {
906
+ };
907
+ __name(_CancelParticipantAuthenticationCommand, "CancelParticipantAuthenticationCommand");
908
+ var CancelParticipantAuthenticationCommand = _CancelParticipantAuthenticationCommand;
909
+
838
910
  // src/commands/CompleteAttachmentUploadCommand.ts
911
+
912
+
913
+
839
914
  var _CompleteAttachmentUploadCommand = class _CompleteAttachmentUploadCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
840
915
  return [
841
916
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -902,6 +977,20 @@ var _GetAttachmentCommand = class _GetAttachmentCommand extends import_smithy_cl
902
977
  __name(_GetAttachmentCommand, "GetAttachmentCommand");
903
978
  var GetAttachmentCommand = _GetAttachmentCommand;
904
979
 
980
+ // src/commands/GetAuthenticationUrlCommand.ts
981
+
982
+
983
+
984
+ var _GetAuthenticationUrlCommand = class _GetAuthenticationUrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
985
+ return [
986
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
987
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
988
+ ];
989
+ }).s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {}).n("ConnectParticipantClient", "GetAuthenticationUrlCommand").f(void 0, void 0).ser(se_GetAuthenticationUrlCommand).de(de_GetAuthenticationUrlCommand).build() {
990
+ };
991
+ __name(_GetAuthenticationUrlCommand, "GetAuthenticationUrlCommand");
992
+ var GetAuthenticationUrlCommand = _GetAuthenticationUrlCommand;
993
+
905
994
  // src/commands/GetTranscriptCommand.ts
906
995
 
907
996
 
@@ -960,11 +1049,13 @@ var StartAttachmentUploadCommand = _StartAttachmentUploadCommand;
960
1049
 
961
1050
  // src/ConnectParticipant.ts
962
1051
  var commands = {
1052
+ CancelParticipantAuthenticationCommand,
963
1053
  CompleteAttachmentUploadCommand,
964
1054
  CreateParticipantConnectionCommand,
965
1055
  DescribeViewCommand,
966
1056
  DisconnectParticipantCommand,
967
1057
  GetAttachmentCommand,
1058
+ GetAuthenticationUrlCommand,
968
1059
  GetTranscriptCommand,
969
1060
  SendEventCommand,
970
1061
  SendMessageCommand,
@@ -987,22 +1078,24 @@ var paginateGetTranscript = (0, import_core.createPaginator)(ConnectParticipantC
987
1078
  ConnectParticipantClient,
988
1079
  ConnectParticipant,
989
1080
  $Command,
1081
+ CancelParticipantAuthenticationCommand,
990
1082
  CompleteAttachmentUploadCommand,
991
1083
  CreateParticipantConnectionCommand,
992
1084
  DescribeViewCommand,
993
1085
  DisconnectParticipantCommand,
994
1086
  GetAttachmentCommand,
1087
+ GetAuthenticationUrlCommand,
995
1088
  GetTranscriptCommand,
996
1089
  SendEventCommand,
997
1090
  SendMessageCommand,
998
1091
  StartAttachmentUploadCommand,
999
1092
  paginateGetTranscript,
1000
1093
  AccessDeniedException,
1001
- ConflictException,
1002
1094
  InternalServerException,
1003
- ServiceQuotaExceededException,
1004
1095
  ThrottlingException,
1005
1096
  ValidationException,
1097
+ ConflictException,
1098
+ ServiceQuotaExceededException,
1006
1099
  ConnectionType,
1007
1100
  ResourceType,
1008
1101
  ResourceNotFoundException,
@@ -1,20 +1,24 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CancelParticipantAuthenticationCommand, } from "./commands/CancelParticipantAuthenticationCommand";
2
3
  import { CompleteAttachmentUploadCommand, } from "./commands/CompleteAttachmentUploadCommand";
3
4
  import { CreateParticipantConnectionCommand, } from "./commands/CreateParticipantConnectionCommand";
4
5
  import { DescribeViewCommand, } from "./commands/DescribeViewCommand";
5
6
  import { DisconnectParticipantCommand, } from "./commands/DisconnectParticipantCommand";
6
7
  import { GetAttachmentCommand, } from "./commands/GetAttachmentCommand";
8
+ import { GetAuthenticationUrlCommand, } from "./commands/GetAuthenticationUrlCommand";
7
9
  import { GetTranscriptCommand, } from "./commands/GetTranscriptCommand";
8
10
  import { SendEventCommand } from "./commands/SendEventCommand";
9
11
  import { SendMessageCommand } from "./commands/SendMessageCommand";
10
12
  import { StartAttachmentUploadCommand, } from "./commands/StartAttachmentUploadCommand";
11
13
  import { ConnectParticipantClient } from "./ConnectParticipantClient";
12
14
  const commands = {
15
+ CancelParticipantAuthenticationCommand,
13
16
  CompleteAttachmentUploadCommand,
14
17
  CreateParticipantConnectionCommand,
15
18
  DescribeViewCommand,
16
19
  DisconnectParticipantCommand,
17
20
  GetAttachmentCommand,
21
+ GetAuthenticationUrlCommand,
18
22
  GetTranscriptCommand,
19
23
  SendEventCommand,
20
24
  SendMessageCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CancelParticipantAuthenticationCommand, se_CancelParticipantAuthenticationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CancelParticipantAuthenticationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
17
+ .n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CancelParticipantAuthenticationCommand)
20
+ .de(de_CancelParticipantAuthenticationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetAuthenticationUrlCommand, se_GetAuthenticationUrlCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetAuthenticationUrlCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
17
+ .n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetAuthenticationUrlCommand)
20
+ .de(de_GetAuthenticationUrlCommand)
21
+ .build() {
22
+ }
@@ -1,8 +1,10 @@
1
+ export * from "./CancelParticipantAuthenticationCommand";
1
2
  export * from "./CompleteAttachmentUploadCommand";
2
3
  export * from "./CreateParticipantConnectionCommand";
3
4
  export * from "./DescribeViewCommand";
4
5
  export * from "./DisconnectParticipantCommand";
5
6
  export * from "./GetAttachmentCommand";
7
+ export * from "./GetAuthenticationUrlCommand";
6
8
  export * from "./GetTranscriptCommand";
7
9
  export * from "./SendEventCommand";
8
10
  export * from "./SendMessageCommand";
@@ -13,68 +13,68 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
- export class ConflictException extends __BaseException {
16
+ export class InternalServerException extends __BaseException {
17
17
  constructor(opts) {
18
18
  super({
19
- name: "ConflictException",
20
- $fault: "client",
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
21
  ...opts,
22
22
  });
23
- this.name = "ConflictException";
24
- this.$fault = "client";
25
- Object.setPrototypeOf(this, ConflictException.prototype);
23
+ this.name = "InternalServerException";
24
+ this.$fault = "server";
25
+ Object.setPrototypeOf(this, InternalServerException.prototype);
26
26
  this.Message = opts.Message;
27
27
  }
28
28
  }
29
- export class InternalServerException extends __BaseException {
29
+ export class ThrottlingException extends __BaseException {
30
30
  constructor(opts) {
31
31
  super({
32
- name: "InternalServerException",
33
- $fault: "server",
32
+ name: "ThrottlingException",
33
+ $fault: "client",
34
34
  ...opts,
35
35
  });
36
- this.name = "InternalServerException";
37
- this.$fault = "server";
38
- Object.setPrototypeOf(this, InternalServerException.prototype);
36
+ this.name = "ThrottlingException";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
39
39
  this.Message = opts.Message;
40
40
  }
41
41
  }
42
- export class ServiceQuotaExceededException extends __BaseException {
42
+ export class ValidationException extends __BaseException {
43
43
  constructor(opts) {
44
44
  super({
45
- name: "ServiceQuotaExceededException",
45
+ name: "ValidationException",
46
46
  $fault: "client",
47
47
  ...opts,
48
48
  });
49
- this.name = "ServiceQuotaExceededException";
49
+ this.name = "ValidationException";
50
50
  this.$fault = "client";
51
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
51
+ Object.setPrototypeOf(this, ValidationException.prototype);
52
52
  this.Message = opts.Message;
53
53
  }
54
54
  }
55
- export class ThrottlingException extends __BaseException {
55
+ export class ConflictException extends __BaseException {
56
56
  constructor(opts) {
57
57
  super({
58
- name: "ThrottlingException",
58
+ name: "ConflictException",
59
59
  $fault: "client",
60
60
  ...opts,
61
61
  });
62
- this.name = "ThrottlingException";
62
+ this.name = "ConflictException";
63
63
  this.$fault = "client";
64
- Object.setPrototypeOf(this, ThrottlingException.prototype);
64
+ Object.setPrototypeOf(this, ConflictException.prototype);
65
65
  this.Message = opts.Message;
66
66
  }
67
67
  }
68
- export class ValidationException extends __BaseException {
68
+ export class ServiceQuotaExceededException extends __BaseException {
69
69
  constructor(opts) {
70
70
  super({
71
- name: "ValidationException",
71
+ name: "ServiceQuotaExceededException",
72
72
  $fault: "client",
73
73
  ...opts,
74
74
  });
75
- this.name = "ValidationException";
75
+ this.name = "ServiceQuotaExceededException";
76
76
  this.$fault = "client";
77
- Object.setPrototypeOf(this, ValidationException.prototype);
77
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
78
78
  this.Message = opts.Message;
79
79
  }
80
80
  }