@aws-sdk/client-cloudhsm 3.1077.0 → 3.1079.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 (68) hide show
  1. package/dist-cjs/index.js +28 -203
  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-types/commandBuilder.d.ts +18 -0
  25. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/CreateHapgCommand.d.ts +3 -8
  27. package/dist-types/commands/CreateHsmCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateLunaClientCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteHapgCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteLunaClientCommand.d.ts +3 -8
  32. package/dist-types/commands/DescribeHapgCommand.d.ts +3 -8
  33. package/dist-types/commands/DescribeHsmCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeLunaClientCommand.d.ts +3 -8
  35. package/dist-types/commands/GetConfigCommand.d.ts +3 -8
  36. package/dist-types/commands/ListAvailableZonesCommand.d.ts +3 -8
  37. package/dist-types/commands/ListHapgsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListHsmsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListLunaClientsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/ModifyHapgCommand.d.ts +3 -8
  42. package/dist-types/commands/ModifyHsmCommand.d.ts +3 -8
  43. package/dist-types/commands/ModifyLunaClientCommand.d.ts +3 -8
  44. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -8
  45. package/dist-types/index.d.ts +1 -0
  46. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  47. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/CreateHapgCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/CreateLunaClientCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/DeleteHapgCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/DeleteLunaClientCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DescribeHapgCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DescribeHsmCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DescribeLunaClientCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/ListAvailableZonesCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/ListHapgsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/ListHsmsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListLunaClientsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ModifyHapgCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ModifyHsmCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ModifyLunaClientCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/index.d.ts +1 -0
  68. package/package.json +8 -8
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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -745,244 +746,68 @@ class CloudHSMClient extends Client {
745
746
  }
746
747
  }
747
748
 
748
- class AddTagsToResourceCommand extends Command
749
- .classBuilder()
750
- .ep(commonParams)
751
- .m(function (Command, cs, config, o) {
752
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
- })
754
- .s("CloudHsmFrontendService", "AddTagsToResource", {})
755
- .n("CloudHSMClient", "AddTagsToResourceCommand")
756
- .sc(AddTagsToResource$)
757
- .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$) {
758
754
  }
759
755
 
760
- class CreateHapgCommand extends Command
761
- .classBuilder()
762
- .ep(commonParams)
763
- .m(function (Command, cs, config, o) {
764
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
765
- })
766
- .s("CloudHsmFrontendService", "CreateHapg", {})
767
- .n("CloudHSMClient", "CreateHapgCommand")
768
- .sc(CreateHapg$)
769
- .build() {
756
+ class CreateHapgCommand extends command(_ep0, _mw0, "CreateHapg", CreateHapg$) {
770
757
  }
771
758
 
772
- class CreateHsmCommand extends Command
773
- .classBuilder()
774
- .ep(commonParams)
775
- .m(function (Command, cs, config, o) {
776
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
777
- })
778
- .s("CloudHsmFrontendService", "CreateHsm", {})
779
- .n("CloudHSMClient", "CreateHsmCommand")
780
- .sc(CreateHsm$)
781
- .build() {
759
+ class CreateHsmCommand extends command(_ep0, _mw0, "CreateHsm", CreateHsm$) {
782
760
  }
783
761
 
784
- class CreateLunaClientCommand extends Command
785
- .classBuilder()
786
- .ep(commonParams)
787
- .m(function (Command, cs, config, o) {
788
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
789
- })
790
- .s("CloudHsmFrontendService", "CreateLunaClient", {})
791
- .n("CloudHSMClient", "CreateLunaClientCommand")
792
- .sc(CreateLunaClient$)
793
- .build() {
762
+ class CreateLunaClientCommand extends command(_ep0, _mw0, "CreateLunaClient", CreateLunaClient$) {
794
763
  }
795
764
 
796
- class DeleteHapgCommand extends Command
797
- .classBuilder()
798
- .ep(commonParams)
799
- .m(function (Command, cs, config, o) {
800
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
801
- })
802
- .s("CloudHsmFrontendService", "DeleteHapg", {})
803
- .n("CloudHSMClient", "DeleteHapgCommand")
804
- .sc(DeleteHapg$)
805
- .build() {
765
+ class DeleteHapgCommand extends command(_ep0, _mw0, "DeleteHapg", DeleteHapg$) {
806
766
  }
807
767
 
808
- class DeleteHsmCommand extends Command
809
- .classBuilder()
810
- .ep(commonParams)
811
- .m(function (Command, cs, config, o) {
812
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
813
- })
814
- .s("CloudHsmFrontendService", "DeleteHsm", {})
815
- .n("CloudHSMClient", "DeleteHsmCommand")
816
- .sc(DeleteHsm$)
817
- .build() {
768
+ class DeleteHsmCommand extends command(_ep0, _mw0, "DeleteHsm", DeleteHsm$) {
818
769
  }
819
770
 
820
- class DeleteLunaClientCommand extends Command
821
- .classBuilder()
822
- .ep(commonParams)
823
- .m(function (Command, cs, config, o) {
824
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
825
- })
826
- .s("CloudHsmFrontendService", "DeleteLunaClient", {})
827
- .n("CloudHSMClient", "DeleteLunaClientCommand")
828
- .sc(DeleteLunaClient$)
829
- .build() {
771
+ class DeleteLunaClientCommand extends command(_ep0, _mw0, "DeleteLunaClient", DeleteLunaClient$) {
830
772
  }
831
773
 
832
- class DescribeHapgCommand extends Command
833
- .classBuilder()
834
- .ep(commonParams)
835
- .m(function (Command, cs, config, o) {
836
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
837
- })
838
- .s("CloudHsmFrontendService", "DescribeHapg", {})
839
- .n("CloudHSMClient", "DescribeHapgCommand")
840
- .sc(DescribeHapg$)
841
- .build() {
774
+ class DescribeHapgCommand extends command(_ep0, _mw0, "DescribeHapg", DescribeHapg$) {
842
775
  }
843
776
 
844
- class DescribeHsmCommand extends Command
845
- .classBuilder()
846
- .ep(commonParams)
847
- .m(function (Command, cs, config, o) {
848
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
849
- })
850
- .s("CloudHsmFrontendService", "DescribeHsm", {})
851
- .n("CloudHSMClient", "DescribeHsmCommand")
852
- .sc(DescribeHsm$)
853
- .build() {
777
+ class DescribeHsmCommand extends command(_ep0, _mw0, "DescribeHsm", DescribeHsm$) {
854
778
  }
855
779
 
856
- class DescribeLunaClientCommand extends Command
857
- .classBuilder()
858
- .ep(commonParams)
859
- .m(function (Command, cs, config, o) {
860
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
861
- })
862
- .s("CloudHsmFrontendService", "DescribeLunaClient", {})
863
- .n("CloudHSMClient", "DescribeLunaClientCommand")
864
- .sc(DescribeLunaClient$)
865
- .build() {
780
+ class DescribeLunaClientCommand extends command(_ep0, _mw0, "DescribeLunaClient", DescribeLunaClient$) {
866
781
  }
867
782
 
868
- class GetConfigCommand extends Command
869
- .classBuilder()
870
- .ep(commonParams)
871
- .m(function (Command, cs, config, o) {
872
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
873
- })
874
- .s("CloudHsmFrontendService", "GetConfig", {})
875
- .n("CloudHSMClient", "GetConfigCommand")
876
- .sc(GetConfig$)
877
- .build() {
783
+ class GetConfigCommand extends command(_ep0, _mw0, "GetConfig", GetConfig$) {
878
784
  }
879
785
 
880
- class ListAvailableZonesCommand extends Command
881
- .classBuilder()
882
- .ep(commonParams)
883
- .m(function (Command, cs, config, o) {
884
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
885
- })
886
- .s("CloudHsmFrontendService", "ListAvailableZones", {})
887
- .n("CloudHSMClient", "ListAvailableZonesCommand")
888
- .sc(ListAvailableZones$)
889
- .build() {
786
+ class ListAvailableZonesCommand extends command(_ep0, _mw0, "ListAvailableZones", ListAvailableZones$) {
890
787
  }
891
788
 
892
- class ListHapgsCommand extends Command
893
- .classBuilder()
894
- .ep(commonParams)
895
- .m(function (Command, cs, config, o) {
896
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
897
- })
898
- .s("CloudHsmFrontendService", "ListHapgs", {})
899
- .n("CloudHSMClient", "ListHapgsCommand")
900
- .sc(ListHapgs$)
901
- .build() {
789
+ class ListHapgsCommand extends command(_ep0, _mw0, "ListHapgs", ListHapgs$) {
902
790
  }
903
791
 
904
- class ListHsmsCommand extends Command
905
- .classBuilder()
906
- .ep(commonParams)
907
- .m(function (Command, cs, config, o) {
908
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
909
- })
910
- .s("CloudHsmFrontendService", "ListHsms", {})
911
- .n("CloudHSMClient", "ListHsmsCommand")
912
- .sc(ListHsms$)
913
- .build() {
792
+ class ListHsmsCommand extends command(_ep0, _mw0, "ListHsms", ListHsms$) {
914
793
  }
915
794
 
916
- class ListLunaClientsCommand extends Command
917
- .classBuilder()
918
- .ep(commonParams)
919
- .m(function (Command, cs, config, o) {
920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
921
- })
922
- .s("CloudHsmFrontendService", "ListLunaClients", {})
923
- .n("CloudHSMClient", "ListLunaClientsCommand")
924
- .sc(ListLunaClients$)
925
- .build() {
795
+ class ListLunaClientsCommand extends command(_ep0, _mw0, "ListLunaClients", ListLunaClients$) {
926
796
  }
927
797
 
928
- class ListTagsForResourceCommand extends Command
929
- .classBuilder()
930
- .ep(commonParams)
931
- .m(function (Command, cs, config, o) {
932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
933
- })
934
- .s("CloudHsmFrontendService", "ListTagsForResource", {})
935
- .n("CloudHSMClient", "ListTagsForResourceCommand")
936
- .sc(ListTagsForResource$)
937
- .build() {
798
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
938
799
  }
939
800
 
940
- class ModifyHapgCommand extends Command
941
- .classBuilder()
942
- .ep(commonParams)
943
- .m(function (Command, cs, config, o) {
944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
945
- })
946
- .s("CloudHsmFrontendService", "ModifyHapg", {})
947
- .n("CloudHSMClient", "ModifyHapgCommand")
948
- .sc(ModifyHapg$)
949
- .build() {
801
+ class ModifyHapgCommand extends command(_ep0, _mw0, "ModifyHapg", ModifyHapg$) {
950
802
  }
951
803
 
952
- class ModifyHsmCommand extends Command
953
- .classBuilder()
954
- .ep(commonParams)
955
- .m(function (Command, cs, config, o) {
956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
957
- })
958
- .s("CloudHsmFrontendService", "ModifyHsm", {})
959
- .n("CloudHSMClient", "ModifyHsmCommand")
960
- .sc(ModifyHsm$)
961
- .build() {
804
+ class ModifyHsmCommand extends command(_ep0, _mw0, "ModifyHsm", ModifyHsm$) {
962
805
  }
963
806
 
964
- class ModifyLunaClientCommand extends Command
965
- .classBuilder()
966
- .ep(commonParams)
967
- .m(function (Command, cs, config, o) {
968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
969
- })
970
- .s("CloudHsmFrontendService", "ModifyLunaClient", {})
971
- .n("CloudHSMClient", "ModifyLunaClientCommand")
972
- .sc(ModifyLunaClient$)
973
- .build() {
807
+ class ModifyLunaClientCommand extends command(_ep0, _mw0, "ModifyLunaClient", ModifyLunaClient$) {
974
808
  }
975
809
 
976
- class RemoveTagsFromResourceCommand extends Command
977
- .classBuilder()
978
- .ep(commonParams)
979
- .m(function (Command, cs, config, o) {
980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
981
- })
982
- .s("CloudHsmFrontendService", "RemoveTagsFromResource", {})
983
- .n("CloudHSMClient", "RemoveTagsFromResourceCommand")
984
- .sc(RemoveTagsFromResource$)
985
- .build() {
810
+ class RemoveTagsFromResourceCommand extends command(_ep0, _mw0, "RemoveTagsFromResource", RemoveTagsFromResource$) {
986
811
  }
987
812
 
988
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
  }
@@ -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 { ModifyHapg$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ModifyHapgCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ModifyHapg", {})
13
- .n("CloudHSMClient", "ModifyHapgCommand")
14
- .sc(ModifyHapg$)
15
- .build() {
3
+ export class ModifyHapgCommand extends command(_ep0, _mw0, "ModifyHapg", ModifyHapg$) {
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 { ModifyHsm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ModifyHsmCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudHsmFrontendService", "ModifyHsm", {})
13
- .n("CloudHSMClient", "ModifyHsmCommand")
14
- .sc(ModifyHsm$)
15
- .build() {
3
+ export class ModifyHsmCommand extends command(_ep0, _mw0, "ModifyHsm", ModifyHsm$) {
16
4
  }