@aws-sdk/client-cloudhsm-v2 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 (74) hide show
  1. package/dist-cjs/index.js +29 -185
  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-es/runtimeConfig.browser.js +0 -2
  23. package/dist-es/runtimeConfig.js +1 -2
  24. package/dist-es/runtimeConfig.native.js +0 -2
  25. package/dist-es/runtimeConfig.shared.js +2 -0
  26. package/dist-types/commandBuilder.d.ts +18 -0
  27. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateHsmCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -8
  35. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -8
  36. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  37. package/dist-types/commands/InitializeClusterCommand.d.ts +3 -8
  38. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  39. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +3 -8
  40. package/dist-types/commands/ModifyClusterCommand.d.ts +3 -8
  41. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  42. package/dist-types/commands/RestoreBackupCommand.d.ts +3 -8
  43. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  45. package/dist-types/index.d.ts +1 -0
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/runtimeConfig.d.ts +1 -1
  48. package/dist-types/runtimeConfig.native.d.ts +1 -1
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  51. package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/index.d.ts +1 -0
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  74. 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, 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");
@@ -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 defaultCloudHSMV2HttpAuthSchemeParametersProvider = 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
 
@@ -726,6 +728,7 @@ const getRuntimeConfig$1 = (config) => {
726
728
  serviceTarget: "BaldrApiService",
727
729
  },
728
730
  serviceId: config?.serviceId ?? "CloudHSM V2",
731
+ sha256: config?.sha256 ?? Sha256,
729
732
  urlParser: config?.urlParser ?? parseUrl,
730
733
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
731
734
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -759,7 +762,6 @@ const getRuntimeConfig = (config) => {
759
762
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
760
763
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
761
764
  }, config),
762
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
763
765
  streamCollector: config?.streamCollector ?? streamCollector,
764
766
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
765
767
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -847,220 +849,62 @@ class CloudHSMV2Client extends Client {
847
849
  }
848
850
  }
849
851
 
850
- class CopyBackupToRegionCommand extends Command
851
- .classBuilder()
852
- .ep(commonParams)
853
- .m(function (Command, cs, config, o) {
854
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
855
- })
856
- .s("BaldrApiService", "CopyBackupToRegion", {})
857
- .n("CloudHSMV2Client", "CopyBackupToRegionCommand")
858
- .sc(CopyBackupToRegion$)
859
- .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$) {
860
857
  }
861
858
 
862
- class CreateClusterCommand extends Command
863
- .classBuilder()
864
- .ep(commonParams)
865
- .m(function (Command, cs, config, o) {
866
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
867
- })
868
- .s("BaldrApiService", "CreateCluster", {})
869
- .n("CloudHSMV2Client", "CreateClusterCommand")
870
- .sc(CreateCluster$)
871
- .build() {
859
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
872
860
  }
873
861
 
874
- class CreateHsmCommand extends Command
875
- .classBuilder()
876
- .ep(commonParams)
877
- .m(function (Command, cs, config, o) {
878
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
879
- })
880
- .s("BaldrApiService", "CreateHsm", {})
881
- .n("CloudHSMV2Client", "CreateHsmCommand")
882
- .sc(CreateHsm$)
883
- .build() {
862
+ class CreateHsmCommand extends command(_ep0, _mw0, "CreateHsm", CreateHsm$) {
884
863
  }
885
864
 
886
- class DeleteBackupCommand extends Command
887
- .classBuilder()
888
- .ep(commonParams)
889
- .m(function (Command, cs, config, o) {
890
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
891
- })
892
- .s("BaldrApiService", "DeleteBackup", {})
893
- .n("CloudHSMV2Client", "DeleteBackupCommand")
894
- .sc(DeleteBackup$)
895
- .build() {
865
+ class DeleteBackupCommand extends command(_ep0, _mw0, "DeleteBackup", DeleteBackup$) {
896
866
  }
897
867
 
898
- class DeleteClusterCommand extends Command
899
- .classBuilder()
900
- .ep(commonParams)
901
- .m(function (Command, cs, config, o) {
902
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
903
- })
904
- .s("BaldrApiService", "DeleteCluster", {})
905
- .n("CloudHSMV2Client", "DeleteClusterCommand")
906
- .sc(DeleteCluster$)
907
- .build() {
868
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
908
869
  }
909
870
 
910
- class DeleteHsmCommand extends Command
911
- .classBuilder()
912
- .ep(commonParams)
913
- .m(function (Command, cs, config, o) {
914
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
915
- })
916
- .s("BaldrApiService", "DeleteHsm", {})
917
- .n("CloudHSMV2Client", "DeleteHsmCommand")
918
- .sc(DeleteHsm$)
919
- .build() {
871
+ class DeleteHsmCommand extends command(_ep0, _mw0, "DeleteHsm", DeleteHsm$) {
920
872
  }
921
873
 
922
- class DeleteResourcePolicyCommand extends Command
923
- .classBuilder()
924
- .ep(commonParams)
925
- .m(function (Command, cs, config, o) {
926
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
927
- })
928
- .s("BaldrApiService", "DeleteResourcePolicy", {})
929
- .n("CloudHSMV2Client", "DeleteResourcePolicyCommand")
930
- .sc(DeleteResourcePolicy$)
931
- .build() {
874
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
932
875
  }
933
876
 
934
- class DescribeBackupsCommand extends Command
935
- .classBuilder()
936
- .ep(commonParams)
937
- .m(function (Command, cs, config, o) {
938
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
939
- })
940
- .s("BaldrApiService", "DescribeBackups", {})
941
- .n("CloudHSMV2Client", "DescribeBackupsCommand")
942
- .sc(DescribeBackups$)
943
- .build() {
877
+ class DescribeBackupsCommand extends command(_ep0, _mw0, "DescribeBackups", DescribeBackups$) {
944
878
  }
945
879
 
946
- class DescribeClustersCommand extends Command
947
- .classBuilder()
948
- .ep(commonParams)
949
- .m(function (Command, cs, config, o) {
950
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
951
- })
952
- .s("BaldrApiService", "DescribeClusters", {})
953
- .n("CloudHSMV2Client", "DescribeClustersCommand")
954
- .sc(DescribeClusters$)
955
- .build() {
880
+ class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {
956
881
  }
957
882
 
958
- class GetResourcePolicyCommand extends Command
959
- .classBuilder()
960
- .ep(commonParams)
961
- .m(function (Command, cs, config, o) {
962
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
963
- })
964
- .s("BaldrApiService", "GetResourcePolicy", {})
965
- .n("CloudHSMV2Client", "GetResourcePolicyCommand")
966
- .sc(GetResourcePolicy$)
967
- .build() {
883
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
968
884
  }
969
885
 
970
- class InitializeClusterCommand extends Command
971
- .classBuilder()
972
- .ep(commonParams)
973
- .m(function (Command, cs, config, o) {
974
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
975
- })
976
- .s("BaldrApiService", "InitializeCluster", {})
977
- .n("CloudHSMV2Client", "InitializeClusterCommand")
978
- .sc(InitializeCluster$)
979
- .build() {
886
+ class InitializeClusterCommand extends command(_ep0, _mw0, "InitializeCluster", InitializeCluster$) {
980
887
  }
981
888
 
982
- class ListTagsCommand extends Command
983
- .classBuilder()
984
- .ep(commonParams)
985
- .m(function (Command, cs, config, o) {
986
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
987
- })
988
- .s("BaldrApiService", "ListTags", {})
989
- .n("CloudHSMV2Client", "ListTagsCommand")
990
- .sc(ListTags$)
991
- .build() {
889
+ class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
992
890
  }
993
891
 
994
- class ModifyBackupAttributesCommand extends Command
995
- .classBuilder()
996
- .ep(commonParams)
997
- .m(function (Command, cs, config, o) {
998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
999
- })
1000
- .s("BaldrApiService", "ModifyBackupAttributes", {})
1001
- .n("CloudHSMV2Client", "ModifyBackupAttributesCommand")
1002
- .sc(ModifyBackupAttributes$)
1003
- .build() {
892
+ class ModifyBackupAttributesCommand extends command(_ep0, _mw0, "ModifyBackupAttributes", ModifyBackupAttributes$) {
1004
893
  }
1005
894
 
1006
- class ModifyClusterCommand extends Command
1007
- .classBuilder()
1008
- .ep(commonParams)
1009
- .m(function (Command, cs, config, o) {
1010
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1011
- })
1012
- .s("BaldrApiService", "ModifyCluster", {})
1013
- .n("CloudHSMV2Client", "ModifyClusterCommand")
1014
- .sc(ModifyCluster$)
1015
- .build() {
895
+ class ModifyClusterCommand extends command(_ep0, _mw0, "ModifyCluster", ModifyCluster$) {
1016
896
  }
1017
897
 
1018
- class PutResourcePolicyCommand extends Command
1019
- .classBuilder()
1020
- .ep(commonParams)
1021
- .m(function (Command, cs, config, o) {
1022
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
- })
1024
- .s("BaldrApiService", "PutResourcePolicy", {})
1025
- .n("CloudHSMV2Client", "PutResourcePolicyCommand")
1026
- .sc(PutResourcePolicy$)
1027
- .build() {
898
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1028
899
  }
1029
900
 
1030
- class RestoreBackupCommand extends Command
1031
- .classBuilder()
1032
- .ep(commonParams)
1033
- .m(function (Command, cs, config, o) {
1034
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1035
- })
1036
- .s("BaldrApiService", "RestoreBackup", {})
1037
- .n("CloudHSMV2Client", "RestoreBackupCommand")
1038
- .sc(RestoreBackup$)
1039
- .build() {
901
+ class RestoreBackupCommand extends command(_ep0, _mw0, "RestoreBackup", RestoreBackup$) {
1040
902
  }
1041
903
 
1042
- class TagResourceCommand extends Command
1043
- .classBuilder()
1044
- .ep(commonParams)
1045
- .m(function (Command, cs, config, o) {
1046
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1047
- })
1048
- .s("BaldrApiService", "TagResource", {})
1049
- .n("CloudHSMV2Client", "TagResourceCommand")
1050
- .sc(TagResource$)
1051
- .build() {
904
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1052
905
  }
1053
906
 
1054
- class UntagResourceCommand extends Command
1055
- .classBuilder()
1056
- .ep(commonParams)
1057
- .m(function (Command, cs, config, o) {
1058
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1059
- })
1060
- .s("BaldrApiService", "UntagResource", {})
1061
- .n("CloudHSMV2Client", "UntagResourceCommand")
1062
- .sc(UntagResource$)
1063
- .build() {
907
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1064
908
  }
1065
909
 
1066
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
  }