@aws-sdk/client-ivschat 3.940.0 → 3.946.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 (46) hide show
  1. package/dist-cjs/index.js +26 -117
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/IvschatClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +26 -117
  8. package/dist-types/Ivschat.d.ts +1 -1
  9. package/dist-types/IvschatClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/CreateChatTokenCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateRoomCommand.d.ts +3 -3
  15. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteMessageCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteRoomCommand.d.ts +3 -3
  18. package/dist-types/commands/DisconnectUserCommand.d.ts +3 -3
  19. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -3
  20. package/dist-types/commands/GetRoomCommand.d.ts +3 -3
  21. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
  22. package/dist-types/commands/ListRoomsCommand.d.ts +3 -3
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  24. package/dist-types/commands/SendEventCommand.d.ts +3 -3
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  27. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateRoomCommand.d.ts +3 -3
  29. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  30. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  31. package/dist-types/extensionConfiguration.d.ts +4 -4
  32. package/dist-types/models/IvschatServiceException.d.ts +1 -1
  33. package/dist-types/models/errors.d.ts +1 -1
  34. package/dist-types/pagination/Interfaces.d.ts +1 -1
  35. package/dist-types/pagination/ListLoggingConfigurationsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListRoomsPaginator.d.ts +1 -1
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  38. package/dist-types/runtimeConfig.d.ts +1 -1
  39. package/dist-types/runtimeConfig.native.d.ts +1 -1
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  41. package/dist-types/runtimeExtensions.d.ts +1 -1
  42. package/dist-types/schemas/schemas_0.d.ts +1 -1
  43. package/dist-types/ts3.4/IvschatClient.d.ts +3 -3
  44. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  45. package/dist-types/ts3.4/models/IvschatServiceException.d.ts +1 -1
  46. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -363,30 +363,10 @@ const _uT = "updateTime";
363
363
  const n0 = "com.amazonaws.ivschat";
364
364
  var ChatToken = [0, n0, _CT, 8, 0];
365
365
  var UserID = [0, n0, _UID, 8, 0];
366
- var AccessDeniedException = [
367
- -3,
368
- n0,
369
- _ADE,
370
- {
371
- [_e]: _c,
372
- [_hE]: 403,
373
- },
374
- [_m],
375
- [0],
376
- ];
366
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
377
367
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
378
368
  var CloudWatchLogsDestinationConfiguration = [3, n0, _CWLDC, 0, [_lGN], [0]];
379
- var ConflictException = [
380
- -3,
381
- n0,
382
- _CE,
383
- {
384
- [_e]: _c,
385
- [_hE]: 409,
386
- },
387
- [_m, _rI, _rT],
388
- [0, 0, 0],
389
- ];
369
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
390
370
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
391
371
  var CreateChatTokenRequest = [
392
372
  3,
@@ -461,17 +441,7 @@ var GetRoomResponse = [
461
441
  [_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
462
442
  [0, 0, 0, 5, 5, 1, 1, () => MessageReviewHandler, 128 | 0, 64 | 0],
463
443
  ];
464
- var InternalServerException = [
465
- -3,
466
- n0,
467
- _ISE,
468
- {
469
- [_e]: _se,
470
- [_hE]: 500,
471
- },
472
- [_m],
473
- [0],
474
- ];
444
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
475
445
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
476
446
  var ListLoggingConfigurationsRequest = [3, n0, _LLCR, 0, [_nT, _mR], [0, 1]];
477
447
  var ListLoggingConfigurationsResponse = [
@@ -495,26 +465,13 @@ var LoggingConfigurationSummary = [
495
465
  [0, 0, 5, 5, 0, () => DestinationConfiguration, 0, 128 | 0],
496
466
  ];
497
467
  var MessageReviewHandler = [3, n0, _MRH, 0, [_u, _fR], [0, 0]];
498
- var PendingVerification = [
499
- -3,
500
- n0,
501
- _PV,
502
- {
503
- [_e]: _c,
504
- [_hE]: 403,
505
- },
506
- [_m],
507
- [0],
508
- ];
468
+ var PendingVerification = [-3, n0, _PV, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
509
469
  schema.TypeRegistry.for(n0).registerError(PendingVerification, PendingVerification$1);
510
470
  var ResourceNotFoundException = [
511
471
  -3,
512
472
  n0,
513
473
  _RNFE,
514
- {
515
- [_e]: _c,
516
- [_hE]: 404,
517
- },
474
+ { [_e]: _c, [_hE]: 404 },
518
475
  [_m, _rI, _rT],
519
476
  [0, 0, 0],
520
477
  ];
@@ -534,10 +491,7 @@ var ServiceQuotaExceededException = [
534
491
  -3,
535
492
  n0,
536
493
  _SQEE,
537
- {
538
- [_e]: _c,
539
- [_hE]: 402,
540
- },
494
+ { [_e]: _c, [_hE]: 402 },
541
495
  [_m, _rI, _rT, _l],
542
496
  [0, 0, 0, 1],
543
497
  ];
@@ -548,10 +502,7 @@ var ThrottlingException = [
548
502
  -3,
549
503
  n0,
550
504
  _TE,
551
- {
552
- [_e]: _c,
553
- [_hE]: 429,
554
- },
505
+ { [_e]: _c, [_hE]: 429 },
555
506
  [_m, _rI, _rT, _l],
556
507
  [0, 0, 0, 1],
557
508
  ];
@@ -564,12 +515,7 @@ var UntagResourceRequest = [
564
515
  [_rA, _tK],
565
516
  [
566
517
  [0, 1],
567
- [
568
- 64 | 0,
569
- {
570
- [_hQ]: _tK,
571
- },
572
- ],
518
+ [64 | 0, { [_hQ]: _tK }],
573
519
  ],
574
520
  ];
575
521
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -609,10 +555,7 @@ var ValidationException = [
609
555
  -3,
610
556
  n0,
611
557
  _VE,
612
- {
613
- [_e]: _c,
614
- [_hE]: 400,
615
- },
558
+ { [_e]: _c, [_hE]: 400 },
616
559
  [_m, _r, _fL],
617
560
  [0, 0, () => ValidationExceptionFieldList],
618
561
  ];
@@ -641,9 +584,7 @@ var CreateChatToken = [
641
584
  9,
642
585
  n0,
643
586
  _CCT,
644
- {
645
- [_h]: ["POST", "/CreateChatToken", 200],
646
- },
587
+ { [_h]: ["POST", "/CreateChatToken", 200] },
647
588
  () => CreateChatTokenRequest,
648
589
  () => CreateChatTokenResponse,
649
590
  ];
@@ -651,9 +592,7 @@ var CreateLoggingConfiguration = [
651
592
  9,
652
593
  n0,
653
594
  _CLC,
654
- {
655
- [_h]: ["POST", "/CreateLoggingConfiguration", 200],
656
- },
595
+ { [_h]: ["POST", "/CreateLoggingConfiguration", 200] },
657
596
  () => CreateLoggingConfigurationRequest,
658
597
  () => CreateLoggingConfigurationResponse,
659
598
  ];
@@ -661,9 +600,7 @@ var CreateRoom = [
661
600
  9,
662
601
  n0,
663
602
  _CR,
664
- {
665
- [_h]: ["POST", "/CreateRoom", 200],
666
- },
603
+ { [_h]: ["POST", "/CreateRoom", 200] },
667
604
  () => CreateRoomRequest,
668
605
  () => CreateRoomResponse,
669
606
  ];
@@ -671,9 +608,7 @@ var DeleteLoggingConfiguration = [
671
608
  9,
672
609
  n0,
673
610
  _DLC,
674
- {
675
- [_h]: ["POST", "/DeleteLoggingConfiguration", 204],
676
- },
611
+ { [_h]: ["POST", "/DeleteLoggingConfiguration", 204] },
677
612
  () => DeleteLoggingConfigurationRequest,
678
613
  () => __Unit,
679
614
  ];
@@ -681,9 +616,7 @@ var DeleteMessage = [
681
616
  9,
682
617
  n0,
683
618
  _DM,
684
- {
685
- [_h]: ["POST", "/DeleteMessage", 200],
686
- },
619
+ { [_h]: ["POST", "/DeleteMessage", 200] },
687
620
  () => DeleteMessageRequest,
688
621
  () => DeleteMessageResponse,
689
622
  ];
@@ -691,9 +624,7 @@ var DeleteRoom = [
691
624
  9,
692
625
  n0,
693
626
  _DR,
694
- {
695
- [_h]: ["POST", "/DeleteRoom", 204],
696
- },
627
+ { [_h]: ["POST", "/DeleteRoom", 204] },
697
628
  () => DeleteRoomRequest,
698
629
  () => __Unit,
699
630
  ];
@@ -701,9 +632,7 @@ var DisconnectUser = [
701
632
  9,
702
633
  n0,
703
634
  _DU,
704
- {
705
- [_h]: ["POST", "/DisconnectUser", 200],
706
- },
635
+ { [_h]: ["POST", "/DisconnectUser", 200] },
707
636
  () => DisconnectUserRequest,
708
637
  () => DisconnectUserResponse,
709
638
  ];
@@ -711,9 +640,7 @@ var GetLoggingConfiguration = [
711
640
  9,
712
641
  n0,
713
642
  _GLC,
714
- {
715
- [_h]: ["POST", "/GetLoggingConfiguration", 200],
716
- },
643
+ { [_h]: ["POST", "/GetLoggingConfiguration", 200] },
717
644
  () => GetLoggingConfigurationRequest,
718
645
  () => GetLoggingConfigurationResponse,
719
646
  ];
@@ -721,9 +648,7 @@ var GetRoom = [
721
648
  9,
722
649
  n0,
723
650
  _GR,
724
- {
725
- [_h]: ["POST", "/GetRoom", 200],
726
- },
651
+ { [_h]: ["POST", "/GetRoom", 200] },
727
652
  () => GetRoomRequest,
728
653
  () => GetRoomResponse,
729
654
  ];
@@ -731,9 +656,7 @@ var ListLoggingConfigurations = [
731
656
  9,
732
657
  n0,
733
658
  _LLC,
734
- {
735
- [_h]: ["POST", "/ListLoggingConfigurations", 200],
736
- },
659
+ { [_h]: ["POST", "/ListLoggingConfigurations", 200] },
737
660
  () => ListLoggingConfigurationsRequest,
738
661
  () => ListLoggingConfigurationsResponse,
739
662
  ];
@@ -741,9 +664,7 @@ var ListRooms = [
741
664
  9,
742
665
  n0,
743
666
  _LR,
744
- {
745
- [_h]: ["POST", "/ListRooms", 200],
746
- },
667
+ { [_h]: ["POST", "/ListRooms", 200] },
747
668
  () => ListRoomsRequest,
748
669
  () => ListRoomsResponse,
749
670
  ];
@@ -751,9 +672,7 @@ var ListTagsForResource = [
751
672
  9,
752
673
  n0,
753
674
  _LTFR,
754
- {
755
- [_h]: ["GET", "/tags/{resourceArn}", 200],
756
- },
675
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
757
676
  () => ListTagsForResourceRequest,
758
677
  () => ListTagsForResourceResponse,
759
678
  ];
@@ -761,9 +680,7 @@ var SendEvent = [
761
680
  9,
762
681
  n0,
763
682
  _SE,
764
- {
765
- [_h]: ["POST", "/SendEvent", 200],
766
- },
683
+ { [_h]: ["POST", "/SendEvent", 200] },
767
684
  () => SendEventRequest,
768
685
  () => SendEventResponse,
769
686
  ];
@@ -771,9 +688,7 @@ var TagResource = [
771
688
  9,
772
689
  n0,
773
690
  _TR,
774
- {
775
- [_h]: ["POST", "/tags/{resourceArn}", 200],
776
- },
691
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
777
692
  () => TagResourceRequest,
778
693
  () => TagResourceResponse,
779
694
  ];
@@ -781,9 +696,7 @@ var UntagResource = [
781
696
  9,
782
697
  n0,
783
698
  _UR,
784
- {
785
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
786
- },
699
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
787
700
  () => UntagResourceRequest,
788
701
  () => UntagResourceResponse,
789
702
  ];
@@ -791,9 +704,7 @@ var UpdateLoggingConfiguration = [
791
704
  9,
792
705
  n0,
793
706
  _ULC,
794
- {
795
- [_h]: ["POST", "/UpdateLoggingConfiguration", 200],
796
- },
707
+ { [_h]: ["POST", "/UpdateLoggingConfiguration", 200] },
797
708
  () => UpdateLoggingConfigurationRequest,
798
709
  () => UpdateLoggingConfigurationResponse,
799
710
  ];
@@ -801,9 +712,7 @@ var UpdateRoom = [
801
712
  9,
802
713
  n0,
803
714
  _URp,
804
- {
805
- [_h]: ["POST", "/UpdateRoom", 200],
806
- },
715
+ { [_h]: ["POST", "/UpdateRoom", 200] },
807
716
  () => UpdateRoomRequest,
808
717
  () => UpdateRoomResponse,
809
718
  ];
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultIvschatHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -126,30 +126,10 @@ import { AccessDeniedException as __AccessDeniedException, ConflictException as
126
126
  import { IvschatServiceException as __IvschatServiceException } from "../models/IvschatServiceException";
127
127
  export var ChatToken = [0, n0, _CT, 8, 0];
128
128
  export var UserID = [0, n0, _UID, 8, 0];
129
- export var AccessDeniedException = [
130
- -3,
131
- n0,
132
- _ADE,
133
- {
134
- [_e]: _c,
135
- [_hE]: 403,
136
- },
137
- [_m],
138
- [0],
139
- ];
129
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
140
130
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
141
131
  export var CloudWatchLogsDestinationConfiguration = [3, n0, _CWLDC, 0, [_lGN], [0]];
142
- export var ConflictException = [
143
- -3,
144
- n0,
145
- _CE,
146
- {
147
- [_e]: _c,
148
- [_hE]: 409,
149
- },
150
- [_m, _rI, _rT],
151
- [0, 0, 0],
152
- ];
132
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
153
133
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
154
134
  export var CreateChatTokenRequest = [
155
135
  3,
@@ -224,17 +204,7 @@ export var GetRoomResponse = [
224
204
  [_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
225
205
  [0, 0, 0, 5, 5, 1, 1, () => MessageReviewHandler, 128 | 0, 64 | 0],
226
206
  ];
227
- export var InternalServerException = [
228
- -3,
229
- n0,
230
- _ISE,
231
- {
232
- [_e]: _se,
233
- [_hE]: 500,
234
- },
235
- [_m],
236
- [0],
237
- ];
207
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
238
208
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
239
209
  export var ListLoggingConfigurationsRequest = [3, n0, _LLCR, 0, [_nT, _mR], [0, 1]];
240
210
  export var ListLoggingConfigurationsResponse = [
@@ -258,26 +228,13 @@ export var LoggingConfigurationSummary = [
258
228
  [0, 0, 5, 5, 0, () => DestinationConfiguration, 0, 128 | 0],
259
229
  ];
260
230
  export var MessageReviewHandler = [3, n0, _MRH, 0, [_u, _fR], [0, 0]];
261
- export var PendingVerification = [
262
- -3,
263
- n0,
264
- _PV,
265
- {
266
- [_e]: _c,
267
- [_hE]: 403,
268
- },
269
- [_m],
270
- [0],
271
- ];
231
+ export var PendingVerification = [-3, n0, _PV, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
272
232
  TypeRegistry.for(n0).registerError(PendingVerification, __PendingVerification);
273
233
  export var ResourceNotFoundException = [
274
234
  -3,
275
235
  n0,
276
236
  _RNFE,
277
- {
278
- [_e]: _c,
279
- [_hE]: 404,
280
- },
237
+ { [_e]: _c, [_hE]: 404 },
281
238
  [_m, _rI, _rT],
282
239
  [0, 0, 0],
283
240
  ];
@@ -297,10 +254,7 @@ export var ServiceQuotaExceededException = [
297
254
  -3,
298
255
  n0,
299
256
  _SQEE,
300
- {
301
- [_e]: _c,
302
- [_hE]: 402,
303
- },
257
+ { [_e]: _c, [_hE]: 402 },
304
258
  [_m, _rI, _rT, _l],
305
259
  [0, 0, 0, 1],
306
260
  ];
@@ -311,10 +265,7 @@ export var ThrottlingException = [
311
265
  -3,
312
266
  n0,
313
267
  _TE,
314
- {
315
- [_e]: _c,
316
- [_hE]: 429,
317
- },
268
+ { [_e]: _c, [_hE]: 429 },
318
269
  [_m, _rI, _rT, _l],
319
270
  [0, 0, 0, 1],
320
271
  ];
@@ -327,12 +278,7 @@ export var UntagResourceRequest = [
327
278
  [_rA, _tK],
328
279
  [
329
280
  [0, 1],
330
- [
331
- 64 | 0,
332
- {
333
- [_hQ]: _tK,
334
- },
335
- ],
281
+ [64 | 0, { [_hQ]: _tK }],
336
282
  ],
337
283
  ];
338
284
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -372,10 +318,7 @@ export var ValidationException = [
372
318
  -3,
373
319
  n0,
374
320
  _VE,
375
- {
376
- [_e]: _c,
377
- [_hE]: 400,
378
- },
321
+ { [_e]: _c, [_hE]: 400 },
379
322
  [_m, _r, _fL],
380
323
  [0, 0, () => ValidationExceptionFieldList],
381
324
  ];
@@ -409,9 +352,7 @@ export var CreateChatToken = [
409
352
  9,
410
353
  n0,
411
354
  _CCT,
412
- {
413
- [_h]: ["POST", "/CreateChatToken", 200],
414
- },
355
+ { [_h]: ["POST", "/CreateChatToken", 200] },
415
356
  () => CreateChatTokenRequest,
416
357
  () => CreateChatTokenResponse,
417
358
  ];
@@ -419,9 +360,7 @@ export var CreateLoggingConfiguration = [
419
360
  9,
420
361
  n0,
421
362
  _CLC,
422
- {
423
- [_h]: ["POST", "/CreateLoggingConfiguration", 200],
424
- },
363
+ { [_h]: ["POST", "/CreateLoggingConfiguration", 200] },
425
364
  () => CreateLoggingConfigurationRequest,
426
365
  () => CreateLoggingConfigurationResponse,
427
366
  ];
@@ -429,9 +368,7 @@ export var CreateRoom = [
429
368
  9,
430
369
  n0,
431
370
  _CR,
432
- {
433
- [_h]: ["POST", "/CreateRoom", 200],
434
- },
371
+ { [_h]: ["POST", "/CreateRoom", 200] },
435
372
  () => CreateRoomRequest,
436
373
  () => CreateRoomResponse,
437
374
  ];
@@ -439,9 +376,7 @@ export var DeleteLoggingConfiguration = [
439
376
  9,
440
377
  n0,
441
378
  _DLC,
442
- {
443
- [_h]: ["POST", "/DeleteLoggingConfiguration", 204],
444
- },
379
+ { [_h]: ["POST", "/DeleteLoggingConfiguration", 204] },
445
380
  () => DeleteLoggingConfigurationRequest,
446
381
  () => __Unit,
447
382
  ];
@@ -449,9 +384,7 @@ export var DeleteMessage = [
449
384
  9,
450
385
  n0,
451
386
  _DM,
452
- {
453
- [_h]: ["POST", "/DeleteMessage", 200],
454
- },
387
+ { [_h]: ["POST", "/DeleteMessage", 200] },
455
388
  () => DeleteMessageRequest,
456
389
  () => DeleteMessageResponse,
457
390
  ];
@@ -459,9 +392,7 @@ export var DeleteRoom = [
459
392
  9,
460
393
  n0,
461
394
  _DR,
462
- {
463
- [_h]: ["POST", "/DeleteRoom", 204],
464
- },
395
+ { [_h]: ["POST", "/DeleteRoom", 204] },
465
396
  () => DeleteRoomRequest,
466
397
  () => __Unit,
467
398
  ];
@@ -469,9 +400,7 @@ export var DisconnectUser = [
469
400
  9,
470
401
  n0,
471
402
  _DU,
472
- {
473
- [_h]: ["POST", "/DisconnectUser", 200],
474
- },
403
+ { [_h]: ["POST", "/DisconnectUser", 200] },
475
404
  () => DisconnectUserRequest,
476
405
  () => DisconnectUserResponse,
477
406
  ];
@@ -479,9 +408,7 @@ export var GetLoggingConfiguration = [
479
408
  9,
480
409
  n0,
481
410
  _GLC,
482
- {
483
- [_h]: ["POST", "/GetLoggingConfiguration", 200],
484
- },
411
+ { [_h]: ["POST", "/GetLoggingConfiguration", 200] },
485
412
  () => GetLoggingConfigurationRequest,
486
413
  () => GetLoggingConfigurationResponse,
487
414
  ];
@@ -489,9 +416,7 @@ export var GetRoom = [
489
416
  9,
490
417
  n0,
491
418
  _GR,
492
- {
493
- [_h]: ["POST", "/GetRoom", 200],
494
- },
419
+ { [_h]: ["POST", "/GetRoom", 200] },
495
420
  () => GetRoomRequest,
496
421
  () => GetRoomResponse,
497
422
  ];
@@ -499,9 +424,7 @@ export var ListLoggingConfigurations = [
499
424
  9,
500
425
  n0,
501
426
  _LLC,
502
- {
503
- [_h]: ["POST", "/ListLoggingConfigurations", 200],
504
- },
427
+ { [_h]: ["POST", "/ListLoggingConfigurations", 200] },
505
428
  () => ListLoggingConfigurationsRequest,
506
429
  () => ListLoggingConfigurationsResponse,
507
430
  ];
@@ -509,9 +432,7 @@ export var ListRooms = [
509
432
  9,
510
433
  n0,
511
434
  _LR,
512
- {
513
- [_h]: ["POST", "/ListRooms", 200],
514
- },
435
+ { [_h]: ["POST", "/ListRooms", 200] },
515
436
  () => ListRoomsRequest,
516
437
  () => ListRoomsResponse,
517
438
  ];
@@ -519,9 +440,7 @@ export var ListTagsForResource = [
519
440
  9,
520
441
  n0,
521
442
  _LTFR,
522
- {
523
- [_h]: ["GET", "/tags/{resourceArn}", 200],
524
- },
443
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
525
444
  () => ListTagsForResourceRequest,
526
445
  () => ListTagsForResourceResponse,
527
446
  ];
@@ -529,9 +448,7 @@ export var SendEvent = [
529
448
  9,
530
449
  n0,
531
450
  _SE,
532
- {
533
- [_h]: ["POST", "/SendEvent", 200],
534
- },
451
+ { [_h]: ["POST", "/SendEvent", 200] },
535
452
  () => SendEventRequest,
536
453
  () => SendEventResponse,
537
454
  ];
@@ -539,9 +456,7 @@ export var TagResource = [
539
456
  9,
540
457
  n0,
541
458
  _TR,
542
- {
543
- [_h]: ["POST", "/tags/{resourceArn}", 200],
544
- },
459
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
545
460
  () => TagResourceRequest,
546
461
  () => TagResourceResponse,
547
462
  ];
@@ -549,9 +464,7 @@ export var UntagResource = [
549
464
  9,
550
465
  n0,
551
466
  _UR,
552
- {
553
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
554
- },
467
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
555
468
  () => UntagResourceRequest,
556
469
  () => UntagResourceResponse,
557
470
  ];
@@ -559,9 +472,7 @@ export var UpdateLoggingConfiguration = [
559
472
  9,
560
473
  n0,
561
474
  _ULC,
562
- {
563
- [_h]: ["POST", "/UpdateLoggingConfiguration", 200],
564
- },
475
+ { [_h]: ["POST", "/UpdateLoggingConfiguration", 200] },
565
476
  () => UpdateLoggingConfigurationRequest,
566
477
  () => UpdateLoggingConfigurationResponse,
567
478
  ];
@@ -569,9 +480,7 @@ export var UpdateRoom = [
569
480
  9,
570
481
  n0,
571
482
  _URp,
572
- {
573
- [_h]: ["POST", "/UpdateRoom", 200],
574
- },
483
+ { [_h]: ["POST", "/UpdateRoom", 200] },
575
484
  () => UpdateRoomRequest,
576
485
  () => UpdateRoomResponse,
577
486
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
3
3
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
4
4
  import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
11
11
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
12
12
  import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
@@ -25,7 +25,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
25
25
  import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
26
26
  import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand";
27
27
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
28
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
28
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
29
29
  export { __Client };
30
30
  /**
31
31
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { IvschatHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { IvschatHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { IvschatClientResolvedConfig } from "../IvschatClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type IvschatClientResolvedConfig } from "../IvschatClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { CreateChatTokenRequest, CreateChatTokenResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { CreateChatTokenRequest, CreateChatTokenResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { CreateRoomRequest, CreateRoomResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { CreateRoomRequest, CreateRoomResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { DeleteLoggingConfigurationRequest } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { DeleteLoggingConfigurationRequest } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { DeleteMessageRequest, DeleteMessageResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { DeleteMessageRequest, DeleteMessageResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { DeleteRoomRequest } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { DeleteRoomRequest } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { DisconnectUserRequest, DisconnectUserResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { DisconnectUserRequest, DisconnectUserResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { GetLoggingConfigurationRequest, GetLoggingConfigurationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { GetLoggingConfigurationRequest, GetLoggingConfigurationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { GetRoomRequest, GetRoomResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { GetRoomRequest, GetRoomResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { ListLoggingConfigurationsRequest, ListLoggingConfigurationsResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { ListLoggingConfigurationsRequest, ListLoggingConfigurationsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { ListRoomsRequest, ListRoomsResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { ListRoomsRequest, ListRoomsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { SendEventRequest, SendEventResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { SendEventRequest, SendEventResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
- import { UpdateRoomRequest, UpdateRoomResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
4
+ import type { UpdateRoomRequest, UpdateRoomResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ResourceType, ValidationExceptionReason } from "./enums";
3
3
  import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
4
4
  import { ValidationExceptionField } from "./models_0";
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { IvschatClient } from "../IvschatClient";
3
3
  /**
4
4
  * @public
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "../commands/ListLoggingConfigurationsCommand";
3
3
  import { IvschatPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListRoomsCommandInput, ListRoomsCommandOutput } from "../commands/ListRoomsCommand";
3
3
  import { IvschatPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { IvschatClientConfig } from "./IvschatClient";
2
+ import type { IvschatClientConfig } from "./IvschatClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { IvschatClientConfig } from "./IvschatClient";
2
+ import type { IvschatClientConfig } from "./IvschatClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { IvschatClientConfig } from "./IvschatClient";
1
+ import type { IvschatClientConfig } from "./IvschatClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { IvschatClientConfig } from "./IvschatClient";
1
+ import type { IvschatClientConfig } from "./IvschatClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { IvschatExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { IvschatExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var ChatToken: StaticSimpleSchema;
3
3
  export declare var UserID: StaticSimpleSchema;
4
4
  export declare var AccessDeniedException: StaticErrorSchema;
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { IvschatHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivschat",
3
3
  "description": "AWS SDK for JavaScript Ivschat Client for Node.js, Browser and React Native",
4
- "version": "3.940.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ivschat",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo ivschat"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo ivschat",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",