@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.
- package/dist-cjs/index.js +26 -183
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CopyBackupToRegionCommand.js +2 -14
- package/dist-es/commands/CreateClusterCommand.js +2 -14
- package/dist-es/commands/CreateHsmCommand.js +2 -14
- package/dist-es/commands/DeleteBackupCommand.js +2 -14
- package/dist-es/commands/DeleteClusterCommand.js +2 -14
- package/dist-es/commands/DeleteHsmCommand.js +2 -14
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
- package/dist-es/commands/DescribeBackupsCommand.js +2 -14
- package/dist-es/commands/DescribeClustersCommand.js +2 -14
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
- package/dist-es/commands/InitializeClusterCommand.js +2 -14
- package/dist-es/commands/ListTagsCommand.js +2 -14
- package/dist-es/commands/ModifyBackupAttributesCommand.js +2 -14
- package/dist-es/commands/ModifyClusterCommand.js +2 -14
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
- package/dist-es/commands/RestoreBackupCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CopyBackupToRegionCommand.d.ts +3 -8
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
- package/dist-types/commands/CreateHsmCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBackupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
- package/dist-types/commands/DeleteHsmCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/InitializeClusterCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsCommand.d.ts +3 -8
- package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +3 -8
- package/dist-types/commands/ModifyClusterCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/RestoreBackupCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- 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,
|
|
4
|
-
|
|
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.
|
|
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
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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