@aws-sdk/client-cloudhsm-v2 3.1077.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 (62) hide show
  1. package/dist-cjs/index.js +26 -183
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CopyBackupToRegionCommand.js +2 -14
  4. package/dist-es/commands/CreateClusterCommand.js +2 -14
  5. package/dist-es/commands/CreateHsmCommand.js +2 -14
  6. package/dist-es/commands/DeleteBackupCommand.js +2 -14
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  8. package/dist-es/commands/DeleteHsmCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DescribeBackupsCommand.js +2 -14
  11. package/dist-es/commands/DescribeClustersCommand.js +2 -14
  12. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  13. package/dist-es/commands/InitializeClusterCommand.js +2 -14
  14. package/dist-es/commands/ListTagsCommand.js +2 -14
  15. package/dist-es/commands/ModifyBackupAttributesCommand.js +2 -14
  16. package/dist-es/commands/ModifyClusterCommand.js +2 -14
  17. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  18. package/dist-es/commands/RestoreBackupCommand.js +2 -14
  19. package/dist-es/commands/TagResourceCommand.js +2 -14
  20. package/dist-es/commands/UntagResourceCommand.js +2 -14
  21. package/dist-es/index.js +1 -0
  22. package/dist-types/commandBuilder.d.ts +18 -0
  23. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateHsmCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  28. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -8
  31. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -8
  32. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  33. package/dist-types/commands/InitializeClusterCommand.d.ts +3 -8
  34. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  35. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +3 -8
  36. package/dist-types/commands/ModifyClusterCommand.d.ts +3 -8
  37. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  38. package/dist-types/commands/RestoreBackupCommand.d.ts +3 -8
  39. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  43. package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/index.d.ts +1 -0
  62. 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, createPaginator } = 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -848,220 +849,62 @@ class CloudHSMV2Client extends Client {
848
849
  }
849
850
  }
850
851
 
851
- class CopyBackupToRegionCommand extends Command
852
- .classBuilder()
853
- .ep(commonParams)
854
- .m(function (Command, cs, config, o) {
855
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
856
- })
857
- .s("BaldrApiService", "CopyBackupToRegion", {})
858
- .n("CloudHSMV2Client", "CopyBackupToRegionCommand")
859
- .sc(CopyBackupToRegion$)
860
- .build() {
852
+ const command = makeBuilder(commonParams, "BaldrApiService", "CloudHSMV2Client", getEndpointPlugin);
853
+ const _ep0 = {};
854
+ const _mw0 = (Command, cs, config, o) => [];
855
+
856
+ class CopyBackupToRegionCommand extends command(_ep0, _mw0, "CopyBackupToRegion", CopyBackupToRegion$) {
861
857
  }
862
858
 
863
- class CreateClusterCommand extends Command
864
- .classBuilder()
865
- .ep(commonParams)
866
- .m(function (Command, cs, config, o) {
867
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
868
- })
869
- .s("BaldrApiService", "CreateCluster", {})
870
- .n("CloudHSMV2Client", "CreateClusterCommand")
871
- .sc(CreateCluster$)
872
- .build() {
859
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
873
860
  }
874
861
 
875
- class CreateHsmCommand extends Command
876
- .classBuilder()
877
- .ep(commonParams)
878
- .m(function (Command, cs, config, o) {
879
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
880
- })
881
- .s("BaldrApiService", "CreateHsm", {})
882
- .n("CloudHSMV2Client", "CreateHsmCommand")
883
- .sc(CreateHsm$)
884
- .build() {
862
+ class CreateHsmCommand extends command(_ep0, _mw0, "CreateHsm", CreateHsm$) {
885
863
  }
886
864
 
887
- class DeleteBackupCommand extends Command
888
- .classBuilder()
889
- .ep(commonParams)
890
- .m(function (Command, cs, config, o) {
891
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
892
- })
893
- .s("BaldrApiService", "DeleteBackup", {})
894
- .n("CloudHSMV2Client", "DeleteBackupCommand")
895
- .sc(DeleteBackup$)
896
- .build() {
865
+ class DeleteBackupCommand extends command(_ep0, _mw0, "DeleteBackup", DeleteBackup$) {
897
866
  }
898
867
 
899
- class DeleteClusterCommand extends Command
900
- .classBuilder()
901
- .ep(commonParams)
902
- .m(function (Command, cs, config, o) {
903
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
- })
905
- .s("BaldrApiService", "DeleteCluster", {})
906
- .n("CloudHSMV2Client", "DeleteClusterCommand")
907
- .sc(DeleteCluster$)
908
- .build() {
868
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
909
869
  }
910
870
 
911
- class DeleteHsmCommand extends Command
912
- .classBuilder()
913
- .ep(commonParams)
914
- .m(function (Command, cs, config, o) {
915
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
916
- })
917
- .s("BaldrApiService", "DeleteHsm", {})
918
- .n("CloudHSMV2Client", "DeleteHsmCommand")
919
- .sc(DeleteHsm$)
920
- .build() {
871
+ class DeleteHsmCommand extends command(_ep0, _mw0, "DeleteHsm", DeleteHsm$) {
921
872
  }
922
873
 
923
- class DeleteResourcePolicyCommand extends Command
924
- .classBuilder()
925
- .ep(commonParams)
926
- .m(function (Command, cs, config, o) {
927
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
928
- })
929
- .s("BaldrApiService", "DeleteResourcePolicy", {})
930
- .n("CloudHSMV2Client", "DeleteResourcePolicyCommand")
931
- .sc(DeleteResourcePolicy$)
932
- .build() {
874
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
933
875
  }
934
876
 
935
- class DescribeBackupsCommand extends Command
936
- .classBuilder()
937
- .ep(commonParams)
938
- .m(function (Command, cs, config, o) {
939
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
940
- })
941
- .s("BaldrApiService", "DescribeBackups", {})
942
- .n("CloudHSMV2Client", "DescribeBackupsCommand")
943
- .sc(DescribeBackups$)
944
- .build() {
877
+ class DescribeBackupsCommand extends command(_ep0, _mw0, "DescribeBackups", DescribeBackups$) {
945
878
  }
946
879
 
947
- class DescribeClustersCommand extends Command
948
- .classBuilder()
949
- .ep(commonParams)
950
- .m(function (Command, cs, config, o) {
951
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
952
- })
953
- .s("BaldrApiService", "DescribeClusters", {})
954
- .n("CloudHSMV2Client", "DescribeClustersCommand")
955
- .sc(DescribeClusters$)
956
- .build() {
880
+ class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {
957
881
  }
958
882
 
959
- class GetResourcePolicyCommand extends Command
960
- .classBuilder()
961
- .ep(commonParams)
962
- .m(function (Command, cs, config, o) {
963
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
964
- })
965
- .s("BaldrApiService", "GetResourcePolicy", {})
966
- .n("CloudHSMV2Client", "GetResourcePolicyCommand")
967
- .sc(GetResourcePolicy$)
968
- .build() {
883
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
969
884
  }
970
885
 
971
- class InitializeClusterCommand extends Command
972
- .classBuilder()
973
- .ep(commonParams)
974
- .m(function (Command, cs, config, o) {
975
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
976
- })
977
- .s("BaldrApiService", "InitializeCluster", {})
978
- .n("CloudHSMV2Client", "InitializeClusterCommand")
979
- .sc(InitializeCluster$)
980
- .build() {
886
+ class InitializeClusterCommand extends command(_ep0, _mw0, "InitializeCluster", InitializeCluster$) {
981
887
  }
982
888
 
983
- class ListTagsCommand extends Command
984
- .classBuilder()
985
- .ep(commonParams)
986
- .m(function (Command, cs, config, o) {
987
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
988
- })
989
- .s("BaldrApiService", "ListTags", {})
990
- .n("CloudHSMV2Client", "ListTagsCommand")
991
- .sc(ListTags$)
992
- .build() {
889
+ class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
993
890
  }
994
891
 
995
- class ModifyBackupAttributesCommand extends Command
996
- .classBuilder()
997
- .ep(commonParams)
998
- .m(function (Command, cs, config, o) {
999
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1000
- })
1001
- .s("BaldrApiService", "ModifyBackupAttributes", {})
1002
- .n("CloudHSMV2Client", "ModifyBackupAttributesCommand")
1003
- .sc(ModifyBackupAttributes$)
1004
- .build() {
892
+ class ModifyBackupAttributesCommand extends command(_ep0, _mw0, "ModifyBackupAttributes", ModifyBackupAttributes$) {
1005
893
  }
1006
894
 
1007
- class ModifyClusterCommand extends Command
1008
- .classBuilder()
1009
- .ep(commonParams)
1010
- .m(function (Command, cs, config, o) {
1011
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1012
- })
1013
- .s("BaldrApiService", "ModifyCluster", {})
1014
- .n("CloudHSMV2Client", "ModifyClusterCommand")
1015
- .sc(ModifyCluster$)
1016
- .build() {
895
+ class ModifyClusterCommand extends command(_ep0, _mw0, "ModifyCluster", ModifyCluster$) {
1017
896
  }
1018
897
 
1019
- class PutResourcePolicyCommand extends Command
1020
- .classBuilder()
1021
- .ep(commonParams)
1022
- .m(function (Command, cs, config, o) {
1023
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1024
- })
1025
- .s("BaldrApiService", "PutResourcePolicy", {})
1026
- .n("CloudHSMV2Client", "PutResourcePolicyCommand")
1027
- .sc(PutResourcePolicy$)
1028
- .build() {
898
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1029
899
  }
1030
900
 
1031
- class RestoreBackupCommand extends Command
1032
- .classBuilder()
1033
- .ep(commonParams)
1034
- .m(function (Command, cs, config, o) {
1035
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1036
- })
1037
- .s("BaldrApiService", "RestoreBackup", {})
1038
- .n("CloudHSMV2Client", "RestoreBackupCommand")
1039
- .sc(RestoreBackup$)
1040
- .build() {
901
+ class RestoreBackupCommand extends command(_ep0, _mw0, "RestoreBackup", RestoreBackup$) {
1041
902
  }
1042
903
 
1043
- class TagResourceCommand extends Command
1044
- .classBuilder()
1045
- .ep(commonParams)
1046
- .m(function (Command, cs, config, o) {
1047
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1048
- })
1049
- .s("BaldrApiService", "TagResource", {})
1050
- .n("CloudHSMV2Client", "TagResourceCommand")
1051
- .sc(TagResource$)
1052
- .build() {
904
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1053
905
  }
1054
906
 
1055
- class UntagResourceCommand extends Command
1056
- .classBuilder()
1057
- .ep(commonParams)
1058
- .m(function (Command, cs, config, o) {
1059
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1060
- })
1061
- .s("BaldrApiService", "UntagResource", {})
1062
- .n("CloudHSMV2Client", "UntagResourceCommand")
1063
- .sc(UntagResource$)
1064
- .build() {
907
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1065
908
  }
1066
909
 
1067
910
  const paginateDescribeBackups = createPaginator(CloudHSMV2Client, DescribeBackupsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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, "BaldrApiService", "CloudHSMV2Client", 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 { CopyBackupToRegion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CopyBackupToRegionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "CopyBackupToRegion", {})
13
- .n("CloudHSMV2Client", "CopyBackupToRegionCommand")
14
- .sc(CopyBackupToRegion$)
15
- .build() {
3
+ export class CopyBackupToRegionCommand extends command(_ep0, _mw0, "CopyBackupToRegion", CopyBackupToRegion$) {
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 { CreateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "CreateCluster", {})
13
- .n("CloudHSMV2Client", "CreateClusterCommand")
14
- .sc(CreateCluster$)
15
- .build() {
3
+ export class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
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("BaldrApiService", "CreateHsm", {})
13
- .n("CloudHSMV2Client", "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 { DeleteBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "DeleteBackup", {})
13
- .n("CloudHSMV2Client", "DeleteBackupCommand")
14
- .sc(DeleteBackup$)
15
- .build() {
3
+ export class DeleteBackupCommand extends command(_ep0, _mw0, "DeleteBackup", DeleteBackup$) {
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 { DeleteCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "DeleteCluster", {})
13
- .n("CloudHSMV2Client", "DeleteClusterCommand")
14
- .sc(DeleteCluster$)
15
- .build() {
3
+ export class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
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("BaldrApiService", "DeleteHsm", {})
13
- .n("CloudHSMV2Client", "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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "DeleteResourcePolicy", {})
13
- .n("CloudHSMV2Client", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DescribeBackups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBackupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "DescribeBackups", {})
13
- .n("CloudHSMV2Client", "DescribeBackupsCommand")
14
- .sc(DescribeBackups$)
15
- .build() {
3
+ export class DescribeBackupsCommand extends command(_ep0, _mw0, "DescribeBackups", DescribeBackups$) {
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 { DescribeClusters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeClustersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "DescribeClusters", {})
13
- .n("CloudHSMV2Client", "DescribeClustersCommand")
14
- .sc(DescribeClusters$)
15
- .build() {
3
+ export class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "GetResourcePolicy", {})
13
- .n("CloudHSMV2Client", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
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 { InitializeCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InitializeClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "InitializeCluster", {})
13
- .n("CloudHSMV2Client", "InitializeClusterCommand")
14
- .sc(InitializeCluster$)
15
- .build() {
3
+ export class InitializeClusterCommand extends command(_ep0, _mw0, "InitializeCluster", InitializeCluster$) {
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 { ListTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "ListTags", {})
13
- .n("CloudHSMV2Client", "ListTagsCommand")
14
- .sc(ListTags$)
15
- .build() {
3
+ export class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
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 { ModifyBackupAttributes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ModifyBackupAttributesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "ModifyBackupAttributes", {})
13
- .n("CloudHSMV2Client", "ModifyBackupAttributesCommand")
14
- .sc(ModifyBackupAttributes$)
15
- .build() {
3
+ export class ModifyBackupAttributesCommand extends command(_ep0, _mw0, "ModifyBackupAttributes", ModifyBackupAttributes$) {
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 { ModifyCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ModifyClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "ModifyCluster", {})
13
- .n("CloudHSMV2Client", "ModifyClusterCommand")
14
- .sc(ModifyCluster$)
15
- .build() {
3
+ export class ModifyClusterCommand extends command(_ep0, _mw0, "ModifyCluster", ModifyCluster$) {
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 { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "PutResourcePolicy", {})
13
- .n("CloudHSMV2Client", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
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 { RestoreBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreBackupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "RestoreBackup", {})
13
- .n("CloudHSMV2Client", "RestoreBackupCommand")
14
- .sc(RestoreBackup$)
15
- .build() {
3
+ export class RestoreBackupCommand extends command(_ep0, _mw0, "RestoreBackup", RestoreBackup$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "TagResource", {})
13
- .n("CloudHSMV2Client", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BaldrApiService", "UntagResource", {})
13
- .n("CloudHSMV2Client", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudHSMV2Client";
2
2
  export * from "./CloudHSMV2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";