@aws-sdk/client-backup-gateway 3.315.0 → 3.319.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/BackupGateway.js +29 -350
- package/dist-es/BackupGateway.js +29 -350
- package/dist-types/BackupGateway.d.ts +40 -90
- package/dist-types/ts3.4/BackupGateway.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BackupGateway = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const BackupGatewayClient_1 = require("./BackupGatewayClient");
|
|
5
6
|
const AssociateGatewayToServerCommand_1 = require("./commands/AssociateGatewayToServerCommand");
|
|
6
7
|
const CreateGatewayCommand_1 = require("./commands/CreateGatewayCommand");
|
|
@@ -27,356 +28,34 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
27
28
|
const UpdateGatewayInformationCommand_1 = require("./commands/UpdateGatewayInformationCommand");
|
|
28
29
|
const UpdateGatewaySoftwareNowCommand_1 = require("./commands/UpdateGatewaySoftwareNowCommand");
|
|
29
30
|
const UpdateHypervisorCommand_1 = require("./commands/UpdateHypervisorCommand");
|
|
31
|
+
const commands = {
|
|
32
|
+
AssociateGatewayToServerCommand: AssociateGatewayToServerCommand_1.AssociateGatewayToServerCommand,
|
|
33
|
+
CreateGatewayCommand: CreateGatewayCommand_1.CreateGatewayCommand,
|
|
34
|
+
DeleteGatewayCommand: DeleteGatewayCommand_1.DeleteGatewayCommand,
|
|
35
|
+
DeleteHypervisorCommand: DeleteHypervisorCommand_1.DeleteHypervisorCommand,
|
|
36
|
+
DisassociateGatewayFromServerCommand: DisassociateGatewayFromServerCommand_1.DisassociateGatewayFromServerCommand,
|
|
37
|
+
GetBandwidthRateLimitScheduleCommand: GetBandwidthRateLimitScheduleCommand_1.GetBandwidthRateLimitScheduleCommand,
|
|
38
|
+
GetGatewayCommand: GetGatewayCommand_1.GetGatewayCommand,
|
|
39
|
+
GetHypervisorCommand: GetHypervisorCommand_1.GetHypervisorCommand,
|
|
40
|
+
GetHypervisorPropertyMappingsCommand: GetHypervisorPropertyMappingsCommand_1.GetHypervisorPropertyMappingsCommand,
|
|
41
|
+
GetVirtualMachineCommand: GetVirtualMachineCommand_1.GetVirtualMachineCommand,
|
|
42
|
+
ImportHypervisorConfigurationCommand: ImportHypervisorConfigurationCommand_1.ImportHypervisorConfigurationCommand,
|
|
43
|
+
ListGatewaysCommand: ListGatewaysCommand_1.ListGatewaysCommand,
|
|
44
|
+
ListHypervisorsCommand: ListHypervisorsCommand_1.ListHypervisorsCommand,
|
|
45
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
46
|
+
ListVirtualMachinesCommand: ListVirtualMachinesCommand_1.ListVirtualMachinesCommand,
|
|
47
|
+
PutBandwidthRateLimitScheduleCommand: PutBandwidthRateLimitScheduleCommand_1.PutBandwidthRateLimitScheduleCommand,
|
|
48
|
+
PutHypervisorPropertyMappingsCommand: PutHypervisorPropertyMappingsCommand_1.PutHypervisorPropertyMappingsCommand,
|
|
49
|
+
PutMaintenanceStartTimeCommand: PutMaintenanceStartTimeCommand_1.PutMaintenanceStartTimeCommand,
|
|
50
|
+
StartVirtualMachinesMetadataSyncCommand: StartVirtualMachinesMetadataSyncCommand_1.StartVirtualMachinesMetadataSyncCommand,
|
|
51
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
52
|
+
TestHypervisorConfigurationCommand: TestHypervisorConfigurationCommand_1.TestHypervisorConfigurationCommand,
|
|
53
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
54
|
+
UpdateGatewayInformationCommand: UpdateGatewayInformationCommand_1.UpdateGatewayInformationCommand,
|
|
55
|
+
UpdateGatewaySoftwareNowCommand: UpdateGatewaySoftwareNowCommand_1.UpdateGatewaySoftwareNowCommand,
|
|
56
|
+
UpdateHypervisorCommand: UpdateHypervisorCommand_1.UpdateHypervisorCommand,
|
|
57
|
+
};
|
|
30
58
|
class BackupGateway extends BackupGatewayClient_1.BackupGatewayClient {
|
|
31
|
-
associateGatewayToServer(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new AssociateGatewayToServerCommand_1.AssociateGatewayToServerCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
createGateway(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new CreateGatewayCommand_1.CreateGatewayCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
deleteGateway(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new DeleteGatewayCommand_1.DeleteGatewayCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
deleteHypervisor(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new DeleteHypervisorCommand_1.DeleteHypervisorCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
disassociateGatewayFromServer(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new DisassociateGatewayFromServerCommand_1.DisassociateGatewayFromServerCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
getBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new GetBandwidthRateLimitScheduleCommand_1.GetBandwidthRateLimitScheduleCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
getGateway(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new GetGatewayCommand_1.GetGatewayCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
getHypervisor(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new GetHypervisorCommand_1.GetHypervisorCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
getHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new GetHypervisorPropertyMappingsCommand_1.GetHypervisorPropertyMappingsCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
getVirtualMachine(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new GetVirtualMachineCommand_1.GetVirtualMachineCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
importHypervisorConfiguration(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new ImportHypervisorConfigurationCommand_1.ImportHypervisorConfigurationCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
listGateways(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new ListGatewaysCommand_1.ListGatewaysCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
listHypervisors(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new ListHypervisorsCommand_1.ListHypervisorsCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
listVirtualMachines(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new ListVirtualMachinesCommand_1.ListVirtualMachinesCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
putBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new PutBandwidthRateLimitScheduleCommand_1.PutBandwidthRateLimitScheduleCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
putHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new PutHypervisorPropertyMappingsCommand_1.PutHypervisorPropertyMappingsCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
putMaintenanceStartTime(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new PutMaintenanceStartTimeCommand_1.PutMaintenanceStartTimeCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
startVirtualMachinesMetadataSync(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new StartVirtualMachinesMetadataSyncCommand_1.StartVirtualMachinesMetadataSyncCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
tagResource(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
testHypervisorConfiguration(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new TestHypervisorConfigurationCommand_1.TestHypervisorConfigurationCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
untagResource(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
updateGatewayInformation(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new UpdateGatewayInformationCommand_1.UpdateGatewayInformationCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
updateGatewaySoftwareNow(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new UpdateGatewaySoftwareNowCommand_1.UpdateGatewaySoftwareNowCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
updateHypervisor(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new UpdateHypervisorCommand_1.UpdateHypervisorCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
59
|
}
|
|
382
60
|
exports.BackupGateway = BackupGateway;
|
|
61
|
+
(0, smithy_client_1.createAggregatedClient)(commands, BackupGateway);
|
package/dist-es/BackupGateway.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { BackupGatewayClient } from "./BackupGatewayClient";
|
|
2
3
|
import { AssociateGatewayToServerCommand, } from "./commands/AssociateGatewayToServerCommand";
|
|
3
4
|
import { CreateGatewayCommand, } from "./commands/CreateGatewayCommand";
|
|
@@ -24,355 +25,33 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
24
25
|
import { UpdateGatewayInformationCommand, } from "./commands/UpdateGatewayInformationCommand";
|
|
25
26
|
import { UpdateGatewaySoftwareNowCommand, } from "./commands/UpdateGatewaySoftwareNowCommand";
|
|
26
27
|
import { UpdateHypervisorCommand, } from "./commands/UpdateHypervisorCommand";
|
|
28
|
+
const commands = {
|
|
29
|
+
AssociateGatewayToServerCommand,
|
|
30
|
+
CreateGatewayCommand,
|
|
31
|
+
DeleteGatewayCommand,
|
|
32
|
+
DeleteHypervisorCommand,
|
|
33
|
+
DisassociateGatewayFromServerCommand,
|
|
34
|
+
GetBandwidthRateLimitScheduleCommand,
|
|
35
|
+
GetGatewayCommand,
|
|
36
|
+
GetHypervisorCommand,
|
|
37
|
+
GetHypervisorPropertyMappingsCommand,
|
|
38
|
+
GetVirtualMachineCommand,
|
|
39
|
+
ImportHypervisorConfigurationCommand,
|
|
40
|
+
ListGatewaysCommand,
|
|
41
|
+
ListHypervisorsCommand,
|
|
42
|
+
ListTagsForResourceCommand,
|
|
43
|
+
ListVirtualMachinesCommand,
|
|
44
|
+
PutBandwidthRateLimitScheduleCommand,
|
|
45
|
+
PutHypervisorPropertyMappingsCommand,
|
|
46
|
+
PutMaintenanceStartTimeCommand,
|
|
47
|
+
StartVirtualMachinesMetadataSyncCommand,
|
|
48
|
+
TagResourceCommand,
|
|
49
|
+
TestHypervisorConfigurationCommand,
|
|
50
|
+
UntagResourceCommand,
|
|
51
|
+
UpdateGatewayInformationCommand,
|
|
52
|
+
UpdateGatewaySoftwareNowCommand,
|
|
53
|
+
UpdateHypervisorCommand,
|
|
54
|
+
};
|
|
27
55
|
export class BackupGateway extends BackupGatewayClient {
|
|
28
|
-
associateGatewayToServer(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new AssociateGatewayToServerCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
createGateway(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new CreateGatewayCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
deleteGateway(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new DeleteGatewayCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
deleteHypervisor(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new DeleteHypervisorCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
disassociateGatewayFromServer(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new DisassociateGatewayFromServerCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
getBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new GetBandwidthRateLimitScheduleCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
getGateway(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new GetGatewayCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
getHypervisor(args, optionsOrCb, cb) {
|
|
127
|
-
const command = new GetHypervisorCommand(args);
|
|
128
|
-
if (typeof optionsOrCb === "function") {
|
|
129
|
-
this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
else if (typeof cb === "function") {
|
|
132
|
-
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
return this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
getHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
141
|
-
const command = new GetHypervisorPropertyMappingsCommand(args);
|
|
142
|
-
if (typeof optionsOrCb === "function") {
|
|
143
|
-
this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
else if (typeof cb === "function") {
|
|
146
|
-
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
return this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
getVirtualMachine(args, optionsOrCb, cb) {
|
|
155
|
-
const command = new GetVirtualMachineCommand(args);
|
|
156
|
-
if (typeof optionsOrCb === "function") {
|
|
157
|
-
this.send(command, optionsOrCb);
|
|
158
|
-
}
|
|
159
|
-
else if (typeof cb === "function") {
|
|
160
|
-
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
return this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
importHypervisorConfiguration(args, optionsOrCb, cb) {
|
|
169
|
-
const command = new ImportHypervisorConfigurationCommand(args);
|
|
170
|
-
if (typeof optionsOrCb === "function") {
|
|
171
|
-
this.send(command, optionsOrCb);
|
|
172
|
-
}
|
|
173
|
-
else if (typeof cb === "function") {
|
|
174
|
-
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
return this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
listGateways(args, optionsOrCb, cb) {
|
|
183
|
-
const command = new ListGatewaysCommand(args);
|
|
184
|
-
if (typeof optionsOrCb === "function") {
|
|
185
|
-
this.send(command, optionsOrCb);
|
|
186
|
-
}
|
|
187
|
-
else if (typeof cb === "function") {
|
|
188
|
-
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
return this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
listHypervisors(args, optionsOrCb, cb) {
|
|
197
|
-
const command = new ListHypervisorsCommand(args);
|
|
198
|
-
if (typeof optionsOrCb === "function") {
|
|
199
|
-
this.send(command, optionsOrCb);
|
|
200
|
-
}
|
|
201
|
-
else if (typeof cb === "function") {
|
|
202
|
-
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
return this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
211
|
-
const command = new ListTagsForResourceCommand(args);
|
|
212
|
-
if (typeof optionsOrCb === "function") {
|
|
213
|
-
this.send(command, optionsOrCb);
|
|
214
|
-
}
|
|
215
|
-
else if (typeof cb === "function") {
|
|
216
|
-
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
219
|
-
}
|
|
220
|
-
else {
|
|
221
|
-
return this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
listVirtualMachines(args, optionsOrCb, cb) {
|
|
225
|
-
const command = new ListVirtualMachinesCommand(args);
|
|
226
|
-
if (typeof optionsOrCb === "function") {
|
|
227
|
-
this.send(command, optionsOrCb);
|
|
228
|
-
}
|
|
229
|
-
else if (typeof cb === "function") {
|
|
230
|
-
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
return this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
putBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
239
|
-
const command = new PutBandwidthRateLimitScheduleCommand(args);
|
|
240
|
-
if (typeof optionsOrCb === "function") {
|
|
241
|
-
this.send(command, optionsOrCb);
|
|
242
|
-
}
|
|
243
|
-
else if (typeof cb === "function") {
|
|
244
|
-
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
247
|
-
}
|
|
248
|
-
else {
|
|
249
|
-
return this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
putHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
253
|
-
const command = new PutHypervisorPropertyMappingsCommand(args);
|
|
254
|
-
if (typeof optionsOrCb === "function") {
|
|
255
|
-
this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
else if (typeof cb === "function") {
|
|
258
|
-
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
}
|
|
262
|
-
else {
|
|
263
|
-
return this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
putMaintenanceStartTime(args, optionsOrCb, cb) {
|
|
267
|
-
const command = new PutMaintenanceStartTimeCommand(args);
|
|
268
|
-
if (typeof optionsOrCb === "function") {
|
|
269
|
-
this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
else if (typeof cb === "function") {
|
|
272
|
-
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
275
|
-
}
|
|
276
|
-
else {
|
|
277
|
-
return this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
startVirtualMachinesMetadataSync(args, optionsOrCb, cb) {
|
|
281
|
-
const command = new StartVirtualMachinesMetadataSyncCommand(args);
|
|
282
|
-
if (typeof optionsOrCb === "function") {
|
|
283
|
-
this.send(command, optionsOrCb);
|
|
284
|
-
}
|
|
285
|
-
else if (typeof cb === "function") {
|
|
286
|
-
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
return this.send(command, optionsOrCb);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
tagResource(args, optionsOrCb, cb) {
|
|
295
|
-
const command = new TagResourceCommand(args);
|
|
296
|
-
if (typeof optionsOrCb === "function") {
|
|
297
|
-
this.send(command, optionsOrCb);
|
|
298
|
-
}
|
|
299
|
-
else if (typeof cb === "function") {
|
|
300
|
-
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
return this.send(command, optionsOrCb);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
testHypervisorConfiguration(args, optionsOrCb, cb) {
|
|
309
|
-
const command = new TestHypervisorConfigurationCommand(args);
|
|
310
|
-
if (typeof optionsOrCb === "function") {
|
|
311
|
-
this.send(command, optionsOrCb);
|
|
312
|
-
}
|
|
313
|
-
else if (typeof cb === "function") {
|
|
314
|
-
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
317
|
-
}
|
|
318
|
-
else {
|
|
319
|
-
return this.send(command, optionsOrCb);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
untagResource(args, optionsOrCb, cb) {
|
|
323
|
-
const command = new UntagResourceCommand(args);
|
|
324
|
-
if (typeof optionsOrCb === "function") {
|
|
325
|
-
this.send(command, optionsOrCb);
|
|
326
|
-
}
|
|
327
|
-
else if (typeof cb === "function") {
|
|
328
|
-
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
331
|
-
}
|
|
332
|
-
else {
|
|
333
|
-
return this.send(command, optionsOrCb);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
updateGatewayInformation(args, optionsOrCb, cb) {
|
|
337
|
-
const command = new UpdateGatewayInformationCommand(args);
|
|
338
|
-
if (typeof optionsOrCb === "function") {
|
|
339
|
-
this.send(command, optionsOrCb);
|
|
340
|
-
}
|
|
341
|
-
else if (typeof cb === "function") {
|
|
342
|
-
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
344
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
345
|
-
}
|
|
346
|
-
else {
|
|
347
|
-
return this.send(command, optionsOrCb);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
updateGatewaySoftwareNow(args, optionsOrCb, cb) {
|
|
351
|
-
const command = new UpdateGatewaySoftwareNowCommand(args);
|
|
352
|
-
if (typeof optionsOrCb === "function") {
|
|
353
|
-
this.send(command, optionsOrCb);
|
|
354
|
-
}
|
|
355
|
-
else if (typeof cb === "function") {
|
|
356
|
-
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
358
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
359
|
-
}
|
|
360
|
-
else {
|
|
361
|
-
return this.send(command, optionsOrCb);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
updateHypervisor(args, optionsOrCb, cb) {
|
|
365
|
-
const command = new UpdateHypervisorCommand(args);
|
|
366
|
-
if (typeof optionsOrCb === "function") {
|
|
367
|
-
this.send(command, optionsOrCb);
|
|
368
|
-
}
|
|
369
|
-
else if (typeof cb === "function") {
|
|
370
|
-
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
373
|
-
}
|
|
374
|
-
else {
|
|
375
|
-
return this.send(command, optionsOrCb);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
56
|
}
|
|
57
|
+
createAggregatedClient(commands, BackupGateway);
|
|
@@ -25,219 +25,169 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
25
25
|
import { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "./commands/UpdateGatewayInformationCommand";
|
|
26
26
|
import { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "./commands/UpdateGatewaySoftwareNowCommand";
|
|
27
27
|
import { UpdateHypervisorCommandInput, UpdateHypervisorCommandOutput } from "./commands/UpdateHypervisorCommand";
|
|
28
|
-
|
|
29
|
-
* @public
|
|
30
|
-
* <fullname>Backup gateway</fullname>
|
|
31
|
-
* <p>Backup gateway connects Backup to your hypervisor, so you can
|
|
32
|
-
* create, store, and restore backups of your virtual machines (VMs) anywhere, whether
|
|
33
|
-
* on-premises or in the VMware Cloud (VMC) on Amazon Web Services.</p>
|
|
34
|
-
* <p>Add on-premises resources by connecting to a hypervisor through a gateway. Backup will automatically discover the resources in your hypervisor.</p>
|
|
35
|
-
* <p>Use Backup to assign virtual or on-premises resources to a backup plan, or run
|
|
36
|
-
* on-demand backups. Once you have backed up your resources, you can view them and restore them
|
|
37
|
-
* like any resource supported by Backup.</p>
|
|
38
|
-
* <p>To download the Amazon Web Services software to get started, navigate to the Backup console, choose <b>Gateways</b>, then choose <b>Create gateway</b>.</p>
|
|
39
|
-
*/
|
|
40
|
-
export declare class BackupGateway extends BackupGatewayClient {
|
|
28
|
+
export interface BackupGateway {
|
|
41
29
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Associates a backup gateway with your server. After you complete the association process,
|
|
44
|
-
* you can back up and restore your VMs through the gateway.</p>
|
|
30
|
+
* @see {@link AssociateGatewayToServerCommand}
|
|
45
31
|
*/
|
|
46
32
|
associateGatewayToServer(args: AssociateGatewayToServerCommandInput, options?: __HttpHandlerOptions): Promise<AssociateGatewayToServerCommandOutput>;
|
|
47
33
|
associateGatewayToServer(args: AssociateGatewayToServerCommandInput, cb: (err: any, data?: AssociateGatewayToServerCommandOutput) => void): void;
|
|
48
34
|
associateGatewayToServer(args: AssociateGatewayToServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateGatewayToServerCommandOutput) => void): void;
|
|
49
35
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>Creates a backup gateway. After you create a gateway, you can associate it with a server
|
|
52
|
-
* using the <code>AssociateGatewayToServer</code> operation.</p>
|
|
36
|
+
* @see {@link CreateGatewayCommand}
|
|
53
37
|
*/
|
|
54
38
|
createGateway(args: CreateGatewayCommandInput, options?: __HttpHandlerOptions): Promise<CreateGatewayCommandOutput>;
|
|
55
39
|
createGateway(args: CreateGatewayCommandInput, cb: (err: any, data?: CreateGatewayCommandOutput) => void): void;
|
|
56
40
|
createGateway(args: CreateGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGatewayCommandOutput) => void): void;
|
|
57
41
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* <p>Deletes a backup gateway.</p>
|
|
42
|
+
* @see {@link DeleteGatewayCommand}
|
|
60
43
|
*/
|
|
61
44
|
deleteGateway(args: DeleteGatewayCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGatewayCommandOutput>;
|
|
62
45
|
deleteGateway(args: DeleteGatewayCommandInput, cb: (err: any, data?: DeleteGatewayCommandOutput) => void): void;
|
|
63
46
|
deleteGateway(args: DeleteGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGatewayCommandOutput) => void): void;
|
|
64
47
|
/**
|
|
65
|
-
* @
|
|
66
|
-
* <p>Deletes a hypervisor.</p>
|
|
48
|
+
* @see {@link DeleteHypervisorCommand}
|
|
67
49
|
*/
|
|
68
50
|
deleteHypervisor(args: DeleteHypervisorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHypervisorCommandOutput>;
|
|
69
51
|
deleteHypervisor(args: DeleteHypervisorCommandInput, cb: (err: any, data?: DeleteHypervisorCommandOutput) => void): void;
|
|
70
52
|
deleteHypervisor(args: DeleteHypervisorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHypervisorCommandOutput) => void): void;
|
|
71
53
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* <p>Disassociates a backup gateway from the specified server. After the disassociation process
|
|
74
|
-
* finishes, the gateway can no longer access the virtual machines on the server.</p>
|
|
54
|
+
* @see {@link DisassociateGatewayFromServerCommand}
|
|
75
55
|
*/
|
|
76
56
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateGatewayFromServerCommandOutput>;
|
|
77
57
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, cb: (err: any, data?: DisassociateGatewayFromServerCommandOutput) => void): void;
|
|
78
58
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateGatewayFromServerCommandOutput) => void): void;
|
|
79
59
|
/**
|
|
80
|
-
* @
|
|
81
|
-
* <p>Retrieves the bandwidth rate limit schedule for a specified gateway.
|
|
82
|
-
* By default, gateways do not have bandwidth rate limit schedules, which means
|
|
83
|
-
* no bandwidth rate limiting is in effect. Use this to get a gateway's
|
|
84
|
-
* bandwidth rate limit schedule.</p>
|
|
60
|
+
* @see {@link GetBandwidthRateLimitScheduleCommand}
|
|
85
61
|
*/
|
|
86
62
|
getBandwidthRateLimitSchedule(args: GetBandwidthRateLimitScheduleCommandInput, options?: __HttpHandlerOptions): Promise<GetBandwidthRateLimitScheduleCommandOutput>;
|
|
87
63
|
getBandwidthRateLimitSchedule(args: GetBandwidthRateLimitScheduleCommandInput, cb: (err: any, data?: GetBandwidthRateLimitScheduleCommandOutput) => void): void;
|
|
88
64
|
getBandwidthRateLimitSchedule(args: GetBandwidthRateLimitScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBandwidthRateLimitScheduleCommandOutput) => void): void;
|
|
89
65
|
/**
|
|
90
|
-
* @
|
|
91
|
-
* <p>By providing the ARN (Amazon Resource Name), this
|
|
92
|
-
* API returns the gateway.</p>
|
|
66
|
+
* @see {@link GetGatewayCommand}
|
|
93
67
|
*/
|
|
94
68
|
getGateway(args: GetGatewayCommandInput, options?: __HttpHandlerOptions): Promise<GetGatewayCommandOutput>;
|
|
95
69
|
getGateway(args: GetGatewayCommandInput, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
|
|
96
70
|
getGateway(args: GetGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
|
|
97
71
|
/**
|
|
98
|
-
* @
|
|
99
|
-
* <p>This action requests information about the specified hypervisor to which the gateway will connect.
|
|
100
|
-
* A hypervisor is hardware, software, or firmware that creates and manages virtual machines,
|
|
101
|
-
* and allocates resources to them.</p>
|
|
72
|
+
* @see {@link GetHypervisorCommand}
|
|
102
73
|
*/
|
|
103
74
|
getHypervisor(args: GetHypervisorCommandInput, options?: __HttpHandlerOptions): Promise<GetHypervisorCommandOutput>;
|
|
104
75
|
getHypervisor(args: GetHypervisorCommandInput, cb: (err: any, data?: GetHypervisorCommandOutput) => void): void;
|
|
105
76
|
getHypervisor(args: GetHypervisorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHypervisorCommandOutput) => void): void;
|
|
106
77
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>This action retrieves the property mappings for the specified hypervisor.
|
|
109
|
-
* A hypervisor property mapping displays the relationship of entity properties
|
|
110
|
-
* available from the on-premises hypervisor to the properties available in Amazon Web Services.</p>
|
|
78
|
+
* @see {@link GetHypervisorPropertyMappingsCommand}
|
|
111
79
|
*/
|
|
112
80
|
getHypervisorPropertyMappings(args: GetHypervisorPropertyMappingsCommandInput, options?: __HttpHandlerOptions): Promise<GetHypervisorPropertyMappingsCommandOutput>;
|
|
113
81
|
getHypervisorPropertyMappings(args: GetHypervisorPropertyMappingsCommandInput, cb: (err: any, data?: GetHypervisorPropertyMappingsCommandOutput) => void): void;
|
|
114
82
|
getHypervisorPropertyMappings(args: GetHypervisorPropertyMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHypervisorPropertyMappingsCommandOutput) => void): void;
|
|
115
83
|
/**
|
|
116
|
-
* @
|
|
117
|
-
* <p>By providing the ARN (Amazon Resource Name), this API returns the virtual machine.</p>
|
|
84
|
+
* @see {@link GetVirtualMachineCommand}
|
|
118
85
|
*/
|
|
119
86
|
getVirtualMachine(args: GetVirtualMachineCommandInput, options?: __HttpHandlerOptions): Promise<GetVirtualMachineCommandOutput>;
|
|
120
87
|
getVirtualMachine(args: GetVirtualMachineCommandInput, cb: (err: any, data?: GetVirtualMachineCommandOutput) => void): void;
|
|
121
88
|
getVirtualMachine(args: GetVirtualMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVirtualMachineCommandOutput) => void): void;
|
|
122
89
|
/**
|
|
123
|
-
* @
|
|
124
|
-
* <p>Connect to a hypervisor by importing its configuration.</p>
|
|
90
|
+
* @see {@link ImportHypervisorConfigurationCommand}
|
|
125
91
|
*/
|
|
126
92
|
importHypervisorConfiguration(args: ImportHypervisorConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ImportHypervisorConfigurationCommandOutput>;
|
|
127
93
|
importHypervisorConfiguration(args: ImportHypervisorConfigurationCommandInput, cb: (err: any, data?: ImportHypervisorConfigurationCommandOutput) => void): void;
|
|
128
94
|
importHypervisorConfiguration(args: ImportHypervisorConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportHypervisorConfigurationCommandOutput) => void): void;
|
|
129
95
|
/**
|
|
130
|
-
* @
|
|
131
|
-
* <p>Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).</p>
|
|
96
|
+
* @see {@link ListGatewaysCommand}
|
|
132
97
|
*/
|
|
133
98
|
listGateways(args: ListGatewaysCommandInput, options?: __HttpHandlerOptions): Promise<ListGatewaysCommandOutput>;
|
|
134
99
|
listGateways(args: ListGatewaysCommandInput, cb: (err: any, data?: ListGatewaysCommandOutput) => void): void;
|
|
135
100
|
listGateways(args: ListGatewaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGatewaysCommandOutput) => void): void;
|
|
136
101
|
/**
|
|
137
|
-
* @
|
|
138
|
-
* <p>Lists your hypervisors.</p>
|
|
102
|
+
* @see {@link ListHypervisorsCommand}
|
|
139
103
|
*/
|
|
140
104
|
listHypervisors(args: ListHypervisorsCommandInput, options?: __HttpHandlerOptions): Promise<ListHypervisorsCommandOutput>;
|
|
141
105
|
listHypervisors(args: ListHypervisorsCommandInput, cb: (err: any, data?: ListHypervisorsCommandOutput) => void): void;
|
|
142
106
|
listHypervisors(args: ListHypervisorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHypervisorsCommandOutput) => void): void;
|
|
143
107
|
/**
|
|
144
|
-
* @
|
|
145
|
-
* <p>Lists the tags applied to the resource identified by its Amazon Resource Name
|
|
146
|
-
* (ARN).</p>
|
|
108
|
+
* @see {@link ListTagsForResourceCommand}
|
|
147
109
|
*/
|
|
148
110
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
149
111
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
150
112
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
151
113
|
/**
|
|
152
|
-
* @
|
|
153
|
-
* <p>Lists your virtual machines.</p>
|
|
114
|
+
* @see {@link ListVirtualMachinesCommand}
|
|
154
115
|
*/
|
|
155
116
|
listVirtualMachines(args: ListVirtualMachinesCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualMachinesCommandOutput>;
|
|
156
117
|
listVirtualMachines(args: ListVirtualMachinesCommandInput, cb: (err: any, data?: ListVirtualMachinesCommandOutput) => void): void;
|
|
157
118
|
listVirtualMachines(args: ListVirtualMachinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualMachinesCommandOutput) => void): void;
|
|
158
119
|
/**
|
|
159
|
-
* @
|
|
160
|
-
* <p>This action sets the bandwidth rate limit schedule for a specified gateway.
|
|
161
|
-
* By default, gateways do not have a bandwidth rate limit schedule, which means
|
|
162
|
-
* no bandwidth rate limiting is in effect. Use this to initiate a
|
|
163
|
-
* gateway's bandwidth rate limit schedule.</p>
|
|
120
|
+
* @see {@link PutBandwidthRateLimitScheduleCommand}
|
|
164
121
|
*/
|
|
165
122
|
putBandwidthRateLimitSchedule(args: PutBandwidthRateLimitScheduleCommandInput, options?: __HttpHandlerOptions): Promise<PutBandwidthRateLimitScheduleCommandOutput>;
|
|
166
123
|
putBandwidthRateLimitSchedule(args: PutBandwidthRateLimitScheduleCommandInput, cb: (err: any, data?: PutBandwidthRateLimitScheduleCommandOutput) => void): void;
|
|
167
124
|
putBandwidthRateLimitSchedule(args: PutBandwidthRateLimitScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBandwidthRateLimitScheduleCommandOutput) => void): void;
|
|
168
125
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>This action sets the property mappings for the specified hypervisor.
|
|
171
|
-
* A hypervisor property mapping displays the relationship of entity properties
|
|
172
|
-
* available from the on-premises hypervisor to the properties available in Amazon Web Services.</p>
|
|
126
|
+
* @see {@link PutHypervisorPropertyMappingsCommand}
|
|
173
127
|
*/
|
|
174
128
|
putHypervisorPropertyMappings(args: PutHypervisorPropertyMappingsCommandInput, options?: __HttpHandlerOptions): Promise<PutHypervisorPropertyMappingsCommandOutput>;
|
|
175
129
|
putHypervisorPropertyMappings(args: PutHypervisorPropertyMappingsCommandInput, cb: (err: any, data?: PutHypervisorPropertyMappingsCommandOutput) => void): void;
|
|
176
130
|
putHypervisorPropertyMappings(args: PutHypervisorPropertyMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutHypervisorPropertyMappingsCommandOutput) => void): void;
|
|
177
131
|
/**
|
|
178
|
-
* @
|
|
179
|
-
* <p>Set the maintenance start time for a gateway.</p>
|
|
132
|
+
* @see {@link PutMaintenanceStartTimeCommand}
|
|
180
133
|
*/
|
|
181
134
|
putMaintenanceStartTime(args: PutMaintenanceStartTimeCommandInput, options?: __HttpHandlerOptions): Promise<PutMaintenanceStartTimeCommandOutput>;
|
|
182
135
|
putMaintenanceStartTime(args: PutMaintenanceStartTimeCommandInput, cb: (err: any, data?: PutMaintenanceStartTimeCommandOutput) => void): void;
|
|
183
136
|
putMaintenanceStartTime(args: PutMaintenanceStartTimeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMaintenanceStartTimeCommandOutput) => void): void;
|
|
184
137
|
/**
|
|
185
|
-
* @
|
|
186
|
-
* <p>This action sends a request to sync metadata across the specified virtual machines.</p>
|
|
138
|
+
* @see {@link StartVirtualMachinesMetadataSyncCommand}
|
|
187
139
|
*/
|
|
188
140
|
startVirtualMachinesMetadataSync(args: StartVirtualMachinesMetadataSyncCommandInput, options?: __HttpHandlerOptions): Promise<StartVirtualMachinesMetadataSyncCommandOutput>;
|
|
189
141
|
startVirtualMachinesMetadataSync(args: StartVirtualMachinesMetadataSyncCommandInput, cb: (err: any, data?: StartVirtualMachinesMetadataSyncCommandOutput) => void): void;
|
|
190
142
|
startVirtualMachinesMetadataSync(args: StartVirtualMachinesMetadataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartVirtualMachinesMetadataSyncCommandOutput) => void): void;
|
|
191
143
|
/**
|
|
192
|
-
* @
|
|
193
|
-
* <p>Tag the resource.</p>
|
|
144
|
+
* @see {@link TagResourceCommand}
|
|
194
145
|
*/
|
|
195
146
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
196
147
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
197
148
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
198
149
|
/**
|
|
199
|
-
* @
|
|
200
|
-
* <p>Tests your hypervisor configuration to validate that backup gateway can connect with the
|
|
201
|
-
* hypervisor and its resources.</p>
|
|
150
|
+
* @see {@link TestHypervisorConfigurationCommand}
|
|
202
151
|
*/
|
|
203
152
|
testHypervisorConfiguration(args: TestHypervisorConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<TestHypervisorConfigurationCommandOutput>;
|
|
204
153
|
testHypervisorConfiguration(args: TestHypervisorConfigurationCommandInput, cb: (err: any, data?: TestHypervisorConfigurationCommandOutput) => void): void;
|
|
205
154
|
testHypervisorConfiguration(args: TestHypervisorConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestHypervisorConfigurationCommandOutput) => void): void;
|
|
206
155
|
/**
|
|
207
|
-
* @
|
|
208
|
-
* <p>Removes tags from the resource.</p>
|
|
156
|
+
* @see {@link UntagResourceCommand}
|
|
209
157
|
*/
|
|
210
158
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
211
159
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
212
160
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
213
161
|
/**
|
|
214
|
-
* @
|
|
215
|
-
* <p>Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name
|
|
216
|
-
* (ARN) of the gateway in your request.</p>
|
|
162
|
+
* @see {@link UpdateGatewayInformationCommand}
|
|
217
163
|
*/
|
|
218
164
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGatewayInformationCommandOutput>;
|
|
219
165
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, cb: (err: any, data?: UpdateGatewayInformationCommandOutput) => void): void;
|
|
220
166
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGatewayInformationCommandOutput) => void): void;
|
|
221
167
|
/**
|
|
222
|
-
* @
|
|
223
|
-
* <p>Updates the gateway virtual machine (VM) software.
|
|
224
|
-
* The request immediately triggers the software update.</p>
|
|
225
|
-
* <note>
|
|
226
|
-
* <p>When you make this request, you get a <code>200 OK</code>
|
|
227
|
-
* success response immediately. However, it might take some
|
|
228
|
-
* time for the update to complete.</p>
|
|
229
|
-
* </note>
|
|
168
|
+
* @see {@link UpdateGatewaySoftwareNowCommand}
|
|
230
169
|
*/
|
|
231
170
|
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGatewaySoftwareNowCommandOutput>;
|
|
232
171
|
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, cb: (err: any, data?: UpdateGatewaySoftwareNowCommandOutput) => void): void;
|
|
233
172
|
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGatewaySoftwareNowCommandOutput) => void): void;
|
|
234
173
|
/**
|
|
235
|
-
* @
|
|
236
|
-
* <p>Updates a hypervisor metadata, including its host, username, and password. Specify which
|
|
237
|
-
* hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your
|
|
238
|
-
* request.</p>
|
|
174
|
+
* @see {@link UpdateHypervisorCommand}
|
|
239
175
|
*/
|
|
240
176
|
updateHypervisor(args: UpdateHypervisorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHypervisorCommandOutput>;
|
|
241
177
|
updateHypervisor(args: UpdateHypervisorCommandInput, cb: (err: any, data?: UpdateHypervisorCommandOutput) => void): void;
|
|
242
178
|
updateHypervisor(args: UpdateHypervisorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHypervisorCommandOutput) => void): void;
|
|
243
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* <fullname>Backup gateway</fullname>
|
|
183
|
+
* <p>Backup gateway connects Backup to your hypervisor, so you can
|
|
184
|
+
* create, store, and restore backups of your virtual machines (VMs) anywhere, whether
|
|
185
|
+
* on-premises or in the VMware Cloud (VMC) on Amazon Web Services.</p>
|
|
186
|
+
* <p>Add on-premises resources by connecting to a hypervisor through a gateway. Backup will automatically discover the resources in your hypervisor.</p>
|
|
187
|
+
* <p>Use Backup to assign virtual or on-premises resources to a backup plan, or run
|
|
188
|
+
* on-demand backups. Once you have backed up your resources, you can view them and restore them
|
|
189
|
+
* like any resource supported by Backup.</p>
|
|
190
|
+
* <p>To download the Amazon Web Services software to get started, navigate to the Backup console, choose <b>Gateways</b>, then choose <b>Create gateway</b>.</p>
|
|
191
|
+
*/
|
|
192
|
+
export declare class BackupGateway extends BackupGatewayClient implements BackupGateway {
|
|
193
|
+
}
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
UpdateHypervisorCommandInput,
|
|
101
101
|
UpdateHypervisorCommandOutput,
|
|
102
102
|
} from "./commands/UpdateHypervisorCommand";
|
|
103
|
-
export
|
|
103
|
+
export interface BackupGateway {
|
|
104
104
|
associateGatewayToServer(
|
|
105
105
|
args: AssociateGatewayToServerCommandInput,
|
|
106
106
|
options?: __HttpHandlerOptions
|
|
@@ -427,3 +427,6 @@ export declare class BackupGateway extends BackupGatewayClient {
|
|
|
427
427
|
cb: (err: any, data?: UpdateHypervisorCommandOutput) => void
|
|
428
428
|
): void;
|
|
429
429
|
}
|
|
430
|
+
export declare class BackupGateway
|
|
431
|
+
extends BackupGatewayClient
|
|
432
|
+
implements BackupGateway {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|