@aws-sdk/client-backup-gateway 3.99.0 → 3.105.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/CHANGELOG.md +30 -0
- package/dist-cjs/BackupGateway.js +30 -0
- package/dist-cjs/BackupGatewayClient.js +2 -0
- package/dist-cjs/commands/GetGatewayCommand.js +36 -0
- package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +31 -1
- package/dist-cjs/protocols/Aws_json1_0.js +143 -1
- package/dist-es/BackupGateway.js +30 -0
- package/dist-es/BackupGatewayClient.js +2 -0
- package/dist-es/commands/GetGatewayCommand.js +39 -0
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_json1_0.js +172 -1
- package/dist-types/BackupGateway.d.ts +21 -0
- package/dist-types/BackupGatewayClient.d.ts +4 -2
- package/dist-types/commands/GetGatewayCommand.d.ts +36 -0
- package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +41 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +103 -2
- package/dist-types/protocols/Aws_json1_0.d.ts +6 -0
- package/dist-types/ts3.4/BackupGateway.d.ts +10 -0
- package/dist-types/ts3.4/BackupGatewayClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetGatewayCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateGatewaySoftwareNowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +6 -0
- package/package.json +4 -3
|
@@ -111,6 +111,18 @@ export var DisassociateGatewayFromServerOutput;
|
|
|
111
111
|
(function (DisassociateGatewayFromServerOutput) {
|
|
112
112
|
DisassociateGatewayFromServerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
113
|
})(DisassociateGatewayFromServerOutput || (DisassociateGatewayFromServerOutput = {}));
|
|
114
|
+
export var GetGatewayInput;
|
|
115
|
+
(function (GetGatewayInput) {
|
|
116
|
+
GetGatewayInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
+
})(GetGatewayInput || (GetGatewayInput = {}));
|
|
118
|
+
export var GatewayDetails;
|
|
119
|
+
(function (GatewayDetails) {
|
|
120
|
+
GatewayDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
})(GatewayDetails || (GatewayDetails = {}));
|
|
122
|
+
export var GetGatewayOutput;
|
|
123
|
+
(function (GetGatewayOutput) {
|
|
124
|
+
GetGatewayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
})(GetGatewayOutput || (GetGatewayOutput = {}));
|
|
114
126
|
export var ListGatewaysInput;
|
|
115
127
|
(function (ListGatewaysInput) {
|
|
116
128
|
ListGatewaysInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -147,6 +159,14 @@ export var UpdateGatewayInformationOutput;
|
|
|
147
159
|
(function (UpdateGatewayInformationOutput) {
|
|
148
160
|
UpdateGatewayInformationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
161
|
})(UpdateGatewayInformationOutput || (UpdateGatewayInformationOutput = {}));
|
|
162
|
+
export var UpdateGatewaySoftwareNowInput;
|
|
163
|
+
(function (UpdateGatewaySoftwareNowInput) {
|
|
164
|
+
UpdateGatewaySoftwareNowInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
})(UpdateGatewaySoftwareNowInput || (UpdateGatewaySoftwareNowInput = {}));
|
|
166
|
+
export var UpdateGatewaySoftwareNowOutput;
|
|
167
|
+
(function (UpdateGatewaySoftwareNowOutput) {
|
|
168
|
+
UpdateGatewaySoftwareNowOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
})(UpdateGatewaySoftwareNowOutput || (UpdateGatewaySoftwareNowOutput = {}));
|
|
150
170
|
export var DeleteHypervisorInput;
|
|
151
171
|
(function (DeleteHypervisorInput) {
|
|
152
172
|
DeleteHypervisorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -58,6 +58,17 @@ export var serializeAws_json1_0DisassociateGatewayFromServerCommand = function (
|
|
|
58
58
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
59
59
|
});
|
|
60
60
|
}); };
|
|
61
|
+
export var serializeAws_json1_0GetGatewayCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
var headers, body;
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
headers = {
|
|
65
|
+
"content-type": "application/x-amz-json-1.0",
|
|
66
|
+
"x-amz-target": "BackupOnPremises_v20210101.GetGateway",
|
|
67
|
+
};
|
|
68
|
+
body = JSON.stringify(serializeAws_json1_0GetGatewayInput(input, context));
|
|
69
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
70
|
+
});
|
|
71
|
+
}); };
|
|
61
72
|
export var serializeAws_json1_0ImportHypervisorConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
73
|
var headers, body;
|
|
63
74
|
return __generator(this, function (_a) {
|
|
@@ -168,6 +179,17 @@ export var serializeAws_json1_0UpdateGatewayInformationCommand = function (input
|
|
|
168
179
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
169
180
|
});
|
|
170
181
|
}); };
|
|
182
|
+
export var serializeAws_json1_0UpdateGatewaySoftwareNowCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
183
|
+
var headers, body;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
headers = {
|
|
186
|
+
"content-type": "application/x-amz-json-1.0",
|
|
187
|
+
"x-amz-target": "BackupOnPremises_v20210101.UpdateGatewaySoftwareNow",
|
|
188
|
+
};
|
|
189
|
+
body = JSON.stringify(serializeAws_json1_0UpdateGatewaySoftwareNowInput(input, context));
|
|
190
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
191
|
+
});
|
|
192
|
+
}); };
|
|
171
193
|
export var serializeAws_json1_0UpdateHypervisorCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
194
|
var headers, body;
|
|
173
195
|
return __generator(this, function (_a) {
|
|
@@ -473,6 +495,64 @@ var deserializeAws_json1_0DisassociateGatewayFromServerCommandError = function (
|
|
|
473
495
|
}
|
|
474
496
|
});
|
|
475
497
|
}); };
|
|
498
|
+
export var deserializeAws_json1_0GetGatewayCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
499
|
+
var data, contents, response;
|
|
500
|
+
return __generator(this, function (_a) {
|
|
501
|
+
switch (_a.label) {
|
|
502
|
+
case 0:
|
|
503
|
+
if (output.statusCode >= 300) {
|
|
504
|
+
return [2, deserializeAws_json1_0GetGatewayCommandError(output, context)];
|
|
505
|
+
}
|
|
506
|
+
return [4, parseBody(output.body, context)];
|
|
507
|
+
case 1:
|
|
508
|
+
data = _a.sent();
|
|
509
|
+
contents = {};
|
|
510
|
+
contents = deserializeAws_json1_0GetGatewayOutput(data, context);
|
|
511
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
512
|
+
return [2, Promise.resolve(response)];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
}); };
|
|
516
|
+
var deserializeAws_json1_0GetGatewayCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
517
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
518
|
+
var _c;
|
|
519
|
+
return __generator(this, function (_d) {
|
|
520
|
+
switch (_d.label) {
|
|
521
|
+
case 0:
|
|
522
|
+
_a = [__assign({}, output)];
|
|
523
|
+
_c = {};
|
|
524
|
+
return [4, parseBody(output.body, context)];
|
|
525
|
+
case 1:
|
|
526
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
527
|
+
errorCode = "UnknownError";
|
|
528
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
|
+
_b = errorCode;
|
|
530
|
+
switch (_b) {
|
|
531
|
+
case "InternalServerException": return [3, 2];
|
|
532
|
+
case "com.amazonaws.backupgateway#InternalServerException": return [3, 2];
|
|
533
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
534
|
+
case "com.amazonaws.backupgateway#ResourceNotFoundException": return [3, 4];
|
|
535
|
+
case "ValidationException": return [3, 6];
|
|
536
|
+
case "com.amazonaws.backupgateway#ValidationException": return [3, 6];
|
|
537
|
+
}
|
|
538
|
+
return [3, 8];
|
|
539
|
+
case 2: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
|
|
540
|
+
case 3: throw _d.sent();
|
|
541
|
+
case 4: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
542
|
+
case 5: throw _d.sent();
|
|
543
|
+
case 6: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
|
|
544
|
+
case 7: throw _d.sent();
|
|
545
|
+
case 8:
|
|
546
|
+
parsedBody = parsedOutput.body;
|
|
547
|
+
response = new __BaseException({
|
|
548
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
549
|
+
$fault: "client",
|
|
550
|
+
$metadata: deserializeMetadata(output),
|
|
551
|
+
});
|
|
552
|
+
throw __decorateServiceException(response, parsedBody);
|
|
553
|
+
}
|
|
554
|
+
});
|
|
555
|
+
}); };
|
|
476
556
|
export var deserializeAws_json1_0ImportHypervisorConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
477
557
|
var data, contents, response;
|
|
478
558
|
return __generator(this, function (_a) {
|
|
@@ -1053,6 +1133,64 @@ var deserializeAws_json1_0UpdateGatewayInformationCommandError = function (outpu
|
|
|
1053
1133
|
}
|
|
1054
1134
|
});
|
|
1055
1135
|
}); };
|
|
1136
|
+
export var deserializeAws_json1_0UpdateGatewaySoftwareNowCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1137
|
+
var data, contents, response;
|
|
1138
|
+
return __generator(this, function (_a) {
|
|
1139
|
+
switch (_a.label) {
|
|
1140
|
+
case 0:
|
|
1141
|
+
if (output.statusCode >= 300) {
|
|
1142
|
+
return [2, deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError(output, context)];
|
|
1143
|
+
}
|
|
1144
|
+
return [4, parseBody(output.body, context)];
|
|
1145
|
+
case 1:
|
|
1146
|
+
data = _a.sent();
|
|
1147
|
+
contents = {};
|
|
1148
|
+
contents = deserializeAws_json1_0UpdateGatewaySoftwareNowOutput(data, context);
|
|
1149
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1150
|
+
return [2, Promise.resolve(response)];
|
|
1151
|
+
}
|
|
1152
|
+
});
|
|
1153
|
+
}); };
|
|
1154
|
+
var deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1155
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1156
|
+
var _c;
|
|
1157
|
+
return __generator(this, function (_d) {
|
|
1158
|
+
switch (_d.label) {
|
|
1159
|
+
case 0:
|
|
1160
|
+
_a = [__assign({}, output)];
|
|
1161
|
+
_c = {};
|
|
1162
|
+
return [4, parseBody(output.body, context)];
|
|
1163
|
+
case 1:
|
|
1164
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1165
|
+
errorCode = "UnknownError";
|
|
1166
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
|
+
_b = errorCode;
|
|
1168
|
+
switch (_b) {
|
|
1169
|
+
case "InternalServerException": return [3, 2];
|
|
1170
|
+
case "com.amazonaws.backupgateway#InternalServerException": return [3, 2];
|
|
1171
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1172
|
+
case "com.amazonaws.backupgateway#ResourceNotFoundException": return [3, 4];
|
|
1173
|
+
case "ValidationException": return [3, 6];
|
|
1174
|
+
case "com.amazonaws.backupgateway#ValidationException": return [3, 6];
|
|
1175
|
+
}
|
|
1176
|
+
return [3, 8];
|
|
1177
|
+
case 2: return [4, deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context)];
|
|
1178
|
+
case 3: throw _d.sent();
|
|
1179
|
+
case 4: return [4, deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1180
|
+
case 5: throw _d.sent();
|
|
1181
|
+
case 6: return [4, deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context)];
|
|
1182
|
+
case 7: throw _d.sent();
|
|
1183
|
+
case 8:
|
|
1184
|
+
parsedBody = parsedOutput.body;
|
|
1185
|
+
response = new __BaseException({
|
|
1186
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1187
|
+
$fault: "client",
|
|
1188
|
+
$metadata: deserializeMetadata(output),
|
|
1189
|
+
});
|
|
1190
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1191
|
+
}
|
|
1192
|
+
});
|
|
1193
|
+
}); };
|
|
1056
1194
|
export var deserializeAws_json1_0UpdateHypervisorCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1057
1195
|
var data, contents, response;
|
|
1058
1196
|
return __generator(this, function (_a) {
|
|
@@ -1176,6 +1314,9 @@ var serializeAws_json1_0DeleteHypervisorInput = function (input, context) {
|
|
|
1176
1314
|
var serializeAws_json1_0DisassociateGatewayFromServerInput = function (input, context) {
|
|
1177
1315
|
return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
|
|
1178
1316
|
};
|
|
1317
|
+
var serializeAws_json1_0GetGatewayInput = function (input, context) {
|
|
1318
|
+
return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
|
|
1319
|
+
};
|
|
1179
1320
|
var serializeAws_json1_0ImportHypervisorConfigurationInput = function (input, context) {
|
|
1180
1321
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
|
|
1181
1322
|
};
|
|
@@ -1231,8 +1372,11 @@ var serializeAws_json1_0UpdateGatewayInformationInput = function (input, context
|
|
|
1231
1372
|
return __assign(__assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn })), (input.GatewayDisplayName !== undefined &&
|
|
1232
1373
|
input.GatewayDisplayName !== null && { GatewayDisplayName: input.GatewayDisplayName }));
|
|
1233
1374
|
};
|
|
1375
|
+
var serializeAws_json1_0UpdateGatewaySoftwareNowInput = function (input, context) {
|
|
1376
|
+
return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
|
|
1377
|
+
};
|
|
1234
1378
|
var serializeAws_json1_0UpdateHypervisorInput = function (input, context) {
|
|
1235
|
-
return __assign(__assign(__assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
|
|
1379
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
|
|
1236
1380
|
};
|
|
1237
1381
|
var deserializeAws_json1_0AccessDeniedException = function (output, context) {
|
|
1238
1382
|
return {
|
|
@@ -1282,6 +1426,21 @@ var deserializeAws_json1_0Gateway = function (output, context) {
|
|
|
1282
1426
|
: undefined,
|
|
1283
1427
|
};
|
|
1284
1428
|
};
|
|
1429
|
+
var deserializeAws_json1_0GatewayDetails = function (output, context) {
|
|
1430
|
+
return {
|
|
1431
|
+
GatewayArn: __expectString(output.GatewayArn),
|
|
1432
|
+
GatewayDisplayName: __expectString(output.GatewayDisplayName),
|
|
1433
|
+
GatewayType: __expectString(output.GatewayType),
|
|
1434
|
+
HypervisorId: __expectString(output.HypervisorId),
|
|
1435
|
+
LastSeenTime: output.LastSeenTime !== undefined && output.LastSeenTime !== null
|
|
1436
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSeenTime)))
|
|
1437
|
+
: undefined,
|
|
1438
|
+
NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime !== undefined && output.NextUpdateAvailabilityTime !== null
|
|
1439
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NextUpdateAvailabilityTime)))
|
|
1440
|
+
: undefined,
|
|
1441
|
+
VpcEndpoint: __expectString(output.VpcEndpoint),
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1285
1444
|
var deserializeAws_json1_0Gateways = function (output, context) {
|
|
1286
1445
|
var retVal = (output || [])
|
|
1287
1446
|
.filter(function (e) { return e != null; })
|
|
@@ -1293,6 +1452,13 @@ var deserializeAws_json1_0Gateways = function (output, context) {
|
|
|
1293
1452
|
});
|
|
1294
1453
|
return retVal;
|
|
1295
1454
|
};
|
|
1455
|
+
var deserializeAws_json1_0GetGatewayOutput = function (output, context) {
|
|
1456
|
+
return {
|
|
1457
|
+
Gateway: output.Gateway !== undefined && output.Gateway !== null
|
|
1458
|
+
? deserializeAws_json1_0GatewayDetails(output.Gateway, context)
|
|
1459
|
+
: undefined,
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1296
1462
|
var deserializeAws_json1_0Hypervisor = function (output, context) {
|
|
1297
1463
|
return {
|
|
1298
1464
|
Host: __expectString(output.Host),
|
|
@@ -1400,6 +1566,11 @@ var deserializeAws_json1_0UpdateGatewayInformationOutput = function (output, con
|
|
|
1400
1566
|
GatewayArn: __expectString(output.GatewayArn),
|
|
1401
1567
|
};
|
|
1402
1568
|
};
|
|
1569
|
+
var deserializeAws_json1_0UpdateGatewaySoftwareNowOutput = function (output, context) {
|
|
1570
|
+
return {
|
|
1571
|
+
GatewayArn: __expectString(output.GatewayArn),
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1403
1574
|
var deserializeAws_json1_0UpdateHypervisorOutput = function (output, context) {
|
|
1404
1575
|
return {
|
|
1405
1576
|
HypervisorArn: __expectString(output.HypervisorArn),
|
|
@@ -5,6 +5,7 @@ import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./command
|
|
|
5
5
|
import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
|
|
6
6
|
import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "./commands/DeleteHypervisorCommand";
|
|
7
7
|
import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "./commands/DisassociateGatewayFromServerCommand";
|
|
8
|
+
import { GetGatewayCommandInput, GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
|
|
8
9
|
import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "./commands/ImportHypervisorConfigurationCommand";
|
|
9
10
|
import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
|
|
10
11
|
import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "./commands/ListHypervisorsCommand";
|
|
@@ -15,6 +16,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
15
16
|
import { TestHypervisorConfigurationCommandInput, TestHypervisorConfigurationCommandOutput } from "./commands/TestHypervisorConfigurationCommand";
|
|
16
17
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
18
|
import { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "./commands/UpdateGatewayInformationCommand";
|
|
19
|
+
import { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "./commands/UpdateGatewaySoftwareNowCommand";
|
|
18
20
|
import { UpdateHypervisorCommandInput, UpdateHypervisorCommandOutput } from "./commands/UpdateHypervisorCommand";
|
|
19
21
|
/**
|
|
20
22
|
* <fullname>Backup gateway</fullname>
|
|
@@ -61,6 +63,13 @@ export declare class BackupGateway extends BackupGatewayClient {
|
|
|
61
63
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateGatewayFromServerCommandOutput>;
|
|
62
64
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, cb: (err: any, data?: DisassociateGatewayFromServerCommandOutput) => void): void;
|
|
63
65
|
disassociateGatewayFromServer(args: DisassociateGatewayFromServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateGatewayFromServerCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* <p>By providing the ARN (Amazon Resource Name), this
|
|
68
|
+
* API returns the gateway.</p>
|
|
69
|
+
*/
|
|
70
|
+
getGateway(args: GetGatewayCommandInput, options?: __HttpHandlerOptions): Promise<GetGatewayCommandOutput>;
|
|
71
|
+
getGateway(args: GetGatewayCommandInput, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
|
|
72
|
+
getGateway(args: GetGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGatewayCommandOutput) => void): void;
|
|
64
73
|
/**
|
|
65
74
|
* <p>Connect to a hypervisor by importing its configuration.</p>
|
|
66
75
|
*/
|
|
@@ -124,6 +133,18 @@ export declare class BackupGateway extends BackupGatewayClient {
|
|
|
124
133
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGatewayInformationCommandOutput>;
|
|
125
134
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, cb: (err: any, data?: UpdateGatewayInformationCommandOutput) => void): void;
|
|
126
135
|
updateGatewayInformation(args: UpdateGatewayInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGatewayInformationCommandOutput) => void): void;
|
|
136
|
+
/**
|
|
137
|
+
* <p>Updates the gateway virtual machine (VM) software.
|
|
138
|
+
* The request immediately triggers the software update.</p>
|
|
139
|
+
* <note>
|
|
140
|
+
* <p>When you make this request, you get a <code>200 OK</code>
|
|
141
|
+
* success response immediately. However, it might take some
|
|
142
|
+
* time for the update to complete.</p>
|
|
143
|
+
* </note>
|
|
144
|
+
*/
|
|
145
|
+
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGatewaySoftwareNowCommandOutput>;
|
|
146
|
+
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, cb: (err: any, data?: UpdateGatewaySoftwareNowCommandOutput) => void): void;
|
|
147
|
+
updateGatewaySoftwareNow(args: UpdateGatewaySoftwareNowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGatewaySoftwareNowCommandOutput) => void): void;
|
|
127
148
|
/**
|
|
128
149
|
* <p>Updates a hypervisor metadata, including its host, username, and password. Specify which
|
|
129
150
|
* hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your
|
|
@@ -11,6 +11,7 @@ import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./command
|
|
|
11
11
|
import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
|
|
12
12
|
import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "./commands/DeleteHypervisorCommand";
|
|
13
13
|
import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "./commands/DisassociateGatewayFromServerCommand";
|
|
14
|
+
import { GetGatewayCommandInput, GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
|
|
14
15
|
import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "./commands/ImportHypervisorConfigurationCommand";
|
|
15
16
|
import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
|
|
16
17
|
import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "./commands/ListHypervisorsCommand";
|
|
@@ -21,9 +22,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
21
22
|
import { TestHypervisorConfigurationCommandInput, TestHypervisorConfigurationCommandOutput } from "./commands/TestHypervisorConfigurationCommand";
|
|
22
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
24
|
import { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "./commands/UpdateGatewayInformationCommand";
|
|
25
|
+
import { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "./commands/UpdateGatewaySoftwareNowCommand";
|
|
24
26
|
import { UpdateHypervisorCommandInput, UpdateHypervisorCommandOutput } from "./commands/UpdateHypervisorCommand";
|
|
25
|
-
export declare type ServiceInputTypes = AssociateGatewayToServerCommandInput | CreateGatewayCommandInput | DeleteGatewayCommandInput | DeleteHypervisorCommandInput | DisassociateGatewayFromServerCommandInput | ImportHypervisorConfigurationCommandInput | ListGatewaysCommandInput | ListHypervisorsCommandInput | ListTagsForResourceCommandInput | ListVirtualMachinesCommandInput | PutMaintenanceStartTimeCommandInput | TagResourceCommandInput | TestHypervisorConfigurationCommandInput | UntagResourceCommandInput | UpdateGatewayInformationCommandInput | UpdateHypervisorCommandInput;
|
|
26
|
-
export declare type ServiceOutputTypes = AssociateGatewayToServerCommandOutput | CreateGatewayCommandOutput | DeleteGatewayCommandOutput | DeleteHypervisorCommandOutput | DisassociateGatewayFromServerCommandOutput | ImportHypervisorConfigurationCommandOutput | ListGatewaysCommandOutput | ListHypervisorsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualMachinesCommandOutput | PutMaintenanceStartTimeCommandOutput | TagResourceCommandOutput | TestHypervisorConfigurationCommandOutput | UntagResourceCommandOutput | UpdateGatewayInformationCommandOutput | UpdateHypervisorCommandOutput;
|
|
27
|
+
export declare type ServiceInputTypes = AssociateGatewayToServerCommandInput | CreateGatewayCommandInput | DeleteGatewayCommandInput | DeleteHypervisorCommandInput | DisassociateGatewayFromServerCommandInput | GetGatewayCommandInput | ImportHypervisorConfigurationCommandInput | ListGatewaysCommandInput | ListHypervisorsCommandInput | ListTagsForResourceCommandInput | ListVirtualMachinesCommandInput | PutMaintenanceStartTimeCommandInput | TagResourceCommandInput | TestHypervisorConfigurationCommandInput | UntagResourceCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateHypervisorCommandInput;
|
|
28
|
+
export declare type ServiceOutputTypes = AssociateGatewayToServerCommandOutput | CreateGatewayCommandOutput | DeleteGatewayCommandOutput | DeleteHypervisorCommandOutput | DisassociateGatewayFromServerCommandOutput | GetGatewayCommandOutput | ImportHypervisorConfigurationCommandOutput | ListGatewaysCommandOutput | ListHypervisorsCommandOutput | ListTagsForResourceCommandOutput | ListVirtualMachinesCommandOutput | PutMaintenanceStartTimeCommandOutput | TagResourceCommandOutput | TestHypervisorConfigurationCommandOutput | UntagResourceCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateHypervisorCommandOutput;
|
|
27
29
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
28
30
|
/**
|
|
29
31
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BackupGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupGatewayClient";
|
|
4
|
+
import { GetGatewayInput, GetGatewayOutput } from "../models/models_0";
|
|
5
|
+
export interface GetGatewayCommandInput extends GetGatewayInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetGatewayCommandOutput extends GetGatewayOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>By providing the ARN (Amazon Resource Name), this
|
|
11
|
+
* API returns the gateway.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { BackupGatewayClient, GetGatewayCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
16
|
+
* // const { BackupGatewayClient, GetGatewayCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
17
|
+
* const client = new BackupGatewayClient(config);
|
|
18
|
+
* const command = new GetGatewayCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetGatewayCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetGatewayCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetGatewayCommand extends $Command<GetGatewayCommandInput, GetGatewayCommandOutput, BackupGatewayClientResolvedConfig> {
|
|
28
|
+
readonly input: GetGatewayCommandInput;
|
|
29
|
+
constructor(input: GetGatewayCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupGatewayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGatewayCommandInput, GetGatewayCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BackupGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupGatewayClient";
|
|
4
|
+
import { UpdateGatewaySoftwareNowInput, UpdateGatewaySoftwareNowOutput } from "../models/models_0";
|
|
5
|
+
export interface UpdateGatewaySoftwareNowCommandInput extends UpdateGatewaySoftwareNowInput {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateGatewaySoftwareNowCommandOutput extends UpdateGatewaySoftwareNowOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the gateway virtual machine (VM) software.
|
|
11
|
+
* The request immediately triggers the software update.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>When you make this request, you get a <code>200 OK</code>
|
|
14
|
+
* success response immediately. However, it might take some
|
|
15
|
+
* time for the update to complete.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { BackupGatewayClient, UpdateGatewaySoftwareNowCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
|
|
21
|
+
* // const { BackupGatewayClient, UpdateGatewaySoftwareNowCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
|
|
22
|
+
* const client = new BackupGatewayClient(config);
|
|
23
|
+
* const command = new UpdateGatewaySoftwareNowCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link UpdateGatewaySoftwareNowCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link UpdateGatewaySoftwareNowCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class UpdateGatewaySoftwareNowCommand extends $Command<UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput, BackupGatewayClientResolvedConfig> {
|
|
33
|
+
readonly input: UpdateGatewaySoftwareNowCommandInput;
|
|
34
|
+
constructor(input: UpdateGatewaySoftwareNowCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupGatewayClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./CreateGatewayCommand";
|
|
|
3
3
|
export * from "./DeleteGatewayCommand";
|
|
4
4
|
export * from "./DeleteHypervisorCommand";
|
|
5
5
|
export * from "./DisassociateGatewayFromServerCommand";
|
|
6
|
+
export * from "./GetGatewayCommand";
|
|
6
7
|
export * from "./ImportHypervisorConfigurationCommand";
|
|
7
8
|
export * from "./ListGatewaysCommand";
|
|
8
9
|
export * from "./ListHypervisorsCommand";
|
|
@@ -13,4 +14,5 @@ export * from "./TagResourceCommand";
|
|
|
13
14
|
export * from "./TestHypervisorConfigurationCommand";
|
|
14
15
|
export * from "./UntagResourceCommand";
|
|
15
16
|
export * from "./UpdateGatewayInformationCommand";
|
|
17
|
+
export * from "./UpdateGatewaySoftwareNowCommand";
|
|
16
18
|
export * from "./UpdateHypervisorCommand";
|
|
@@ -107,7 +107,7 @@ export interface Tag {
|
|
|
107
107
|
*/
|
|
108
108
|
Key: string | undefined;
|
|
109
109
|
/**
|
|
110
|
-
* <p>The
|
|
110
|
+
* <p>The value part of a tag's key-value pair.</p>
|
|
111
111
|
*/
|
|
112
112
|
Value: string | undefined;
|
|
113
113
|
}
|
|
@@ -217,6 +217,76 @@ export declare namespace DisassociateGatewayFromServerOutput {
|
|
|
217
217
|
*/
|
|
218
218
|
const filterSensitiveLog: (obj: DisassociateGatewayFromServerOutput) => any;
|
|
219
219
|
}
|
|
220
|
+
export interface GetGatewayInput {
|
|
221
|
+
/**
|
|
222
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
223
|
+
*/
|
|
224
|
+
GatewayArn: string | undefined;
|
|
225
|
+
}
|
|
226
|
+
export declare namespace GetGatewayInput {
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
const filterSensitiveLog: (obj: GetGatewayInput) => any;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* <p>The details of gateway.</p>
|
|
234
|
+
*/
|
|
235
|
+
export interface GatewayDetails {
|
|
236
|
+
/**
|
|
237
|
+
* <p>The Amazon Resource Name (ARN) of the
|
|
238
|
+
* gateway. Use the <code>ListGateways</code> operation
|
|
239
|
+
* to return a list of gateways for your account and
|
|
240
|
+
* Amazon Web Services Region.</p>
|
|
241
|
+
*/
|
|
242
|
+
GatewayArn?: string;
|
|
243
|
+
/**
|
|
244
|
+
* <p>The display name of the gateway.</p>
|
|
245
|
+
*/
|
|
246
|
+
GatewayDisplayName?: string;
|
|
247
|
+
/**
|
|
248
|
+
* <p>The type of the gateway type.</p>
|
|
249
|
+
*/
|
|
250
|
+
GatewayType?: GatewayType | string;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The hypervisor ID of the gateway.</p>
|
|
253
|
+
*/
|
|
254
|
+
HypervisorId?: string;
|
|
255
|
+
/**
|
|
256
|
+
* <p>Details showing the last time Backup gateway communicated
|
|
257
|
+
* with the cloud, in Unix format and UTC time.</p>
|
|
258
|
+
*/
|
|
259
|
+
LastSeenTime?: Date;
|
|
260
|
+
/**
|
|
261
|
+
* <p>Details showing the next update availability time of the
|
|
262
|
+
* gateway.</p>
|
|
263
|
+
*/
|
|
264
|
+
NextUpdateAvailabilityTime?: Date;
|
|
265
|
+
/**
|
|
266
|
+
* <p>The DNS name for the virtual private cloud (VPC) endpoint the gateway
|
|
267
|
+
* uses to connect to the cloud for backup gateway.</p>
|
|
268
|
+
*/
|
|
269
|
+
VpcEndpoint?: string;
|
|
270
|
+
}
|
|
271
|
+
export declare namespace GatewayDetails {
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
const filterSensitiveLog: (obj: GatewayDetails) => any;
|
|
276
|
+
}
|
|
277
|
+
export interface GetGatewayOutput {
|
|
278
|
+
/**
|
|
279
|
+
* <p>By providing the ARN (Amazon Resource Name), this
|
|
280
|
+
* API returns the gateway.</p>
|
|
281
|
+
*/
|
|
282
|
+
Gateway?: GatewayDetails;
|
|
283
|
+
}
|
|
284
|
+
export declare namespace GetGatewayOutput {
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
const filterSensitiveLog: (obj: GetGatewayOutput) => any;
|
|
289
|
+
}
|
|
220
290
|
export interface ListGatewaysInput {
|
|
221
291
|
/**
|
|
222
292
|
* <p>The maximum number of gateways to list.</p>
|
|
@@ -393,6 +463,32 @@ export declare namespace UpdateGatewayInformationOutput {
|
|
|
393
463
|
*/
|
|
394
464
|
const filterSensitiveLog: (obj: UpdateGatewayInformationOutput) => any;
|
|
395
465
|
}
|
|
466
|
+
export interface UpdateGatewaySoftwareNowInput {
|
|
467
|
+
/**
|
|
468
|
+
* <p>The Amazon Resource Name (ARN) of the gateway
|
|
469
|
+
* to be updated.</p>
|
|
470
|
+
*/
|
|
471
|
+
GatewayArn: string | undefined;
|
|
472
|
+
}
|
|
473
|
+
export declare namespace UpdateGatewaySoftwareNowInput {
|
|
474
|
+
/**
|
|
475
|
+
* @internal
|
|
476
|
+
*/
|
|
477
|
+
const filterSensitiveLog: (obj: UpdateGatewaySoftwareNowInput) => any;
|
|
478
|
+
}
|
|
479
|
+
export interface UpdateGatewaySoftwareNowOutput {
|
|
480
|
+
/**
|
|
481
|
+
* <p>The Amazon Resource Name (ARN) of the gateway
|
|
482
|
+
* you updated.</p>
|
|
483
|
+
*/
|
|
484
|
+
GatewayArn?: string;
|
|
485
|
+
}
|
|
486
|
+
export declare namespace UpdateGatewaySoftwareNowOutput {
|
|
487
|
+
/**
|
|
488
|
+
* @internal
|
|
489
|
+
*/
|
|
490
|
+
const filterSensitiveLog: (obj: UpdateGatewaySoftwareNowOutput) => any;
|
|
491
|
+
}
|
|
396
492
|
export interface DeleteHypervisorInput {
|
|
397
493
|
/**
|
|
398
494
|
* <p>The Amazon Resource Name (ARN) of the hypervisor to delete.</p>
|
|
@@ -560,6 +656,10 @@ export interface UpdateHypervisorInput {
|
|
|
560
656
|
* <p>The updated password for the hypervisor.</p>
|
|
561
657
|
*/
|
|
562
658
|
Password?: string;
|
|
659
|
+
/**
|
|
660
|
+
* <p>The updated name for the hypervisor</p>
|
|
661
|
+
*/
|
|
662
|
+
Name?: string;
|
|
563
663
|
}
|
|
564
664
|
export declare namespace UpdateHypervisorInput {
|
|
565
665
|
/**
|
|
@@ -647,7 +747,8 @@ export interface VirtualMachine {
|
|
|
647
747
|
*/
|
|
648
748
|
Path?: string;
|
|
649
749
|
/**
|
|
650
|
-
* <p>The Amazon Resource Name (ARN) of the virtual machine
|
|
750
|
+
* <p>The Amazon Resource Name (ARN) of the virtual machine. For example,
|
|
751
|
+
* <code>arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL</code>.</p>
|
|
651
752
|
*/
|
|
652
753
|
ResourceArn?: string;
|
|
653
754
|
/**
|
|
@@ -5,6 +5,7 @@ import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "../comman
|
|
|
5
5
|
import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "../commands/DeleteGatewayCommand";
|
|
6
6
|
import { DeleteHypervisorCommandInput, DeleteHypervisorCommandOutput } from "../commands/DeleteHypervisorCommand";
|
|
7
7
|
import { DisassociateGatewayFromServerCommandInput, DisassociateGatewayFromServerCommandOutput } from "../commands/DisassociateGatewayFromServerCommand";
|
|
8
|
+
import { GetGatewayCommandInput, GetGatewayCommandOutput } from "../commands/GetGatewayCommand";
|
|
8
9
|
import { ImportHypervisorConfigurationCommandInput, ImportHypervisorConfigurationCommandOutput } from "../commands/ImportHypervisorConfigurationCommand";
|
|
9
10
|
import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "../commands/ListGatewaysCommand";
|
|
10
11
|
import { ListHypervisorsCommandInput, ListHypervisorsCommandOutput } from "../commands/ListHypervisorsCommand";
|
|
@@ -15,12 +16,14 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
|
|
|
15
16
|
import { TestHypervisorConfigurationCommandInput, TestHypervisorConfigurationCommandOutput } from "../commands/TestHypervisorConfigurationCommand";
|
|
16
17
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
17
18
|
import { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "../commands/UpdateGatewayInformationCommand";
|
|
19
|
+
import { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "../commands/UpdateGatewaySoftwareNowCommand";
|
|
18
20
|
import { UpdateHypervisorCommandInput, UpdateHypervisorCommandOutput } from "../commands/UpdateHypervisorCommand";
|
|
19
21
|
export declare const serializeAws_json1_0AssociateGatewayToServerCommand: (input: AssociateGatewayToServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
22
|
export declare const serializeAws_json1_0CreateGatewayCommand: (input: CreateGatewayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
23
|
export declare const serializeAws_json1_0DeleteGatewayCommand: (input: DeleteGatewayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
24
|
export declare const serializeAws_json1_0DeleteHypervisorCommand: (input: DeleteHypervisorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
25
|
export declare const serializeAws_json1_0DisassociateGatewayFromServerCommand: (input: DisassociateGatewayFromServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_json1_0GetGatewayCommand: (input: GetGatewayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
27
|
export declare const serializeAws_json1_0ImportHypervisorConfigurationCommand: (input: ImportHypervisorConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
28
|
export declare const serializeAws_json1_0ListGatewaysCommand: (input: ListGatewaysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
29
|
export declare const serializeAws_json1_0ListHypervisorsCommand: (input: ListHypervisorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -31,12 +34,14 @@ export declare const serializeAws_json1_0TagResourceCommand: (input: TagResource
|
|
|
31
34
|
export declare const serializeAws_json1_0TestHypervisorConfigurationCommand: (input: TestHypervisorConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
35
|
export declare const serializeAws_json1_0UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
36
|
export declare const serializeAws_json1_0UpdateGatewayInformationCommand: (input: UpdateGatewayInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const serializeAws_json1_0UpdateGatewaySoftwareNowCommand: (input: UpdateGatewaySoftwareNowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
38
|
export declare const serializeAws_json1_0UpdateHypervisorCommand: (input: UpdateHypervisorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
39
|
export declare const deserializeAws_json1_0AssociateGatewayToServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateGatewayToServerCommandOutput>;
|
|
36
40
|
export declare const deserializeAws_json1_0CreateGatewayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGatewayCommandOutput>;
|
|
37
41
|
export declare const deserializeAws_json1_0DeleteGatewayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGatewayCommandOutput>;
|
|
38
42
|
export declare const deserializeAws_json1_0DeleteHypervisorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteHypervisorCommandOutput>;
|
|
39
43
|
export declare const deserializeAws_json1_0DisassociateGatewayFromServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateGatewayFromServerCommandOutput>;
|
|
44
|
+
export declare const deserializeAws_json1_0GetGatewayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGatewayCommandOutput>;
|
|
40
45
|
export declare const deserializeAws_json1_0ImportHypervisorConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportHypervisorConfigurationCommandOutput>;
|
|
41
46
|
export declare const deserializeAws_json1_0ListGatewaysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGatewaysCommandOutput>;
|
|
42
47
|
export declare const deserializeAws_json1_0ListHypervisorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListHypervisorsCommandOutput>;
|
|
@@ -47,4 +52,5 @@ export declare const deserializeAws_json1_0TagResourceCommand: (output: __HttpRe
|
|
|
47
52
|
export declare const deserializeAws_json1_0TestHypervisorConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TestHypervisorConfigurationCommandOutput>;
|
|
48
53
|
export declare const deserializeAws_json1_0UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
49
54
|
export declare const deserializeAws_json1_0UpdateGatewayInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGatewayInformationCommandOutput>;
|
|
55
|
+
export declare const deserializeAws_json1_0UpdateGatewaySoftwareNowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGatewaySoftwareNowCommandOutput>;
|
|
50
56
|
export declare const deserializeAws_json1_0UpdateHypervisorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateHypervisorCommandOutput>;
|