@aws-sdk/client-snowball 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 (61) hide show
  1. package/dist-cjs/index.js +11 -110
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SnowballClient.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 +11 -110
  8. package/dist-types/Snowball.d.ts +1 -1
  9. package/dist-types/SnowballClient.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/CancelClusterCommand.d.ts +3 -3
  13. package/dist-types/commands/CancelJobCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateAddressCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateJobCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeAddressCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -3
  21. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeJobCommand.d.ts +3 -3
  23. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +3 -3
  24. package/dist-types/commands/GetJobManifestCommand.d.ts +3 -3
  25. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +3 -3
  26. package/dist-types/commands/GetSnowballUsageCommand.d.ts +3 -3
  27. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +3 -3
  28. package/dist-types/commands/ListClusterJobsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListClustersCommand.d.ts +3 -3
  30. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +3 -3
  31. package/dist-types/commands/ListJobsCommand.d.ts +3 -3
  32. package/dist-types/commands/ListLongTermPricingCommand.d.ts +3 -3
  33. package/dist-types/commands/ListPickupLocationsCommand.d.ts +3 -3
  34. package/dist-types/commands/ListServiceVersionsCommand.d.ts +3 -3
  35. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -3
  36. package/dist-types/commands/UpdateJobCommand.d.ts +3 -3
  37. package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +3 -3
  38. package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +3 -3
  39. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  40. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  41. package/dist-types/extensionConfiguration.d.ts +4 -4
  42. package/dist-types/models/SnowballServiceException.d.ts +1 -1
  43. package/dist-types/models/errors.d.ts +1 -1
  44. package/dist-types/pagination/DescribeAddressesPaginator.d.ts +1 -1
  45. package/dist-types/pagination/Interfaces.d.ts +1 -1
  46. package/dist-types/pagination/ListClusterJobsPaginator.d.ts +1 -1
  47. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  48. package/dist-types/pagination/ListCompatibleImagesPaginator.d.ts +1 -1
  49. package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListLongTermPricingPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListPickupLocationsPaginator.d.ts +1 -1
  52. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/runtimeConfig.d.ts +1 -1
  54. package/dist-types/runtimeConfig.native.d.ts +1 -1
  55. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  56. package/dist-types/runtimeExtensions.d.ts +1 -1
  57. package/dist-types/schemas/schemas_0.d.ts +1 -1
  58. package/dist-types/ts3.4/SnowballClient.d.ts +3 -3
  59. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  60. package/dist-types/ts3.4/models/SnowballServiceException.d.ts +1 -1
  61. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -547,16 +547,7 @@ var CancelClusterRequest = [3, n0, _CCR, 0, [_CI], [0]];
547
547
  var CancelClusterResult = [3, n0, _CCRa, 0, [], []];
548
548
  var CancelJobRequest = [3, n0, _CJR, 0, [_JI], [0]];
549
549
  var CancelJobResult = [3, n0, _CJRa, 0, [], []];
550
- var ClusterLimitExceededException = [
551
- -3,
552
- n0,
553
- _CLEE,
554
- {
555
- [_e]: _c,
556
- },
557
- [_M],
558
- [0],
559
- ];
550
+ var ClusterLimitExceededException = [-3, n0, _CLEE, { [_e]: _c }, [_M], [0]];
560
551
  schema.TypeRegistry.for(n0).registerError(ClusterLimitExceededException, ClusterLimitExceededException$1);
561
552
  var ClusterListEntry = [3, n0, _CLE, 0, [_CI, _CS, _CD, _D], [0, 0, 4, 0]];
562
553
  var ClusterMetadata = [
@@ -584,16 +575,7 @@ var ClusterMetadata = [
584
575
  ],
585
576
  ];
586
577
  var CompatibleImage = [3, n0, _CIo, 0, [_AIm, _N], [0, 0]];
587
- var ConflictException = [
588
- -3,
589
- n0,
590
- _CE,
591
- {
592
- [_e]: _c,
593
- },
594
- [_CR, _M],
595
- [0, 0],
596
- ];
578
+ var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_CR, _M], [0, 0]];
597
579
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
598
580
  var CreateAddressRequest = [3, n0, _CAR, 0, [_A], [() => Address]];
599
581
  var CreateAddressResult = [3, n0, _CARr, 0, [_AI], [0]];
@@ -688,16 +670,7 @@ var DescribeReturnShippingLabelResult = [
688
670
  ];
689
671
  var DeviceConfiguration = [3, n0, _DC, 0, [_SDC], [() => SnowconeDeviceConfiguration]];
690
672
  var Ec2AmiResource = [3, n0, _EAR, 0, [_AIm, _SAI], [0, 0]];
691
- var Ec2RequestFailedException = [
692
- -3,
693
- n0,
694
- _ERFE,
695
- {
696
- [_e]: _c,
697
- },
698
- [_M],
699
- [0],
700
- ];
673
+ var Ec2RequestFailedException = [-3, n0, _ERFE, { [_e]: _c }, [_M], [0]];
701
674
  schema.TypeRegistry.for(n0).registerError(Ec2RequestFailedException, Ec2RequestFailedException$1);
702
675
  var EKSOnDeviceServiceConfiguration = [3, n0, _EKSODSC, 0, [_KV, _EKSAV], [0, 0]];
703
676
  var EventTriggerDefinition = [3, n0, _ETD, 0, [_ERARN], [0]];
@@ -710,60 +683,15 @@ var GetSnowballUsageResult = [3, n0, _GSURe, 0, [_SL, _SIU], [1, 1]];
710
683
  var GetSoftwareUpdatesRequest = [3, n0, _GSURet, 0, [_JI], [0]];
711
684
  var GetSoftwareUpdatesResult = [3, n0, _GSUReto, 0, [_UURI], [0]];
712
685
  var INDTaxDocuments = [3, n0, _INDTD, 0, [_GSTIN], [0]];
713
- var InvalidAddressException = [
714
- -3,
715
- n0,
716
- _IAE,
717
- {
718
- [_e]: _c,
719
- },
720
- [_M],
721
- [0],
722
- ];
686
+ var InvalidAddressException = [-3, n0, _IAE, { [_e]: _c }, [_M], [0]];
723
687
  schema.TypeRegistry.for(n0).registerError(InvalidAddressException, InvalidAddressException$1);
724
- var InvalidInputCombinationException = [
725
- -3,
726
- n0,
727
- _IICE,
728
- {
729
- [_e]: _c,
730
- },
731
- [_M],
732
- [0],
733
- ];
688
+ var InvalidInputCombinationException = [-3, n0, _IICE, { [_e]: _c }, [_M], [0]];
734
689
  schema.TypeRegistry.for(n0).registerError(InvalidInputCombinationException, InvalidInputCombinationException$1);
735
- var InvalidJobStateException = [
736
- -3,
737
- n0,
738
- _IJSE,
739
- {
740
- [_e]: _c,
741
- },
742
- [_M],
743
- [0],
744
- ];
690
+ var InvalidJobStateException = [-3, n0, _IJSE, { [_e]: _c }, [_M], [0]];
745
691
  schema.TypeRegistry.for(n0).registerError(InvalidJobStateException, InvalidJobStateException$1);
746
- var InvalidNextTokenException = [
747
- -3,
748
- n0,
749
- _INTE,
750
- {
751
- [_e]: _c,
752
- },
753
- [_M],
754
- [0],
755
- ];
692
+ var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
756
693
  schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
757
- var InvalidResourceException = [
758
- -3,
759
- n0,
760
- _IRE,
761
- {
762
- [_e]: _c,
763
- },
764
- [_M, _RT],
765
- [0, 0],
766
- ];
694
+ var InvalidResourceException = [-3, n0, _IRE, { [_e]: _c }, [_M, _RT], [0, 0]];
767
695
  schema.TypeRegistry.for(n0).registerError(InvalidResourceException, InvalidResourceException$1);
768
696
  var JobListEntry = [
769
697
  3,
@@ -843,16 +771,7 @@ var JobResource = [
843
771
  [() => S3ResourceList, () => LambdaResourceList, () => Ec2AmiResourceList],
844
772
  ];
845
773
  var KeyRange = [3, n0, _KR, 0, [_BM, _EM], [0, 0]];
846
- var KMSRequestFailedException = [
847
- -3,
848
- n0,
849
- _KMSRFE,
850
- {
851
- [_e]: _c,
852
- },
853
- [_M],
854
- [0],
855
- ];
774
+ var KMSRequestFailedException = [-3, n0, _KMSRFE, { [_e]: _c }, [_M], [0]];
856
775
  schema.TypeRegistry.for(n0).registerError(KMSRequestFailedException, KMSRequestFailedException$1);
857
776
  var LambdaResource = [3, n0, _LRa, 0, [_LA, _ET], [0, () => EventTriggerDefinitionList]];
858
777
  var ListClusterJobsRequest = [3, n0, _LCJR, 0, [_CI, _MR, _NT], [0, 1, 0]];
@@ -928,16 +847,7 @@ var PickupDetails = [
928
847
  [_N, _PN, _E, _IN, _IED, _IIO, _DPI],
929
848
  [0, [() => PhoneNumber, 0], [() => Email, 0], 0, 4, 0, 0],
930
849
  ];
931
- var ReturnShippingLabelAlreadyExistsException = [
932
- -3,
933
- n0,
934
- _RSLAEE,
935
- {
936
- [_e]: _c,
937
- },
938
- [_M],
939
- [0],
940
- ];
850
+ var ReturnShippingLabelAlreadyExistsException = [-3, n0, _RSLAEE, { [_e]: _c }, [_M], [0]];
941
851
  schema.TypeRegistry.for(n0).registerError(ReturnShippingLabelAlreadyExistsException, ReturnShippingLabelAlreadyExistsException$1);
942
852
  var S3OnDeviceServiceConfiguration = [
943
853
  3,
@@ -969,16 +879,7 @@ var SnowconeDeviceConfiguration = [3, n0, _SDC, 0, [_WC], [() => WirelessConnect
969
879
  var TargetOnDeviceService = [3, n0, _TODSa, 0, [_SN, _TOr], [0, 0]];
970
880
  var TaxDocuments = [3, n0, _TD, 0, [_IND], [() => INDTaxDocuments]];
971
881
  var TGWOnDeviceServiceConfiguration = [3, n0, _TGWODSC, 0, [_SLt, _SU], [1, 0]];
972
- var UnsupportedAddressException = [
973
- -3,
974
- n0,
975
- _UAE,
976
- {
977
- [_e]: _c,
978
- },
979
- [_M],
980
- [0],
981
- ];
882
+ var UnsupportedAddressException = [-3, n0, _UAE, { [_e]: _c }, [_M], [0]];
982
883
  schema.TypeRegistry.for(n0).registerError(UnsupportedAddressException, UnsupportedAddressException$1);
983
884
  var UpdateClusterRequest = [
984
885
  3,
@@ -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 { defaultSnowballHttpAuthSchemeParametersProvider, 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);
@@ -272,16 +272,7 @@ export var CancelClusterRequest = [3, n0, _CCR, 0, [_CI], [0]];
272
272
  export var CancelClusterResult = [3, n0, _CCRa, 0, [], []];
273
273
  export var CancelJobRequest = [3, n0, _CJR, 0, [_JI], [0]];
274
274
  export var CancelJobResult = [3, n0, _CJRa, 0, [], []];
275
- export var ClusterLimitExceededException = [
276
- -3,
277
- n0,
278
- _CLEE,
279
- {
280
- [_e]: _c,
281
- },
282
- [_M],
283
- [0],
284
- ];
275
+ export var ClusterLimitExceededException = [-3, n0, _CLEE, { [_e]: _c }, [_M], [0]];
285
276
  TypeRegistry.for(n0).registerError(ClusterLimitExceededException, __ClusterLimitExceededException);
286
277
  export var ClusterListEntry = [3, n0, _CLE, 0, [_CI, _CS, _CD, _D], [0, 0, 4, 0]];
287
278
  export var ClusterMetadata = [
@@ -309,16 +300,7 @@ export var ClusterMetadata = [
309
300
  ],
310
301
  ];
311
302
  export var CompatibleImage = [3, n0, _CIo, 0, [_AIm, _N], [0, 0]];
312
- export var ConflictException = [
313
- -3,
314
- n0,
315
- _CE,
316
- {
317
- [_e]: _c,
318
- },
319
- [_CR, _M],
320
- [0, 0],
321
- ];
303
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_CR, _M], [0, 0]];
322
304
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
323
305
  export var CreateAddressRequest = [3, n0, _CAR, 0, [_A], [() => Address]];
324
306
  export var CreateAddressResult = [3, n0, _CARr, 0, [_AI], [0]];
@@ -413,16 +395,7 @@ export var DescribeReturnShippingLabelResult = [
413
395
  ];
414
396
  export var DeviceConfiguration = [3, n0, _DC, 0, [_SDC], [() => SnowconeDeviceConfiguration]];
415
397
  export var Ec2AmiResource = [3, n0, _EAR, 0, [_AIm, _SAI], [0, 0]];
416
- export var Ec2RequestFailedException = [
417
- -3,
418
- n0,
419
- _ERFE,
420
- {
421
- [_e]: _c,
422
- },
423
- [_M],
424
- [0],
425
- ];
398
+ export var Ec2RequestFailedException = [-3, n0, _ERFE, { [_e]: _c }, [_M], [0]];
426
399
  TypeRegistry.for(n0).registerError(Ec2RequestFailedException, __Ec2RequestFailedException);
427
400
  export var EKSOnDeviceServiceConfiguration = [3, n0, _EKSODSC, 0, [_KV, _EKSAV], [0, 0]];
428
401
  export var EventTriggerDefinition = [3, n0, _ETD, 0, [_ERARN], [0]];
@@ -435,60 +408,15 @@ export var GetSnowballUsageResult = [3, n0, _GSURe, 0, [_SL, _SIU], [1, 1]];
435
408
  export var GetSoftwareUpdatesRequest = [3, n0, _GSURet, 0, [_JI], [0]];
436
409
  export var GetSoftwareUpdatesResult = [3, n0, _GSUReto, 0, [_UURI], [0]];
437
410
  export var INDTaxDocuments = [3, n0, _INDTD, 0, [_GSTIN], [0]];
438
- export var InvalidAddressException = [
439
- -3,
440
- n0,
441
- _IAE,
442
- {
443
- [_e]: _c,
444
- },
445
- [_M],
446
- [0],
447
- ];
411
+ export var InvalidAddressException = [-3, n0, _IAE, { [_e]: _c }, [_M], [0]];
448
412
  TypeRegistry.for(n0).registerError(InvalidAddressException, __InvalidAddressException);
449
- export var InvalidInputCombinationException = [
450
- -3,
451
- n0,
452
- _IICE,
453
- {
454
- [_e]: _c,
455
- },
456
- [_M],
457
- [0],
458
- ];
413
+ export var InvalidInputCombinationException = [-3, n0, _IICE, { [_e]: _c }, [_M], [0]];
459
414
  TypeRegistry.for(n0).registerError(InvalidInputCombinationException, __InvalidInputCombinationException);
460
- export var InvalidJobStateException = [
461
- -3,
462
- n0,
463
- _IJSE,
464
- {
465
- [_e]: _c,
466
- },
467
- [_M],
468
- [0],
469
- ];
415
+ export var InvalidJobStateException = [-3, n0, _IJSE, { [_e]: _c }, [_M], [0]];
470
416
  TypeRegistry.for(n0).registerError(InvalidJobStateException, __InvalidJobStateException);
471
- export var InvalidNextTokenException = [
472
- -3,
473
- n0,
474
- _INTE,
475
- {
476
- [_e]: _c,
477
- },
478
- [_M],
479
- [0],
480
- ];
417
+ export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
481
418
  TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
482
- export var InvalidResourceException = [
483
- -3,
484
- n0,
485
- _IRE,
486
- {
487
- [_e]: _c,
488
- },
489
- [_M, _RT],
490
- [0, 0],
491
- ];
419
+ export var InvalidResourceException = [-3, n0, _IRE, { [_e]: _c }, [_M, _RT], [0, 0]];
492
420
  TypeRegistry.for(n0).registerError(InvalidResourceException, __InvalidResourceException);
493
421
  export var JobListEntry = [
494
422
  3,
@@ -568,16 +496,7 @@ export var JobResource = [
568
496
  [() => S3ResourceList, () => LambdaResourceList, () => Ec2AmiResourceList],
569
497
  ];
570
498
  export var KeyRange = [3, n0, _KR, 0, [_BM, _EM], [0, 0]];
571
- export var KMSRequestFailedException = [
572
- -3,
573
- n0,
574
- _KMSRFE,
575
- {
576
- [_e]: _c,
577
- },
578
- [_M],
579
- [0],
580
- ];
499
+ export var KMSRequestFailedException = [-3, n0, _KMSRFE, { [_e]: _c }, [_M], [0]];
581
500
  TypeRegistry.for(n0).registerError(KMSRequestFailedException, __KMSRequestFailedException);
582
501
  export var LambdaResource = [3, n0, _LRa, 0, [_LA, _ET], [0, () => EventTriggerDefinitionList]];
583
502
  export var ListClusterJobsRequest = [3, n0, _LCJR, 0, [_CI, _MR, _NT], [0, 1, 0]];
@@ -653,16 +572,7 @@ export var PickupDetails = [
653
572
  [_N, _PN, _E, _IN, _IED, _IIO, _DPI],
654
573
  [0, [() => PhoneNumber, 0], [() => Email, 0], 0, 4, 0, 0],
655
574
  ];
656
- export var ReturnShippingLabelAlreadyExistsException = [
657
- -3,
658
- n0,
659
- _RSLAEE,
660
- {
661
- [_e]: _c,
662
- },
663
- [_M],
664
- [0],
665
- ];
575
+ export var ReturnShippingLabelAlreadyExistsException = [-3, n0, _RSLAEE, { [_e]: _c }, [_M], [0]];
666
576
  TypeRegistry.for(n0).registerError(ReturnShippingLabelAlreadyExistsException, __ReturnShippingLabelAlreadyExistsException);
667
577
  export var S3OnDeviceServiceConfiguration = [
668
578
  3,
@@ -694,16 +604,7 @@ export var SnowconeDeviceConfiguration = [3, n0, _SDC, 0, [_WC], [() => Wireless
694
604
  export var TargetOnDeviceService = [3, n0, _TODSa, 0, [_SN, _TOr], [0, 0]];
695
605
  export var TaxDocuments = [3, n0, _TD, 0, [_IND], [() => INDTaxDocuments]];
696
606
  export var TGWOnDeviceServiceConfiguration = [3, n0, _TGWODSC, 0, [_SLt, _SU], [1, 0]];
697
- export var UnsupportedAddressException = [
698
- -3,
699
- n0,
700
- _UAE,
701
- {
702
- [_e]: _c,
703
- },
704
- [_M],
705
- [0],
706
- ];
607
+ export var UnsupportedAddressException = [-3, n0, _UAE, { [_e]: _c }, [_M], [0]];
707
608
  TypeRegistry.for(n0).registerError(UnsupportedAddressException, __UnsupportedAddressException);
708
609
  export var UpdateClusterRequest = [
709
610
  3,
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CancelClusterCommandInput, CancelClusterCommandOutput } from "./commands/CancelClusterCommand";
3
3
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
4
4
  import { CreateAddressCommandInput, CreateAddressCommandOutput } from "./commands/CreateAddressCommand";
@@ -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 { CancelClusterCommandInput, CancelClusterCommandOutput } from "./commands/CancelClusterCommand";
11
11
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
12
12
  import { CreateAddressCommandInput, CreateAddressCommandOutput } from "./commands/CreateAddressCommand";
@@ -35,7 +35,7 @@ import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/Update
35
35
  import { UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput } from "./commands/UpdateJobShipmentStateCommand";
36
36
  import { UpdateLongTermPricingCommandInput, UpdateLongTermPricingCommandOutput } from "./commands/UpdateLongTermPricingCommand";
37
37
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
38
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
38
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
39
39
  export { __Client };
40
40
  /**
41
41
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { SnowballHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { SnowballHttpAuthSchemeProvider } 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 { SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type SnowballClientResolvedConfig } from "../SnowballClient";
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 { CancelClusterRequest, CancelClusterResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelClusterRequest, CancelClusterResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CancelJobRequest, CancelJobResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelJobRequest, CancelJobResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CreateAddressRequest, CreateAddressResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateAddressRequest, CreateAddressResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CreateClusterRequest, CreateClusterResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateClusterRequest, CreateClusterResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CreateJobRequest, CreateJobResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateJobRequest, CreateJobResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CreateLongTermPricingRequest, CreateLongTermPricingResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateLongTermPricingRequest, CreateLongTermPricingResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { CreateReturnShippingLabelRequest, CreateReturnShippingLabelResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateReturnShippingLabelRequest, CreateReturnShippingLabelResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { DescribeAddressRequest, DescribeAddressResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeAddressRequest, DescribeAddressResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { DescribeAddressesRequest, DescribeAddressesResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeAddressesRequest, DescribeAddressesResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { DescribeClusterRequest, DescribeClusterResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeClusterRequest, DescribeClusterResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { DescribeJobRequest, DescribeJobResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeJobRequest, DescribeJobResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { DescribeReturnShippingLabelRequest, DescribeReturnShippingLabelResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeReturnShippingLabelRequest, DescribeReturnShippingLabelResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { GetJobManifestRequest, GetJobManifestResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetJobManifestRequest, GetJobManifestResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { GetJobUnlockCodeRequest, GetJobUnlockCodeResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetJobUnlockCodeRequest, GetJobUnlockCodeResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { GetSnowballUsageRequest, GetSnowballUsageResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetSnowballUsageRequest, GetSnowballUsageResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { GetSoftwareUpdatesRequest, GetSoftwareUpdatesResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetSoftwareUpdatesRequest, GetSoftwareUpdatesResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListClusterJobsRequest, ListClusterJobsResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListClusterJobsRequest, ListClusterJobsResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListClustersRequest, ListClustersResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListClustersRequest, ListClustersResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListCompatibleImagesRequest, ListCompatibleImagesResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListCompatibleImagesRequest, ListCompatibleImagesResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListJobsRequest, ListJobsResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListJobsRequest, ListJobsResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListLongTermPricingRequest, ListLongTermPricingResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListLongTermPricingRequest, ListLongTermPricingResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListPickupLocationsRequest, ListPickupLocationsResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListPickupLocationsRequest, ListPickupLocationsResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { ListServiceVersionsRequest, ListServiceVersionsResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListServiceVersionsRequest, ListServiceVersionsResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { UpdateClusterRequest, UpdateClusterResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateClusterRequest, UpdateClusterResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { UpdateJobRequest, UpdateJobResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateJobRequest, UpdateJobResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { UpdateJobShipmentStateRequest, UpdateJobShipmentStateResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateJobShipmentStateRequest, UpdateJobShipmentStateResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { UpdateLongTermPricingRequest, UpdateLongTermPricingResult } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateLongTermPricingRequest, UpdateLongTermPricingResult } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
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 { SnowballServiceException as __BaseException } from "./SnowballServiceException";
3
3
  /**
4
4
  * <p>The action can't be performed because the job's current state doesn't allow that action
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAddressesCommandInput, DescribeAddressesCommandOutput } from "../commands/DescribeAddressesCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { SnowballClient } from "../SnowballClient";
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 { ListClusterJobsCommandInput, ListClusterJobsCommandOutput } from "../commands/ListClusterJobsCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "../commands/ListCompatibleImagesCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "../commands/ListLongTermPricingCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput } from "../commands/ListPickupLocationsCommand";
3
3
  import { SnowballPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { SnowballClientConfig } from "./SnowballClient";
2
+ import type { SnowballClientConfig } from "./SnowballClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { SnowballClientConfig } from "./SnowballClient";
2
+ import type { SnowballClientConfig } from "./SnowballClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { SnowballClientConfig } from "./SnowballClient";
1
+ import type { SnowballClientConfig } from "./SnowballClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SnowballClientConfig } from "./SnowballClient";
1
+ import type { SnowballClientConfig } from "./SnowballClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SnowballExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { SnowballExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var Email: StaticSimpleSchema;
3
3
  export declare var PhoneNumber: StaticSimpleSchema;
4
4
  export declare var Address: StaticStructureSchema;
@@ -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 { SnowballHttpAuthSchemeProvider } 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-snowball",
3
3
  "description": "AWS SDK for JavaScript Snowball 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-snowball",
@@ -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 snowball"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo snowball",
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",