@aws-sdk/client-backup-gateway 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 +36 -255
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateGatewayToServerCommand.js +2 -14
- package/dist-es/commands/CreateGatewayCommand.js +2 -14
- package/dist-es/commands/DeleteGatewayCommand.js +2 -14
- package/dist-es/commands/DeleteHypervisorCommand.js +2 -14
- package/dist-es/commands/DisassociateGatewayFromServerCommand.js +2 -14
- package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +2 -14
- package/dist-es/commands/GetGatewayCommand.js +2 -14
- package/dist-es/commands/GetHypervisorCommand.js +2 -14
- package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +2 -14
- package/dist-es/commands/GetVirtualMachineCommand.js +2 -14
- package/dist-es/commands/ImportHypervisorConfigurationCommand.js +2 -14
- package/dist-es/commands/ListGatewaysCommand.js +2 -14
- package/dist-es/commands/ListHypervisorsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListVirtualMachinesCommand.js +2 -14
- package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +2 -14
- package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +2 -14
- package/dist-es/commands/PutMaintenanceStartTimeCommand.js +2 -14
- package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/TestHypervisorConfigurationCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateGatewayInformationCommand.js +2 -14
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +2 -14
- package/dist-es/commands/UpdateHypervisorCommand.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/AssociateGatewayToServerCommand.d.ts +3 -8
- package/dist-types/commands/CreateGatewayCommand.d.ts +3 -8
- package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -8
- package/dist-types/commands/DeleteHypervisorCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateGatewayFromServerCommand.d.ts +3 -8
- package/dist-types/commands/GetBandwidthRateLimitScheduleCommand.d.ts +3 -8
- package/dist-types/commands/GetGatewayCommand.d.ts +3 -8
- package/dist-types/commands/GetHypervisorCommand.d.ts +3 -8
- package/dist-types/commands/GetHypervisorPropertyMappingsCommand.d.ts +3 -8
- package/dist-types/commands/GetVirtualMachineCommand.d.ts +3 -8
- package/dist-types/commands/ImportHypervisorConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/ListGatewaysCommand.d.ts +3 -8
- package/dist-types/commands/ListHypervisorsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListVirtualMachinesCommand.d.ts +3 -8
- package/dist-types/commands/PutBandwidthRateLimitScheduleCommand.d.ts +3 -8
- package/dist-types/commands/PutHypervisorPropertyMappingsCommand.d.ts +3 -8
- package/dist-types/commands/PutMaintenanceStartTimeCommand.d.ts +3 -8
- package/dist-types/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/TestHypervisorConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +3 -8
- package/dist-types/commands/UpdateHypervisorCommand.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/AssociateGatewayToServerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteHypervisorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateGatewayFromServerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBandwidthRateLimitScheduleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetGatewayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetHypervisorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetHypervisorPropertyMappingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetVirtualMachineCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportHypervisorConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListHypervisorsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListVirtualMachinesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutBandwidthRateLimitScheduleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutHypervisorPropertyMappingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutMaintenanceStartTimeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TestHypervisorConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateGatewayInformationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateGatewaySoftwareNowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateHypervisorCommand.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, 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");
|
|
@@ -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_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultBackupGatewayHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -861,6 +863,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
861
863
|
serviceTarget: "BackupOnPremises_v20210101",
|
|
862
864
|
},
|
|
863
865
|
serviceId: config?.serviceId ?? "Backup Gateway",
|
|
866
|
+
sha256: config?.sha256 ?? Sha256,
|
|
864
867
|
urlParser: config?.urlParser ?? parseUrl,
|
|
865
868
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
866
869
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -894,7 +897,6 @@ const getRuntimeConfig = (config) => {
|
|
|
894
897
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
895
898
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
896
899
|
}, config),
|
|
897
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
898
900
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
899
901
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
900
902
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -982,304 +984,83 @@ class BackupGatewayClient extends Client {
|
|
|
982
984
|
}
|
|
983
985
|
}
|
|
984
986
|
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
})
|
|
991
|
-
.s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
|
|
992
|
-
.n("BackupGatewayClient", "AssociateGatewayToServerCommand")
|
|
993
|
-
.sc(AssociateGatewayToServer$)
|
|
994
|
-
.build() {
|
|
987
|
+
const command = makeBuilder(commonParams, "BackupOnPremises_v20210101", "BackupGatewayClient", getEndpointPlugin);
|
|
988
|
+
const _ep0 = {};
|
|
989
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
990
|
+
|
|
991
|
+
class AssociateGatewayToServerCommand extends command(_ep0, _mw0, "AssociateGatewayToServer", AssociateGatewayToServer$) {
|
|
995
992
|
}
|
|
996
993
|
|
|
997
|
-
class CreateGatewayCommand extends
|
|
998
|
-
.classBuilder()
|
|
999
|
-
.ep(commonParams)
|
|
1000
|
-
.m(function (Command, cs, config, o) {
|
|
1001
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1002
|
-
})
|
|
1003
|
-
.s("BackupOnPremises_v20210101", "CreateGateway", {})
|
|
1004
|
-
.n("BackupGatewayClient", "CreateGatewayCommand")
|
|
1005
|
-
.sc(CreateGateway$)
|
|
1006
|
-
.build() {
|
|
994
|
+
class CreateGatewayCommand extends command(_ep0, _mw0, "CreateGateway", CreateGateway$) {
|
|
1007
995
|
}
|
|
1008
996
|
|
|
1009
|
-
class DeleteGatewayCommand extends
|
|
1010
|
-
.classBuilder()
|
|
1011
|
-
.ep(commonParams)
|
|
1012
|
-
.m(function (Command, cs, config, o) {
|
|
1013
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1014
|
-
})
|
|
1015
|
-
.s("BackupOnPremises_v20210101", "DeleteGateway", {})
|
|
1016
|
-
.n("BackupGatewayClient", "DeleteGatewayCommand")
|
|
1017
|
-
.sc(DeleteGateway$)
|
|
1018
|
-
.build() {
|
|
997
|
+
class DeleteGatewayCommand extends command(_ep0, _mw0, "DeleteGateway", DeleteGateway$) {
|
|
1019
998
|
}
|
|
1020
999
|
|
|
1021
|
-
class DeleteHypervisorCommand extends
|
|
1022
|
-
.classBuilder()
|
|
1023
|
-
.ep(commonParams)
|
|
1024
|
-
.m(function (Command, cs, config, o) {
|
|
1025
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1026
|
-
})
|
|
1027
|
-
.s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
|
|
1028
|
-
.n("BackupGatewayClient", "DeleteHypervisorCommand")
|
|
1029
|
-
.sc(DeleteHypervisor$)
|
|
1030
|
-
.build() {
|
|
1000
|
+
class DeleteHypervisorCommand extends command(_ep0, _mw0, "DeleteHypervisor", DeleteHypervisor$) {
|
|
1031
1001
|
}
|
|
1032
1002
|
|
|
1033
|
-
class DisassociateGatewayFromServerCommand extends
|
|
1034
|
-
.classBuilder()
|
|
1035
|
-
.ep(commonParams)
|
|
1036
|
-
.m(function (Command, cs, config, o) {
|
|
1037
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1038
|
-
})
|
|
1039
|
-
.s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
|
|
1040
|
-
.n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
|
|
1041
|
-
.sc(DisassociateGatewayFromServer$)
|
|
1042
|
-
.build() {
|
|
1003
|
+
class DisassociateGatewayFromServerCommand extends command(_ep0, _mw0, "DisassociateGatewayFromServer", DisassociateGatewayFromServer$) {
|
|
1043
1004
|
}
|
|
1044
1005
|
|
|
1045
|
-
class GetBandwidthRateLimitScheduleCommand extends
|
|
1046
|
-
.classBuilder()
|
|
1047
|
-
.ep(commonParams)
|
|
1048
|
-
.m(function (Command, cs, config, o) {
|
|
1049
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1050
|
-
})
|
|
1051
|
-
.s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
|
|
1052
|
-
.n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
|
|
1053
|
-
.sc(GetBandwidthRateLimitSchedule$)
|
|
1054
|
-
.build() {
|
|
1006
|
+
class GetBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "GetBandwidthRateLimitSchedule", GetBandwidthRateLimitSchedule$) {
|
|
1055
1007
|
}
|
|
1056
1008
|
|
|
1057
|
-
class GetGatewayCommand extends
|
|
1058
|
-
.classBuilder()
|
|
1059
|
-
.ep(commonParams)
|
|
1060
|
-
.m(function (Command, cs, config, o) {
|
|
1061
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1062
|
-
})
|
|
1063
|
-
.s("BackupOnPremises_v20210101", "GetGateway", {})
|
|
1064
|
-
.n("BackupGatewayClient", "GetGatewayCommand")
|
|
1065
|
-
.sc(GetGateway$)
|
|
1066
|
-
.build() {
|
|
1009
|
+
class GetGatewayCommand extends command(_ep0, _mw0, "GetGateway", GetGateway$) {
|
|
1067
1010
|
}
|
|
1068
1011
|
|
|
1069
|
-
class GetHypervisorCommand extends
|
|
1070
|
-
.classBuilder()
|
|
1071
|
-
.ep(commonParams)
|
|
1072
|
-
.m(function (Command, cs, config, o) {
|
|
1073
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1074
|
-
})
|
|
1075
|
-
.s("BackupOnPremises_v20210101", "GetHypervisor", {})
|
|
1076
|
-
.n("BackupGatewayClient", "GetHypervisorCommand")
|
|
1077
|
-
.sc(GetHypervisor$)
|
|
1078
|
-
.build() {
|
|
1012
|
+
class GetHypervisorCommand extends command(_ep0, _mw0, "GetHypervisor", GetHypervisor$) {
|
|
1079
1013
|
}
|
|
1080
1014
|
|
|
1081
|
-
class GetHypervisorPropertyMappingsCommand extends
|
|
1082
|
-
.classBuilder()
|
|
1083
|
-
.ep(commonParams)
|
|
1084
|
-
.m(function (Command, cs, config, o) {
|
|
1085
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1086
|
-
})
|
|
1087
|
-
.s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
|
|
1088
|
-
.n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
|
|
1089
|
-
.sc(GetHypervisorPropertyMappings$)
|
|
1090
|
-
.build() {
|
|
1015
|
+
class GetHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "GetHypervisorPropertyMappings", GetHypervisorPropertyMappings$) {
|
|
1091
1016
|
}
|
|
1092
1017
|
|
|
1093
|
-
class GetVirtualMachineCommand extends
|
|
1094
|
-
.classBuilder()
|
|
1095
|
-
.ep(commonParams)
|
|
1096
|
-
.m(function (Command, cs, config, o) {
|
|
1097
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1098
|
-
})
|
|
1099
|
-
.s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
|
|
1100
|
-
.n("BackupGatewayClient", "GetVirtualMachineCommand")
|
|
1101
|
-
.sc(GetVirtualMachine$)
|
|
1102
|
-
.build() {
|
|
1018
|
+
class GetVirtualMachineCommand extends command(_ep0, _mw0, "GetVirtualMachine", GetVirtualMachine$) {
|
|
1103
1019
|
}
|
|
1104
1020
|
|
|
1105
|
-
class ImportHypervisorConfigurationCommand extends
|
|
1106
|
-
.classBuilder()
|
|
1107
|
-
.ep(commonParams)
|
|
1108
|
-
.m(function (Command, cs, config, o) {
|
|
1109
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1110
|
-
})
|
|
1111
|
-
.s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
|
|
1112
|
-
.n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
|
|
1113
|
-
.sc(ImportHypervisorConfiguration$)
|
|
1114
|
-
.build() {
|
|
1021
|
+
class ImportHypervisorConfigurationCommand extends command(_ep0, _mw0, "ImportHypervisorConfiguration", ImportHypervisorConfiguration$) {
|
|
1115
1022
|
}
|
|
1116
1023
|
|
|
1117
|
-
class ListGatewaysCommand extends
|
|
1118
|
-
.classBuilder()
|
|
1119
|
-
.ep(commonParams)
|
|
1120
|
-
.m(function (Command, cs, config, o) {
|
|
1121
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1122
|
-
})
|
|
1123
|
-
.s("BackupOnPremises_v20210101", "ListGateways", {})
|
|
1124
|
-
.n("BackupGatewayClient", "ListGatewaysCommand")
|
|
1125
|
-
.sc(ListGateways$)
|
|
1126
|
-
.build() {
|
|
1024
|
+
class ListGatewaysCommand extends command(_ep0, _mw0, "ListGateways", ListGateways$) {
|
|
1127
1025
|
}
|
|
1128
1026
|
|
|
1129
|
-
class ListHypervisorsCommand extends
|
|
1130
|
-
.classBuilder()
|
|
1131
|
-
.ep(commonParams)
|
|
1132
|
-
.m(function (Command, cs, config, o) {
|
|
1133
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1134
|
-
})
|
|
1135
|
-
.s("BackupOnPremises_v20210101", "ListHypervisors", {})
|
|
1136
|
-
.n("BackupGatewayClient", "ListHypervisorsCommand")
|
|
1137
|
-
.sc(ListHypervisors$)
|
|
1138
|
-
.build() {
|
|
1027
|
+
class ListHypervisorsCommand extends command(_ep0, _mw0, "ListHypervisors", ListHypervisors$) {
|
|
1139
1028
|
}
|
|
1140
1029
|
|
|
1141
|
-
class ListTagsForResourceCommand extends
|
|
1142
|
-
.classBuilder()
|
|
1143
|
-
.ep(commonParams)
|
|
1144
|
-
.m(function (Command, cs, config, o) {
|
|
1145
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1146
|
-
})
|
|
1147
|
-
.s("BackupOnPremises_v20210101", "ListTagsForResource", {})
|
|
1148
|
-
.n("BackupGatewayClient", "ListTagsForResourceCommand")
|
|
1149
|
-
.sc(ListTagsForResource$)
|
|
1150
|
-
.build() {
|
|
1030
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1151
1031
|
}
|
|
1152
1032
|
|
|
1153
|
-
class ListVirtualMachinesCommand extends
|
|
1154
|
-
.classBuilder()
|
|
1155
|
-
.ep(commonParams)
|
|
1156
|
-
.m(function (Command, cs, config, o) {
|
|
1157
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1158
|
-
})
|
|
1159
|
-
.s("BackupOnPremises_v20210101", "ListVirtualMachines", {})
|
|
1160
|
-
.n("BackupGatewayClient", "ListVirtualMachinesCommand")
|
|
1161
|
-
.sc(ListVirtualMachines$)
|
|
1162
|
-
.build() {
|
|
1033
|
+
class ListVirtualMachinesCommand extends command(_ep0, _mw0, "ListVirtualMachines", ListVirtualMachines$) {
|
|
1163
1034
|
}
|
|
1164
1035
|
|
|
1165
|
-
class PutBandwidthRateLimitScheduleCommand extends
|
|
1166
|
-
.classBuilder()
|
|
1167
|
-
.ep(commonParams)
|
|
1168
|
-
.m(function (Command, cs, config, o) {
|
|
1169
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1170
|
-
})
|
|
1171
|
-
.s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {})
|
|
1172
|
-
.n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand")
|
|
1173
|
-
.sc(PutBandwidthRateLimitSchedule$)
|
|
1174
|
-
.build() {
|
|
1036
|
+
class PutBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "PutBandwidthRateLimitSchedule", PutBandwidthRateLimitSchedule$) {
|
|
1175
1037
|
}
|
|
1176
1038
|
|
|
1177
|
-
class PutHypervisorPropertyMappingsCommand extends
|
|
1178
|
-
.classBuilder()
|
|
1179
|
-
.ep(commonParams)
|
|
1180
|
-
.m(function (Command, cs, config, o) {
|
|
1181
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1182
|
-
})
|
|
1183
|
-
.s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {})
|
|
1184
|
-
.n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand")
|
|
1185
|
-
.sc(PutHypervisorPropertyMappings$)
|
|
1186
|
-
.build() {
|
|
1039
|
+
class PutHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "PutHypervisorPropertyMappings", PutHypervisorPropertyMappings$) {
|
|
1187
1040
|
}
|
|
1188
1041
|
|
|
1189
|
-
class PutMaintenanceStartTimeCommand extends
|
|
1190
|
-
.classBuilder()
|
|
1191
|
-
.ep(commonParams)
|
|
1192
|
-
.m(function (Command, cs, config, o) {
|
|
1193
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1194
|
-
})
|
|
1195
|
-
.s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {})
|
|
1196
|
-
.n("BackupGatewayClient", "PutMaintenanceStartTimeCommand")
|
|
1197
|
-
.sc(PutMaintenanceStartTime$)
|
|
1198
|
-
.build() {
|
|
1042
|
+
class PutMaintenanceStartTimeCommand extends command(_ep0, _mw0, "PutMaintenanceStartTime", PutMaintenanceStartTime$) {
|
|
1199
1043
|
}
|
|
1200
1044
|
|
|
1201
|
-
class StartVirtualMachinesMetadataSyncCommand extends
|
|
1202
|
-
.classBuilder()
|
|
1203
|
-
.ep(commonParams)
|
|
1204
|
-
.m(function (Command, cs, config, o) {
|
|
1205
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1206
|
-
})
|
|
1207
|
-
.s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {})
|
|
1208
|
-
.n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand")
|
|
1209
|
-
.sc(StartVirtualMachinesMetadataSync$)
|
|
1210
|
-
.build() {
|
|
1045
|
+
class StartVirtualMachinesMetadataSyncCommand extends command(_ep0, _mw0, "StartVirtualMachinesMetadataSync", StartVirtualMachinesMetadataSync$) {
|
|
1211
1046
|
}
|
|
1212
1047
|
|
|
1213
|
-
class TagResourceCommand extends
|
|
1214
|
-
.classBuilder()
|
|
1215
|
-
.ep(commonParams)
|
|
1216
|
-
.m(function (Command, cs, config, o) {
|
|
1217
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1218
|
-
})
|
|
1219
|
-
.s("BackupOnPremises_v20210101", "TagResource", {})
|
|
1220
|
-
.n("BackupGatewayClient", "TagResourceCommand")
|
|
1221
|
-
.sc(TagResource$)
|
|
1222
|
-
.build() {
|
|
1048
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1223
1049
|
}
|
|
1224
1050
|
|
|
1225
|
-
class TestHypervisorConfigurationCommand extends
|
|
1226
|
-
.classBuilder()
|
|
1227
|
-
.ep(commonParams)
|
|
1228
|
-
.m(function (Command, cs, config, o) {
|
|
1229
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1230
|
-
})
|
|
1231
|
-
.s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {})
|
|
1232
|
-
.n("BackupGatewayClient", "TestHypervisorConfigurationCommand")
|
|
1233
|
-
.sc(TestHypervisorConfiguration$)
|
|
1234
|
-
.build() {
|
|
1051
|
+
class TestHypervisorConfigurationCommand extends command(_ep0, _mw0, "TestHypervisorConfiguration", TestHypervisorConfiguration$) {
|
|
1235
1052
|
}
|
|
1236
1053
|
|
|
1237
|
-
class UntagResourceCommand extends
|
|
1238
|
-
.classBuilder()
|
|
1239
|
-
.ep(commonParams)
|
|
1240
|
-
.m(function (Command, cs, config, o) {
|
|
1241
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1242
|
-
})
|
|
1243
|
-
.s("BackupOnPremises_v20210101", "UntagResource", {})
|
|
1244
|
-
.n("BackupGatewayClient", "UntagResourceCommand")
|
|
1245
|
-
.sc(UntagResource$)
|
|
1246
|
-
.build() {
|
|
1054
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1247
1055
|
}
|
|
1248
1056
|
|
|
1249
|
-
class UpdateGatewayInformationCommand extends
|
|
1250
|
-
.classBuilder()
|
|
1251
|
-
.ep(commonParams)
|
|
1252
|
-
.m(function (Command, cs, config, o) {
|
|
1253
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1254
|
-
})
|
|
1255
|
-
.s("BackupOnPremises_v20210101", "UpdateGatewayInformation", {})
|
|
1256
|
-
.n("BackupGatewayClient", "UpdateGatewayInformationCommand")
|
|
1257
|
-
.sc(UpdateGatewayInformation$)
|
|
1258
|
-
.build() {
|
|
1057
|
+
class UpdateGatewayInformationCommand extends command(_ep0, _mw0, "UpdateGatewayInformation", UpdateGatewayInformation$) {
|
|
1259
1058
|
}
|
|
1260
1059
|
|
|
1261
|
-
class UpdateGatewaySoftwareNowCommand extends
|
|
1262
|
-
.classBuilder()
|
|
1263
|
-
.ep(commonParams)
|
|
1264
|
-
.m(function (Command, cs, config, o) {
|
|
1265
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1266
|
-
})
|
|
1267
|
-
.s("BackupOnPremises_v20210101", "UpdateGatewaySoftwareNow", {})
|
|
1268
|
-
.n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand")
|
|
1269
|
-
.sc(UpdateGatewaySoftwareNow$)
|
|
1270
|
-
.build() {
|
|
1060
|
+
class UpdateGatewaySoftwareNowCommand extends command(_ep0, _mw0, "UpdateGatewaySoftwareNow", UpdateGatewaySoftwareNow$) {
|
|
1271
1061
|
}
|
|
1272
1062
|
|
|
1273
|
-
class UpdateHypervisorCommand extends
|
|
1274
|
-
.classBuilder()
|
|
1275
|
-
.ep(commonParams)
|
|
1276
|
-
.m(function (Command, cs, config, o) {
|
|
1277
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1278
|
-
})
|
|
1279
|
-
.s("BackupOnPremises_v20210101", "UpdateHypervisor", {})
|
|
1280
|
-
.n("BackupGatewayClient", "UpdateHypervisorCommand")
|
|
1281
|
-
.sc(UpdateHypervisor$)
|
|
1282
|
-
.build() {
|
|
1063
|
+
class UpdateHypervisorCommand extends command(_ep0, _mw0, "UpdateHypervisor", UpdateHypervisor$) {
|
|
1283
1064
|
}
|
|
1284
1065
|
|
|
1285
1066
|
const paginateListGateways = createPaginator(BackupGatewayClient, ListGatewaysCommand, "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, "BackupOnPremises_v20210101", "BackupGatewayClient", 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 { AssociateGatewayToServer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateGatewayToServerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
|
|
13
|
-
.n("BackupGatewayClient", "AssociateGatewayToServerCommand")
|
|
14
|
-
.sc(AssociateGatewayToServer$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateGatewayToServerCommand extends command(_ep0, _mw0, "AssociateGatewayToServer", AssociateGatewayToServer$) {
|
|
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 { CreateGateway$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateGatewayCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "CreateGateway", {})
|
|
13
|
-
.n("BackupGatewayClient", "CreateGatewayCommand")
|
|
14
|
-
.sc(CreateGateway$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateGatewayCommand extends command(_ep0, _mw0, "CreateGateway", CreateGateway$) {
|
|
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 { DeleteGateway$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteGatewayCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "DeleteGateway", {})
|
|
13
|
-
.n("BackupGatewayClient", "DeleteGatewayCommand")
|
|
14
|
-
.sc(DeleteGateway$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteGatewayCommand extends command(_ep0, _mw0, "DeleteGateway", DeleteGateway$) {
|
|
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 { DeleteHypervisor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteHypervisorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
|
|
13
|
-
.n("BackupGatewayClient", "DeleteHypervisorCommand")
|
|
14
|
-
.sc(DeleteHypervisor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteHypervisorCommand extends command(_ep0, _mw0, "DeleteHypervisor", DeleteHypervisor$) {
|
|
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 { DisassociateGatewayFromServer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateGatewayFromServerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
|
|
13
|
-
.n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
|
|
14
|
-
.sc(DisassociateGatewayFromServer$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateGatewayFromServerCommand extends command(_ep0, _mw0, "DisassociateGatewayFromServer", DisassociateGatewayFromServer$) {
|
|
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 { GetBandwidthRateLimitSchedule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBandwidthRateLimitScheduleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
|
|
13
|
-
.n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
|
|
14
|
-
.sc(GetBandwidthRateLimitSchedule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "GetBandwidthRateLimitSchedule", GetBandwidthRateLimitSchedule$) {
|
|
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 { GetGateway$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetGatewayCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "GetGateway", {})
|
|
13
|
-
.n("BackupGatewayClient", "GetGatewayCommand")
|
|
14
|
-
.sc(GetGateway$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetGatewayCommand extends command(_ep0, _mw0, "GetGateway", GetGateway$) {
|
|
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 { GetHypervisor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetHypervisorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "GetHypervisor", {})
|
|
13
|
-
.n("BackupGatewayClient", "GetHypervisorCommand")
|
|
14
|
-
.sc(GetHypervisor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetHypervisorCommand extends command(_ep0, _mw0, "GetHypervisor", GetHypervisor$) {
|
|
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 { GetHypervisorPropertyMappings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetHypervisorPropertyMappingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
|
|
13
|
-
.n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
|
|
14
|
-
.sc(GetHypervisorPropertyMappings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "GetHypervisorPropertyMappings", GetHypervisorPropertyMappings$) {
|
|
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 { GetVirtualMachine$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetVirtualMachineCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
|
|
13
|
-
.n("BackupGatewayClient", "GetVirtualMachineCommand")
|
|
14
|
-
.sc(GetVirtualMachine$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetVirtualMachineCommand extends command(_ep0, _mw0, "GetVirtualMachine", GetVirtualMachine$) {
|
|
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 { ImportHypervisorConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportHypervisorConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
|
|
13
|
-
.n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
|
|
14
|
-
.sc(ImportHypervisorConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportHypervisorConfigurationCommand extends command(_ep0, _mw0, "ImportHypervisorConfiguration", ImportHypervisorConfiguration$) {
|
|
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 { ListGateways$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListGatewaysCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "ListGateways", {})
|
|
13
|
-
.n("BackupGatewayClient", "ListGatewaysCommand")
|
|
14
|
-
.sc(ListGateways$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListGatewaysCommand extends command(_ep0, _mw0, "ListGateways", ListGateways$) {
|
|
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 { ListHypervisors$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListHypervisorsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("BackupOnPremises_v20210101", "ListHypervisors", {})
|
|
13
|
-
.n("BackupGatewayClient", "ListHypervisorsCommand")
|
|
14
|
-
.sc(ListHypervisors$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListHypervisorsCommand extends command(_ep0, _mw0, "ListHypervisors", ListHypervisors$) {
|
|
16
4
|
}
|