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