@aws-sdk/client-snow-device-management 3.943.0 → 3.947.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 (44) hide show
  1. package/dist-cjs/index.js +33 -189
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SnowDeviceManagementClient.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 +33 -189
  8. package/dist-types/SnowDeviceManagement.d.ts +1 -1
  9. package/dist-types/SnowDeviceManagementClient.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/CancelTaskCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateTaskCommand.d.ts +3 -3
  14. package/dist-types/commands/DescribeDeviceCommand.d.ts +3 -3
  15. package/dist-types/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -3
  16. package/dist-types/commands/DescribeExecutionCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeTaskCommand.d.ts +3 -3
  18. package/dist-types/commands/ListDeviceResourcesCommand.d.ts +3 -3
  19. package/dist-types/commands/ListDevicesCommand.d.ts +3 -3
  20. package/dist-types/commands/ListExecutionsCommand.d.ts +3 -3
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  22. package/dist-types/commands/ListTasksCommand.d.ts +3 -3
  23. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  24. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  25. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  26. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  27. package/dist-types/extensionConfiguration.d.ts +4 -4
  28. package/dist-types/models/SnowDeviceManagementServiceException.d.ts +1 -1
  29. package/dist-types/models/errors.d.ts +1 -1
  30. package/dist-types/pagination/Interfaces.d.ts +1 -1
  31. package/dist-types/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListDevicesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListTasksPaginator.d.ts +1 -1
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  36. package/dist-types/runtimeConfig.d.ts +1 -1
  37. package/dist-types/runtimeConfig.native.d.ts +1 -1
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  39. package/dist-types/runtimeExtensions.d.ts +1 -1
  40. package/dist-types/schemas/schemas_0.d.ts +1 -1
  41. package/dist-types/ts3.4/SnowDeviceManagementClient.d.ts +3 -3
  42. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  43. package/dist-types/ts3.4/models/SnowDeviceManagementServiceException.d.ts +1 -1
  44. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -349,17 +349,7 @@ const _un = "unlock";
349
349
  const _us = "used";
350
350
  const _vI = "volumeId";
351
351
  const n0 = "com.amazonaws.snowdevicemanagement";
352
- var AccessDeniedException = [
353
- -3,
354
- n0,
355
- _ADE,
356
- {
357
- [_e]: _c,
358
- [_hE]: 403,
359
- },
360
- [_m],
361
- [0],
362
- ];
352
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
363
353
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
364
354
  var CancelTaskInput = [3, n0, _CTI, 0, [_tI], [[0, 1]]];
365
355
  var CancelTaskOutput = [3, n0, _CTO, 0, [_tI], [0]];
@@ -448,17 +438,7 @@ var InstanceBlockDeviceMapping = [
448
438
  ];
449
439
  var InstanceState = [3, n0, _IS, 0, [_cod, _n], [1, 0]];
450
440
  var InstanceSummary = [3, n0, _ISn, 0, [_in, _lUA], [() => Instance, 4]];
451
- var InternalServerException = [
452
- -3,
453
- n0,
454
- _ISE,
455
- {
456
- [_e]: _se,
457
- [_hE]: 500,
458
- },
459
- [_m],
460
- [0],
461
- ];
441
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
462
442
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
463
443
  var ListDeviceResourcesInput = [
464
444
  3,
@@ -468,24 +448,9 @@ var ListDeviceResourcesInput = [
468
448
  [_mDI, _ty, _mR, _nT],
469
449
  [
470
450
  [0, 1],
471
- [
472
- 0,
473
- {
474
- [_hQ]: _ty,
475
- },
476
- ],
477
- [
478
- 1,
479
- {
480
- [_hQ]: _mR,
481
- },
482
- ],
483
- [
484
- 0,
485
- {
486
- [_hQ]: _nT,
487
- },
488
- ],
451
+ [0, { [_hQ]: _ty }],
452
+ [1, { [_hQ]: _mR }],
453
+ [0, { [_hQ]: _nT }],
489
454
  ],
490
455
  ];
491
456
  var ListDeviceResourcesOutput = [
@@ -503,24 +468,9 @@ var ListDevicesInput = [
503
468
  0,
504
469
  [_jI, _mR, _nT],
505
470
  [
506
- [
507
- 0,
508
- {
509
- [_hQ]: _jI,
510
- },
511
- ],
512
- [
513
- 1,
514
- {
515
- [_hQ]: _mR,
516
- },
517
- ],
518
- [
519
- 0,
520
- {
521
- [_hQ]: _nT,
522
- },
523
- ],
471
+ [0, { [_hQ]: _jI }],
472
+ [1, { [_hQ]: _mR }],
473
+ [0, { [_hQ]: _nT }],
524
474
  ],
525
475
  ];
526
476
  var ListDevicesOutput = [3, n0, _LDO, 0, [_de, _nT], [() => DeviceSummaryList, 0]];
@@ -531,30 +481,10 @@ var ListExecutionsInput = [
531
481
  0,
532
482
  [_tI, _st, _mR, _nT],
533
483
  [
534
- [
535
- 0,
536
- {
537
- [_hQ]: _tI,
538
- },
539
- ],
540
- [
541
- 0,
542
- {
543
- [_hQ]: _st,
544
- },
545
- ],
546
- [
547
- 1,
548
- {
549
- [_hQ]: _mR,
550
- },
551
- ],
552
- [
553
- 0,
554
- {
555
- [_hQ]: _nT,
556
- },
557
- ],
484
+ [0, { [_hQ]: _tI }],
485
+ [0, { [_hQ]: _st }],
486
+ [1, { [_hQ]: _mR }],
487
+ [0, { [_hQ]: _nT }],
558
488
  ],
559
489
  ];
560
490
  var ListExecutionsOutput = [3, n0, _LEO, 0, [_ex, _nT], [() => ExecutionSummaryList, 0]];
@@ -567,24 +497,9 @@ var ListTasksInput = [
567
497
  0,
568
498
  [_st, _mR, _nT],
569
499
  [
570
- [
571
- 0,
572
- {
573
- [_hQ]: _st,
574
- },
575
- ],
576
- [
577
- 1,
578
- {
579
- [_hQ]: _mR,
580
- },
581
- ],
582
- [
583
- 0,
584
- {
585
- [_hQ]: _nT,
586
- },
587
- ],
500
+ [0, { [_hQ]: _st }],
501
+ [1, { [_hQ]: _mR }],
502
+ [0, { [_hQ]: _nT }],
588
503
  ],
589
504
  ];
590
505
  var ListTasksOutput = [3, n0, _LTO, 0, [_tas, _nT], [() => TaskSummaryList, 0]];
@@ -597,46 +512,16 @@ var PhysicalNetworkInterface = [
597
512
  [0, 0, 0, 0, 0, 0, 0],
598
513
  ];
599
514
  var Reboot = [3, n0, _R, 0, [], []];
600
- var ResourceNotFoundException = [
601
- -3,
602
- n0,
603
- _RNFE,
604
- {
605
- [_e]: _c,
606
- [_hE]: 404,
607
- },
608
- [_m],
609
- [0],
610
- ];
515
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
611
516
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
612
517
  var ResourceSummary = [3, n0, _RS, 0, [_rT, _ar, _id], [0, 0, 0]];
613
518
  var SecurityGroupIdentifier = [3, n0, _SGI, 0, [_gI, _gN], [0, 0]];
614
- var ServiceQuotaExceededException = [
615
- -3,
616
- n0,
617
- _SQEE,
618
- {
619
- [_e]: _c,
620
- [_hE]: 402,
621
- },
622
- [_m],
623
- [0],
624
- ];
519
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
625
520
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
626
521
  var SoftwareInformation = [3, n0, _SI, 0, [_iV, _iVn, _iS], [0, 0, 0]];
627
522
  var TagResourceInput = [3, n0, _TRI, 0, [_rA, _tag], [[0, 1], 128 | 0]];
628
523
  var TaskSummary = [3, n0, _TS, 0, [_tI, _tA, _st, _tag], [0, 0, 0, 128 | 0]];
629
- var ThrottlingException = [
630
- -3,
631
- n0,
632
- _TE,
633
- {
634
- [_e]: _c,
635
- [_hE]: 429,
636
- },
637
- [_m],
638
- [0],
639
- ];
524
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
640
525
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
641
526
  var Unlock = [3, n0, _U, 0, [], []];
642
527
  var UntagResourceInput = [
@@ -647,25 +532,10 @@ var UntagResourceInput = [
647
532
  [_rA, _tK],
648
533
  [
649
534
  [0, 1],
650
- [
651
- 64 | 0,
652
- {
653
- [_hQ]: _tK,
654
- },
655
- ],
535
+ [64 | 0, { [_hQ]: _tK }],
656
536
  ],
657
537
  ];
658
- var ValidationException = [
659
- -3,
660
- n0,
661
- _VE,
662
- {
663
- [_e]: _c,
664
- [_hE]: 400,
665
- },
666
- [_m],
667
- [0],
668
- ];
538
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
669
539
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
670
540
  var __Unit = "unit";
671
541
  var SnowDeviceManagementServiceException = [
@@ -691,9 +561,7 @@ var CancelTask = [
691
561
  9,
692
562
  n0,
693
563
  _CT,
694
- {
695
- [_h]: ["POST", "/task/{taskId}/cancel", 200],
696
- },
564
+ { [_h]: ["POST", "/task/{taskId}/cancel", 200] },
697
565
  () => CancelTaskInput,
698
566
  () => CancelTaskOutput,
699
567
  ];
@@ -701,9 +569,7 @@ var CreateTask = [
701
569
  9,
702
570
  n0,
703
571
  _CTr,
704
- {
705
- [_h]: ["POST", "/task", 200],
706
- },
572
+ { [_h]: ["POST", "/task", 200] },
707
573
  () => CreateTaskInput,
708
574
  () => CreateTaskOutput,
709
575
  ];
@@ -711,9 +577,7 @@ var DescribeDevice = [
711
577
  9,
712
578
  n0,
713
579
  _DD,
714
- {
715
- [_h]: ["POST", "/managed-device/{managedDeviceId}/describe", 200],
716
- },
580
+ { [_h]: ["POST", "/managed-device/{managedDeviceId}/describe", 200] },
717
581
  () => DescribeDeviceInput,
718
582
  () => DescribeDeviceOutput,
719
583
  ];
@@ -721,9 +585,7 @@ var DescribeDeviceEc2Instances = [
721
585
  9,
722
586
  n0,
723
587
  _DDEIe,
724
- {
725
- [_h]: ["POST", "/managed-device/{managedDeviceId}/resources/ec2/describe", 200],
726
- },
588
+ { [_h]: ["POST", "/managed-device/{managedDeviceId}/resources/ec2/describe", 200] },
727
589
  () => DescribeDeviceEc2Input,
728
590
  () => DescribeDeviceEc2Output,
729
591
  ];
@@ -731,9 +593,7 @@ var DescribeExecution = [
731
593
  9,
732
594
  n0,
733
595
  _DE,
734
- {
735
- [_h]: ["POST", "/task/{taskId}/execution/{managedDeviceId}", 200],
736
- },
596
+ { [_h]: ["POST", "/task/{taskId}/execution/{managedDeviceId}", 200] },
737
597
  () => DescribeExecutionInput,
738
598
  () => DescribeExecutionOutput,
739
599
  ];
@@ -741,9 +601,7 @@ var DescribeTask = [
741
601
  9,
742
602
  n0,
743
603
  _DT,
744
- {
745
- [_h]: ["POST", "/task/{taskId}", 200],
746
- },
604
+ { [_h]: ["POST", "/task/{taskId}", 200] },
747
605
  () => DescribeTaskInput,
748
606
  () => DescribeTaskOutput,
749
607
  ];
@@ -751,9 +609,7 @@ var ListDeviceResources = [
751
609
  9,
752
610
  n0,
753
611
  _LDR,
754
- {
755
- [_h]: ["GET", "/managed-device/{managedDeviceId}/resources", 200],
756
- },
612
+ { [_h]: ["GET", "/managed-device/{managedDeviceId}/resources", 200] },
757
613
  () => ListDeviceResourcesInput,
758
614
  () => ListDeviceResourcesOutput,
759
615
  ];
@@ -761,9 +617,7 @@ var ListDevices = [
761
617
  9,
762
618
  n0,
763
619
  _LD,
764
- {
765
- [_h]: ["GET", "/managed-devices", 200],
766
- },
620
+ { [_h]: ["GET", "/managed-devices", 200] },
767
621
  () => ListDevicesInput,
768
622
  () => ListDevicesOutput,
769
623
  ];
@@ -771,9 +625,7 @@ var ListExecutions = [
771
625
  9,
772
626
  n0,
773
627
  _LE,
774
- {
775
- [_h]: ["GET", "/executions", 200],
776
- },
628
+ { [_h]: ["GET", "/executions", 200] },
777
629
  () => ListExecutionsInput,
778
630
  () => ListExecutionsOutput,
779
631
  ];
@@ -781,9 +633,7 @@ var ListTagsForResource = [
781
633
  9,
782
634
  n0,
783
635
  _LTFR,
784
- {
785
- [_h]: ["GET", "/tags/{resourceArn}", 200],
786
- },
636
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
787
637
  () => ListTagsForResourceInput,
788
638
  () => ListTagsForResourceOutput,
789
639
  ];
@@ -791,9 +641,7 @@ var ListTasks = [
791
641
  9,
792
642
  n0,
793
643
  _LT,
794
- {
795
- [_h]: ["GET", "/tasks", 200],
796
- },
644
+ { [_h]: ["GET", "/tasks", 200] },
797
645
  () => ListTasksInput,
798
646
  () => ListTasksOutput,
799
647
  ];
@@ -801,9 +649,7 @@ var TagResource = [
801
649
  9,
802
650
  n0,
803
651
  _TR,
804
- {
805
- [_h]: ["POST", "/tags/{resourceArn}", 200],
806
- },
652
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
807
653
  () => TagResourceInput,
808
654
  () => __Unit,
809
655
  ];
@@ -811,9 +657,7 @@ var UntagResource = [
811
657
  9,
812
658
  n0,
813
659
  _UR,
814
- {
815
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
816
- },
660
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
817
661
  () => UntagResourceInput,
818
662
  () => __Unit,
819
663
  ];
@@ -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 { defaultSnowDeviceManagementHttpAuthSchemeParametersProvider, 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);