@aws-sdk/client-cloudhsm 3.1076.0 → 3.1078.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 (80) hide show
  1. package/dist-cjs/index.js +31 -205
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddTagsToResourceCommand.js +2 -14
  4. package/dist-es/commands/CreateHapgCommand.js +2 -14
  5. package/dist-es/commands/CreateHsmCommand.js +2 -14
  6. package/dist-es/commands/CreateLunaClientCommand.js +2 -14
  7. package/dist-es/commands/DeleteHapgCommand.js +2 -14
  8. package/dist-es/commands/DeleteHsmCommand.js +2 -14
  9. package/dist-es/commands/DeleteLunaClientCommand.js +2 -14
  10. package/dist-es/commands/DescribeHapgCommand.js +2 -14
  11. package/dist-es/commands/DescribeHsmCommand.js +2 -14
  12. package/dist-es/commands/DescribeLunaClientCommand.js +2 -14
  13. package/dist-es/commands/GetConfigCommand.js +2 -14
  14. package/dist-es/commands/ListAvailableZonesCommand.js +2 -14
  15. package/dist-es/commands/ListHapgsCommand.js +2 -14
  16. package/dist-es/commands/ListHsmsCommand.js +2 -14
  17. package/dist-es/commands/ListLunaClientsCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/ModifyHapgCommand.js +2 -14
  20. package/dist-es/commands/ModifyHsmCommand.js +2 -14
  21. package/dist-es/commands/ModifyLunaClientCommand.js +2 -14
  22. package/dist-es/commands/RemoveTagsFromResourceCommand.js +2 -14
  23. package/dist-es/index.js +1 -0
  24. package/dist-es/runtimeConfig.browser.js +0 -2
  25. package/dist-es/runtimeConfig.js +1 -2
  26. package/dist-es/runtimeConfig.native.js +0 -2
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-types/commandBuilder.d.ts +18 -0
  29. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateHapgCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateHsmCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateLunaClientCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteHapgCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteLunaClientCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeHapgCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribeHsmCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeLunaClientCommand.d.ts +3 -8
  39. package/dist-types/commands/GetConfigCommand.d.ts +3 -8
  40. package/dist-types/commands/ListAvailableZonesCommand.d.ts +3 -8
  41. package/dist-types/commands/ListHapgsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListHsmsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListLunaClientsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/ModifyHapgCommand.d.ts +3 -8
  46. package/dist-types/commands/ModifyHsmCommand.d.ts +3 -8
  47. package/dist-types/commands/ModifyLunaClientCommand.d.ts +3 -8
  48. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -8
  49. package/dist-types/index.d.ts +1 -0
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +1 -1
  53. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  54. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  55. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/CreateHapgCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateLunaClientCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DeleteHapgCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DeleteLunaClientCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DescribeHapgCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DescribeHsmCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DescribeLunaClientCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListAvailableZonesCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ListHapgsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListHsmsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListLunaClientsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ModifyHapgCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ModifyHsmCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ModifyLunaClientCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/index.d.ts +1 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  80. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultCloudHSMHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -623,6 +625,7 @@ const getRuntimeConfig$1 = (config) => {
623
625
  serviceTarget: "CloudHsmFrontendService",
624
626
  },
625
627
  serviceId: config?.serviceId ?? "CloudHSM",
628
+ sha256: config?.sha256 ?? Sha256,
626
629
  urlParser: config?.urlParser ?? parseUrl,
627
630
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
628
631
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -656,7 +659,6 @@ const getRuntimeConfig = (config) => {
656
659
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
657
660
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
658
661
  }, config),
659
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
660
662
  streamCollector: config?.streamCollector ?? streamCollector,
661
663
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
662
664
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -744,244 +746,68 @@ class CloudHSMClient extends Client {
744
746
  }
745
747
  }
746
748
 
747
- class AddTagsToResourceCommand extends Command
748
- .classBuilder()
749
- .ep(commonParams)
750
- .m(function (Command, cs, config, o) {
751
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
752
- })
753
- .s("CloudHsmFrontendService", "AddTagsToResource", {})
754
- .n("CloudHSMClient", "AddTagsToResourceCommand")
755
- .sc(AddTagsToResource$)
756
- .build() {
749
+ const command = makeBuilder(commonParams, "CloudHsmFrontendService", "CloudHSMClient", getEndpointPlugin);
750
+ const _ep0 = {};
751
+ const _mw0 = (Command, cs, config, o) => [];
752
+
753
+ class AddTagsToResourceCommand extends command(_ep0, _mw0, "AddTagsToResource", AddTagsToResource$) {
757
754
  }
758
755
 
759
- class CreateHapgCommand extends Command
760
- .classBuilder()
761
- .ep(commonParams)
762
- .m(function (Command, cs, config, o) {
763
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
764
- })
765
- .s("CloudHsmFrontendService", "CreateHapg", {})
766
- .n("CloudHSMClient", "CreateHapgCommand")
767
- .sc(CreateHapg$)
768
- .build() {
756
+ class CreateHapgCommand extends command(_ep0, _mw0, "CreateHapg", CreateHapg$) {
769
757
  }
770
758
 
771
- class CreateHsmCommand extends Command
772
- .classBuilder()
773
- .ep(commonParams)
774
- .m(function (Command, cs, config, o) {
775
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
776
- })
777
- .s("CloudHsmFrontendService", "CreateHsm", {})
778
- .n("CloudHSMClient", "CreateHsmCommand")
779
- .sc(CreateHsm$)
780
- .build() {
759
+ class CreateHsmCommand extends command(_ep0, _mw0, "CreateHsm", CreateHsm$) {
781
760
  }
782
761
 
783
- class CreateLunaClientCommand extends Command
784
- .classBuilder()
785
- .ep(commonParams)
786
- .m(function (Command, cs, config, o) {
787
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
788
- })
789
- .s("CloudHsmFrontendService", "CreateLunaClient", {})
790
- .n("CloudHSMClient", "CreateLunaClientCommand")
791
- .sc(CreateLunaClient$)
792
- .build() {
762
+ class CreateLunaClientCommand extends command(_ep0, _mw0, "CreateLunaClient", CreateLunaClient$) {
793
763
  }
794
764
 
795
- class DeleteHapgCommand extends Command
796
- .classBuilder()
797
- .ep(commonParams)
798
- .m(function (Command, cs, config, o) {
799
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
800
- })
801
- .s("CloudHsmFrontendService", "DeleteHapg", {})
802
- .n("CloudHSMClient", "DeleteHapgCommand")
803
- .sc(DeleteHapg$)
804
- .build() {
765
+ class DeleteHapgCommand extends command(_ep0, _mw0, "DeleteHapg", DeleteHapg$) {
805
766
  }
806
767
 
807
- class DeleteHsmCommand extends Command
808
- .classBuilder()
809
- .ep(commonParams)
810
- .m(function (Command, cs, config, o) {
811
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
- })
813
- .s("CloudHsmFrontendService", "DeleteHsm", {})
814
- .n("CloudHSMClient", "DeleteHsmCommand")
815
- .sc(DeleteHsm$)
816
- .build() {
768
+ class DeleteHsmCommand extends command(_ep0, _mw0, "DeleteHsm", DeleteHsm$) {
817
769
  }
818
770
 
819
- class DeleteLunaClientCommand extends Command
820
- .classBuilder()
821
- .ep(commonParams)
822
- .m(function (Command, cs, config, o) {
823
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
824
- })
825
- .s("CloudHsmFrontendService", "DeleteLunaClient", {})
826
- .n("CloudHSMClient", "DeleteLunaClientCommand")
827
- .sc(DeleteLunaClient$)
828
- .build() {
771
+ class DeleteLunaClientCommand extends command(_ep0, _mw0, "DeleteLunaClient", DeleteLunaClient$) {
829
772
  }
830
773
 
831
- class DescribeHapgCommand extends Command
832
- .classBuilder()
833
- .ep(commonParams)
834
- .m(function (Command, cs, config, o) {
835
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
836
- })
837
- .s("CloudHsmFrontendService", "DescribeHapg", {})
838
- .n("CloudHSMClient", "DescribeHapgCommand")
839
- .sc(DescribeHapg$)
840
- .build() {
774
+ class DescribeHapgCommand extends command(_ep0, _mw0, "DescribeHapg", DescribeHapg$) {
841
775
  }
842
776
 
843
- class DescribeHsmCommand extends Command
844
- .classBuilder()
845
- .ep(commonParams)
846
- .m(function (Command, cs, config, o) {
847
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
848
- })
849
- .s("CloudHsmFrontendService", "DescribeHsm", {})
850
- .n("CloudHSMClient", "DescribeHsmCommand")
851
- .sc(DescribeHsm$)
852
- .build() {
777
+ class DescribeHsmCommand extends command(_ep0, _mw0, "DescribeHsm", DescribeHsm$) {
853
778
  }
854
779
 
855
- class DescribeLunaClientCommand extends Command
856
- .classBuilder()
857
- .ep(commonParams)
858
- .m(function (Command, cs, config, o) {
859
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
860
- })
861
- .s("CloudHsmFrontendService", "DescribeLunaClient", {})
862
- .n("CloudHSMClient", "DescribeLunaClientCommand")
863
- .sc(DescribeLunaClient$)
864
- .build() {
780
+ class DescribeLunaClientCommand extends command(_ep0, _mw0, "DescribeLunaClient", DescribeLunaClient$) {
865
781
  }
866
782
 
867
- class GetConfigCommand extends Command
868
- .classBuilder()
869
- .ep(commonParams)
870
- .m(function (Command, cs, config, o) {
871
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
872
- })
873
- .s("CloudHsmFrontendService", "GetConfig", {})
874
- .n("CloudHSMClient", "GetConfigCommand")
875
- .sc(GetConfig$)
876
- .build() {
783
+ class GetConfigCommand extends command(_ep0, _mw0, "GetConfig", GetConfig$) {
877
784
  }
878
785
 
879
- class ListAvailableZonesCommand extends Command
880
- .classBuilder()
881
- .ep(commonParams)
882
- .m(function (Command, cs, config, o) {
883
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
884
- })
885
- .s("CloudHsmFrontendService", "ListAvailableZones", {})
886
- .n("CloudHSMClient", "ListAvailableZonesCommand")
887
- .sc(ListAvailableZones$)
888
- .build() {
786
+ class ListAvailableZonesCommand extends command(_ep0, _mw0, "ListAvailableZones", ListAvailableZones$) {
889
787
  }
890
788
 
891
- class ListHapgsCommand extends Command
892
- .classBuilder()
893
- .ep(commonParams)
894
- .m(function (Command, cs, config, o) {
895
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
896
- })
897
- .s("CloudHsmFrontendService", "ListHapgs", {})
898
- .n("CloudHSMClient", "ListHapgsCommand")
899
- .sc(ListHapgs$)
900
- .build() {
789
+ class ListHapgsCommand extends command(_ep0, _mw0, "ListHapgs", ListHapgs$) {
901
790
  }
902
791
 
903
- class ListHsmsCommand extends Command
904
- .classBuilder()
905
- .ep(commonParams)
906
- .m(function (Command, cs, config, o) {
907
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
908
- })
909
- .s("CloudHsmFrontendService", "ListHsms", {})
910
- .n("CloudHSMClient", "ListHsmsCommand")
911
- .sc(ListHsms$)
912
- .build() {
792
+ class ListHsmsCommand extends command(_ep0, _mw0, "ListHsms", ListHsms$) {
913
793
  }
914
794
 
915
- class ListLunaClientsCommand extends Command
916
- .classBuilder()
917
- .ep(commonParams)
918
- .m(function (Command, cs, config, o) {
919
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
- })
921
- .s("CloudHsmFrontendService", "ListLunaClients", {})
922
- .n("CloudHSMClient", "ListLunaClientsCommand")
923
- .sc(ListLunaClients$)
924
- .build() {
795
+ class ListLunaClientsCommand extends command(_ep0, _mw0, "ListLunaClients", ListLunaClients$) {
925
796
  }
926
797
 
927
- class ListTagsForResourceCommand extends Command
928
- .classBuilder()
929
- .ep(commonParams)
930
- .m(function (Command, cs, config, o) {
931
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
- })
933
- .s("CloudHsmFrontendService", "ListTagsForResource", {})
934
- .n("CloudHSMClient", "ListTagsForResourceCommand")
935
- .sc(ListTagsForResource$)
936
- .build() {
798
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
937
799
  }
938
800
 
939
- class ModifyHapgCommand extends Command
940
- .classBuilder()
941
- .ep(commonParams)
942
- .m(function (Command, cs, config, o) {
943
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
944
- })
945
- .s("CloudHsmFrontendService", "ModifyHapg", {})
946
- .n("CloudHSMClient", "ModifyHapgCommand")
947
- .sc(ModifyHapg$)
948
- .build() {
801
+ class ModifyHapgCommand extends command(_ep0, _mw0, "ModifyHapg", ModifyHapg$) {
949
802
  }
950
803
 
951
- class ModifyHsmCommand extends Command
952
- .classBuilder()
953
- .ep(commonParams)
954
- .m(function (Command, cs, config, o) {
955
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
956
- })
957
- .s("CloudHsmFrontendService", "ModifyHsm", {})
958
- .n("CloudHSMClient", "ModifyHsmCommand")
959
- .sc(ModifyHsm$)
960
- .build() {
804
+ class ModifyHsmCommand extends command(_ep0, _mw0, "ModifyHsm", ModifyHsm$) {
961
805
  }
962
806
 
963
- class ModifyLunaClientCommand extends Command
964
- .classBuilder()
965
- .ep(commonParams)
966
- .m(function (Command, cs, config, o) {
967
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
968
- })
969
- .s("CloudHsmFrontendService", "ModifyLunaClient", {})
970
- .n("CloudHSMClient", "ModifyLunaClientCommand")
971
- .sc(ModifyLunaClient$)
972
- .build() {
807
+ class ModifyLunaClientCommand extends command(_ep0, _mw0, "ModifyLunaClient", ModifyLunaClient$) {
973
808
  }
974
809
 
975
- class RemoveTagsFromResourceCommand extends Command
976
- .classBuilder()
977
- .ep(commonParams)
978
- .m(function (Command, cs, config, o) {
979
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
980
- })
981
- .s("CloudHsmFrontendService", "RemoveTagsFromResource", {})
982
- .n("CloudHSMClient", "RemoveTagsFromResourceCommand")
983
- .sc(RemoveTagsFromResource$)
984
- .build() {
810
+ class RemoveTagsFromResourceCommand extends command(_ep0, _mw0, "RemoveTagsFromResource", RemoveTagsFromResource$) {
985
811
  }
986
812
 
987
813
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "CloudHsmFrontendService", "CloudHSMClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AddTagsToResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddTagsToResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "AddTagsToResource", {})
13
- .n("CloudHSMClient", "AddTagsToResourceCommand")
14
- .sc(AddTagsToResource$)
15
- .build() {
3
+ export class AddTagsToResourceCommand extends command(_ep0, _mw0, "AddTagsToResource", AddTagsToResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateHapg$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateHapgCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "CreateHapg", {})
13
- .n("CloudHSMClient", "CreateHapgCommand")
14
- .sc(CreateHapg$)
15
- .build() {
3
+ export class CreateHapgCommand extends command(_ep0, _mw0, "CreateHapg", CreateHapg$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateHsm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateHsmCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "CreateHsm", {})
13
- .n("CloudHSMClient", "CreateHsmCommand")
14
- .sc(CreateHsm$)
15
- .build() {
3
+ export class CreateHsmCommand extends command(_ep0, _mw0, "CreateHsm", CreateHsm$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateLunaClient$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLunaClientCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "CreateLunaClient", {})
13
- .n("CloudHSMClient", "CreateLunaClientCommand")
14
- .sc(CreateLunaClient$)
15
- .build() {
3
+ export class CreateLunaClientCommand extends command(_ep0, _mw0, "CreateLunaClient", CreateLunaClient$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteHapg$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteHapgCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DeleteHapg", {})
13
- .n("CloudHSMClient", "DeleteHapgCommand")
14
- .sc(DeleteHapg$)
15
- .build() {
3
+ export class DeleteHapgCommand extends command(_ep0, _mw0, "DeleteHapg", DeleteHapg$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteHsm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteHsmCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DeleteHsm", {})
13
- .n("CloudHSMClient", "DeleteHsmCommand")
14
- .sc(DeleteHsm$)
15
- .build() {
3
+ export class DeleteHsmCommand extends command(_ep0, _mw0, "DeleteHsm", DeleteHsm$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteLunaClient$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLunaClientCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DeleteLunaClient", {})
13
- .n("CloudHSMClient", "DeleteLunaClientCommand")
14
- .sc(DeleteLunaClient$)
15
- .build() {
3
+ export class DeleteLunaClientCommand extends command(_ep0, _mw0, "DeleteLunaClient", DeleteLunaClient$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeHapg$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeHapgCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DescribeHapg", {})
13
- .n("CloudHSMClient", "DescribeHapgCommand")
14
- .sc(DescribeHapg$)
15
- .build() {
3
+ export class DescribeHapgCommand extends command(_ep0, _mw0, "DescribeHapg", DescribeHapg$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeHsm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeHsmCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DescribeHsm", {})
13
- .n("CloudHSMClient", "DescribeHsmCommand")
14
- .sc(DescribeHsm$)
15
- .build() {
3
+ export class DescribeHsmCommand extends command(_ep0, _mw0, "DescribeHsm", DescribeHsm$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeLunaClient$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeLunaClientCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "DescribeLunaClient", {})
13
- .n("CloudHSMClient", "DescribeLunaClientCommand")
14
- .sc(DescribeLunaClient$)
15
- .build() {
3
+ export class DescribeLunaClientCommand extends command(_ep0, _mw0, "DescribeLunaClient", DescribeLunaClient$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "GetConfig", {})
13
- .n("CloudHSMClient", "GetConfigCommand")
14
- .sc(GetConfig$)
15
- .build() {
3
+ export class GetConfigCommand extends command(_ep0, _mw0, "GetConfig", GetConfig$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAvailableZones$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAvailableZonesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ListAvailableZones", {})
13
- .n("CloudHSMClient", "ListAvailableZonesCommand")
14
- .sc(ListAvailableZones$)
15
- .build() {
3
+ export class ListAvailableZonesCommand extends command(_ep0, _mw0, "ListAvailableZones", ListAvailableZones$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListHapgs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListHapgsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ListHapgs", {})
13
- .n("CloudHSMClient", "ListHapgsCommand")
14
- .sc(ListHapgs$)
15
- .build() {
3
+ export class ListHapgsCommand extends command(_ep0, _mw0, "ListHapgs", ListHapgs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListHsms$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListHsmsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ListHsms", {})
13
- .n("CloudHSMClient", "ListHsmsCommand")
14
- .sc(ListHsms$)
15
- .build() {
3
+ export class ListHsmsCommand extends command(_ep0, _mw0, "ListHsms", ListHsms$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLunaClients$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLunaClientsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ListLunaClients", {})
13
- .n("CloudHSMClient", "ListLunaClientsCommand")
14
- .sc(ListLunaClients$)
15
- .build() {
3
+ export class ListLunaClientsCommand extends command(_ep0, _mw0, "ListLunaClients", ListLunaClients$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ListTagsForResource", {})
13
- .n("CloudHSMClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }