@aws-sdk/client-medialive 3.128.0 → 3.136.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/MediaLive.js +30 -0
- package/dist-cjs/commands/RebootInputDeviceCommand.js +36 -0
- package/dist-cjs/commands/StartInputDeviceMaintenanceWindowCommand.js +36 -0
- package/dist-cjs/commands/UpdateInputCommand.js +2 -1
- package/dist-cjs/commands/UpdateInputDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateInputSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_1.js +30 -31
- package/dist-cjs/models/models_2.js +31 -1
- package/dist-cjs/protocols/Aws_restJson1.js +174 -3
- package/dist-es/MediaLive.js +30 -0
- package/dist-es/commands/RebootInputDeviceCommand.js +39 -0
- package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +39 -0
- package/dist-es/commands/UpdateInputCommand.js +2 -1
- package/dist-es/commands/UpdateInputDeviceCommand.js +1 -1
- package/dist-es/commands/UpdateInputSecurityGroupCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_1.js +21 -20
- package/dist-es/models/models_2.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +227 -0
- package/dist-types/MediaLive.d.ts +14 -0
- package/dist-types/MediaLiveClient.d.ts +4 -2
- package/dist-types/commands/RebootInputDeviceCommand.d.ts +35 -0
- package/dist-types/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +35 -0
- package/dist-types/commands/UpdateInputCommand.d.ts +2 -1
- package/dist-types/commands/UpdateInputDeviceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_1.d.ts +60 -139
- package/dist-types/models/models_2.d.ts +141 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/MediaLive.d.ts +10 -0
- package/dist-types/ts3.4/MediaLiveClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/RebootInputDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateInputCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateInputDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +38 -77
- package/dist-types/ts3.4/models/models_2.d.ts +79 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +7 -7
package/dist-es/MediaLive.js
CHANGED
|
@@ -42,8 +42,10 @@ import { ListOfferingsCommand, } from "./commands/ListOfferingsCommand";
|
|
|
42
42
|
import { ListReservationsCommand, } from "./commands/ListReservationsCommand";
|
|
43
43
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
44
44
|
import { PurchaseOfferingCommand, } from "./commands/PurchaseOfferingCommand";
|
|
45
|
+
import { RebootInputDeviceCommand, } from "./commands/RebootInputDeviceCommand";
|
|
45
46
|
import { RejectInputDeviceTransferCommand, } from "./commands/RejectInputDeviceTransferCommand";
|
|
46
47
|
import { StartChannelCommand, } from "./commands/StartChannelCommand";
|
|
48
|
+
import { StartInputDeviceMaintenanceWindowCommand, } from "./commands/StartInputDeviceMaintenanceWindowCommand";
|
|
47
49
|
import { StartMultiplexCommand, } from "./commands/StartMultiplexCommand";
|
|
48
50
|
import { StopChannelCommand } from "./commands/StopChannelCommand";
|
|
49
51
|
import { StopMultiplexCommand, } from "./commands/StopMultiplexCommand";
|
|
@@ -664,6 +666,20 @@ var MediaLive = (function (_super) {
|
|
|
664
666
|
return this.send(command, optionsOrCb);
|
|
665
667
|
}
|
|
666
668
|
};
|
|
669
|
+
MediaLive.prototype.rebootInputDevice = function (args, optionsOrCb, cb) {
|
|
670
|
+
var command = new RebootInputDeviceCommand(args);
|
|
671
|
+
if (typeof optionsOrCb === "function") {
|
|
672
|
+
this.send(command, optionsOrCb);
|
|
673
|
+
}
|
|
674
|
+
else if (typeof cb === "function") {
|
|
675
|
+
if (typeof optionsOrCb !== "object")
|
|
676
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
677
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
678
|
+
}
|
|
679
|
+
else {
|
|
680
|
+
return this.send(command, optionsOrCb);
|
|
681
|
+
}
|
|
682
|
+
};
|
|
667
683
|
MediaLive.prototype.rejectInputDeviceTransfer = function (args, optionsOrCb, cb) {
|
|
668
684
|
var command = new RejectInputDeviceTransferCommand(args);
|
|
669
685
|
if (typeof optionsOrCb === "function") {
|
|
@@ -692,6 +708,20 @@ var MediaLive = (function (_super) {
|
|
|
692
708
|
return this.send(command, optionsOrCb);
|
|
693
709
|
}
|
|
694
710
|
};
|
|
711
|
+
MediaLive.prototype.startInputDeviceMaintenanceWindow = function (args, optionsOrCb, cb) {
|
|
712
|
+
var command = new StartInputDeviceMaintenanceWindowCommand(args);
|
|
713
|
+
if (typeof optionsOrCb === "function") {
|
|
714
|
+
this.send(command, optionsOrCb);
|
|
715
|
+
}
|
|
716
|
+
else if (typeof cb === "function") {
|
|
717
|
+
if (typeof optionsOrCb !== "object")
|
|
718
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
719
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
720
|
+
}
|
|
721
|
+
else {
|
|
722
|
+
return this.send(command, optionsOrCb);
|
|
723
|
+
}
|
|
724
|
+
};
|
|
695
725
|
MediaLive.prototype.startMultiplex = function (args, optionsOrCb, cb) {
|
|
696
726
|
var command = new StartMultiplexCommand(args);
|
|
697
727
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RebootInputDeviceRequest, RebootInputDeviceResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1RebootInputDeviceCommand, serializeAws_restJson1RebootInputDeviceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var RebootInputDeviceCommand = (function (_super) {
|
|
7
|
+
__extends(RebootInputDeviceCommand, _super);
|
|
8
|
+
function RebootInputDeviceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
RebootInputDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MediaLiveClient";
|
|
18
|
+
var commandName = "RebootInputDeviceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: RebootInputDeviceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RebootInputDeviceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RebootInputDeviceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1RebootInputDeviceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
RebootInputDeviceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1RebootInputDeviceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return RebootInputDeviceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RebootInputDeviceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartInputDeviceMaintenanceWindowRequest, StartInputDeviceMaintenanceWindowResponse, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var StartInputDeviceMaintenanceWindowCommand = (function (_super) {
|
|
7
|
+
__extends(StartInputDeviceMaintenanceWindowCommand, _super);
|
|
8
|
+
function StartInputDeviceMaintenanceWindowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartInputDeviceMaintenanceWindowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MediaLiveClient";
|
|
18
|
+
var commandName = "StartInputDeviceMaintenanceWindowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartInputDeviceMaintenanceWindowRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartInputDeviceMaintenanceWindowResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartInputDeviceMaintenanceWindowCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartInputDeviceMaintenanceWindowCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartInputDeviceMaintenanceWindowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartInputDeviceMaintenanceWindowCommand };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateInputRequest
|
|
4
|
+
import { UpdateInputRequest } from "../models/models_1";
|
|
5
|
+
import { UpdateInputResponse } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_restJson1UpdateInputCommand, serializeAws_restJson1UpdateInputCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
var UpdateInputCommand = (function (_super) {
|
|
7
8
|
__extends(UpdateInputCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateInputDeviceRequest, UpdateInputDeviceResponse } from "../models/
|
|
4
|
+
import { UpdateInputDeviceRequest, UpdateInputDeviceResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateInputDeviceCommand, serializeAws_restJson1UpdateInputDeviceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateInputDeviceCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateInputDeviceCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateInputSecurityGroupRequest, UpdateInputSecurityGroupResponse } from "../models/
|
|
4
|
+
import { UpdateInputSecurityGroupRequest, UpdateInputSecurityGroupResponse } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateInputSecurityGroupCommand, serializeAws_restJson1UpdateInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateInputSecurityGroupCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateInputSecurityGroupCommand, _super);
|
|
@@ -41,8 +41,10 @@ export * from "./ListOfferingsCommand";
|
|
|
41
41
|
export * from "./ListReservationsCommand";
|
|
42
42
|
export * from "./ListTagsForResourceCommand";
|
|
43
43
|
export * from "./PurchaseOfferingCommand";
|
|
44
|
+
export * from "./RebootInputDeviceCommand";
|
|
44
45
|
export * from "./RejectInputDeviceTransferCommand";
|
|
45
46
|
export * from "./StartChannelCommand";
|
|
47
|
+
export * from "./StartInputDeviceMaintenanceWindowCommand";
|
|
46
48
|
export * from "./StartMultiplexCommand";
|
|
47
49
|
export * from "./StopChannelCommand";
|
|
48
50
|
export * from "./StopMultiplexCommand";
|
|
@@ -1378,6 +1378,19 @@ export var PurchaseOfferingResponse;
|
|
|
1378
1378
|
(function (PurchaseOfferingResponse) {
|
|
1379
1379
|
PurchaseOfferingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1380
1380
|
})(PurchaseOfferingResponse || (PurchaseOfferingResponse = {}));
|
|
1381
|
+
export var RebootInputDeviceForce;
|
|
1382
|
+
(function (RebootInputDeviceForce) {
|
|
1383
|
+
RebootInputDeviceForce["NO"] = "NO";
|
|
1384
|
+
RebootInputDeviceForce["YES"] = "YES";
|
|
1385
|
+
})(RebootInputDeviceForce || (RebootInputDeviceForce = {}));
|
|
1386
|
+
export var RebootInputDeviceRequest;
|
|
1387
|
+
(function (RebootInputDeviceRequest) {
|
|
1388
|
+
RebootInputDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1389
|
+
})(RebootInputDeviceRequest || (RebootInputDeviceRequest = {}));
|
|
1390
|
+
export var RebootInputDeviceResponse;
|
|
1391
|
+
(function (RebootInputDeviceResponse) {
|
|
1392
|
+
RebootInputDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1393
|
+
})(RebootInputDeviceResponse || (RebootInputDeviceResponse = {}));
|
|
1381
1394
|
export var RejectInputDeviceTransferRequest;
|
|
1382
1395
|
(function (RejectInputDeviceTransferRequest) {
|
|
1383
1396
|
RejectInputDeviceTransferRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1394,6 +1407,14 @@ export var StartChannelResponse;
|
|
|
1394
1407
|
(function (StartChannelResponse) {
|
|
1395
1408
|
StartChannelResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1396
1409
|
})(StartChannelResponse || (StartChannelResponse = {}));
|
|
1410
|
+
export var StartInputDeviceMaintenanceWindowRequest;
|
|
1411
|
+
(function (StartInputDeviceMaintenanceWindowRequest) {
|
|
1412
|
+
StartInputDeviceMaintenanceWindowRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1413
|
+
})(StartInputDeviceMaintenanceWindowRequest || (StartInputDeviceMaintenanceWindowRequest = {}));
|
|
1414
|
+
export var StartInputDeviceMaintenanceWindowResponse;
|
|
1415
|
+
(function (StartInputDeviceMaintenanceWindowResponse) {
|
|
1416
|
+
StartInputDeviceMaintenanceWindowResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1417
|
+
})(StartInputDeviceMaintenanceWindowResponse || (StartInputDeviceMaintenanceWindowResponse = {}));
|
|
1397
1418
|
export var StartMultiplexRequest;
|
|
1398
1419
|
(function (StartMultiplexRequest) {
|
|
1399
1420
|
StartMultiplexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1446,23 +1467,3 @@ export var UpdateInputRequest;
|
|
|
1446
1467
|
(function (UpdateInputRequest) {
|
|
1447
1468
|
UpdateInputRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1448
1469
|
})(UpdateInputRequest || (UpdateInputRequest = {}));
|
|
1449
|
-
export var UpdateInputResponse;
|
|
1450
|
-
(function (UpdateInputResponse) {
|
|
1451
|
-
UpdateInputResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1452
|
-
})(UpdateInputResponse || (UpdateInputResponse = {}));
|
|
1453
|
-
export var UpdateInputDeviceRequest;
|
|
1454
|
-
(function (UpdateInputDeviceRequest) {
|
|
1455
|
-
UpdateInputDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1456
|
-
})(UpdateInputDeviceRequest || (UpdateInputDeviceRequest = {}));
|
|
1457
|
-
export var UpdateInputDeviceResponse;
|
|
1458
|
-
(function (UpdateInputDeviceResponse) {
|
|
1459
|
-
UpdateInputDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1460
|
-
})(UpdateInputDeviceResponse || (UpdateInputDeviceResponse = {}));
|
|
1461
|
-
export var UpdateInputSecurityGroupRequest;
|
|
1462
|
-
(function (UpdateInputSecurityGroupRequest) {
|
|
1463
|
-
UpdateInputSecurityGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1464
|
-
})(UpdateInputSecurityGroupRequest || (UpdateInputSecurityGroupRequest = {}));
|
|
1465
|
-
export var UpdateInputSecurityGroupResponse;
|
|
1466
|
-
(function (UpdateInputSecurityGroupResponse) {
|
|
1467
|
-
UpdateInputSecurityGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1468
|
-
})(UpdateInputSecurityGroupResponse || (UpdateInputSecurityGroupResponse = {}));
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var UpdateInputResponse;
|
|
3
|
+
(function (UpdateInputResponse) {
|
|
4
|
+
UpdateInputResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(UpdateInputResponse || (UpdateInputResponse = {}));
|
|
6
|
+
export var UpdateInputDeviceRequest;
|
|
7
|
+
(function (UpdateInputDeviceRequest) {
|
|
8
|
+
UpdateInputDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(UpdateInputDeviceRequest || (UpdateInputDeviceRequest = {}));
|
|
10
|
+
export var UpdateInputDeviceResponse;
|
|
11
|
+
(function (UpdateInputDeviceResponse) {
|
|
12
|
+
UpdateInputDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(UpdateInputDeviceResponse || (UpdateInputDeviceResponse = {}));
|
|
14
|
+
export var UpdateInputSecurityGroupRequest;
|
|
15
|
+
(function (UpdateInputSecurityGroupRequest) {
|
|
16
|
+
UpdateInputSecurityGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
+
})(UpdateInputSecurityGroupRequest || (UpdateInputSecurityGroupRequest = {}));
|
|
18
|
+
export var UpdateInputSecurityGroupResponse;
|
|
19
|
+
(function (UpdateInputSecurityGroupResponse) {
|
|
20
|
+
UpdateInputSecurityGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
+
})(UpdateInputSecurityGroupResponse || (UpdateInputSecurityGroupResponse = {}));
|
|
2
22
|
export var UpdateMultiplexRequest;
|
|
3
23
|
(function (UpdateMultiplexRequest) {
|
|
4
24
|
UpdateMultiplexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1311,6 +1311,40 @@ export var serializeAws_restJson1PurchaseOfferingCommand = function (input, cont
|
|
|
1311
1311
|
}
|
|
1312
1312
|
});
|
|
1313
1313
|
}); };
|
|
1314
|
+
export var serializeAws_restJson1RebootInputDeviceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1315
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1316
|
+
return __generator(this, function (_c) {
|
|
1317
|
+
switch (_c.label) {
|
|
1318
|
+
case 0: return [4, context.endpoint()];
|
|
1319
|
+
case 1:
|
|
1320
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1321
|
+
headers = {
|
|
1322
|
+
"content-type": "application/json",
|
|
1323
|
+
};
|
|
1324
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/reboot";
|
|
1325
|
+
if (input.InputDeviceId !== undefined) {
|
|
1326
|
+
labelValue = input.InputDeviceId;
|
|
1327
|
+
if (labelValue.length <= 0) {
|
|
1328
|
+
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1329
|
+
}
|
|
1330
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", __extendedEncodeURIComponent(labelValue));
|
|
1331
|
+
}
|
|
1332
|
+
else {
|
|
1333
|
+
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
1334
|
+
}
|
|
1335
|
+
body = JSON.stringify(__assign({}, (input.Force != null && { force: input.Force })));
|
|
1336
|
+
return [2, new __HttpRequest({
|
|
1337
|
+
protocol: protocol,
|
|
1338
|
+
hostname: hostname,
|
|
1339
|
+
port: port,
|
|
1340
|
+
method: "POST",
|
|
1341
|
+
headers: headers,
|
|
1342
|
+
path: resolvedPath,
|
|
1343
|
+
body: body,
|
|
1344
|
+
})];
|
|
1345
|
+
}
|
|
1346
|
+
});
|
|
1347
|
+
}); };
|
|
1314
1348
|
export var serializeAws_restJson1RejectInputDeviceTransferCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1315
1349
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1316
1350
|
return __generator(this, function (_c) {
|
|
@@ -1373,6 +1407,38 @@ export var serializeAws_restJson1StartChannelCommand = function (input, context)
|
|
|
1373
1407
|
}
|
|
1374
1408
|
});
|
|
1375
1409
|
}); };
|
|
1410
|
+
export var serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1411
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1412
|
+
return __generator(this, function (_c) {
|
|
1413
|
+
switch (_c.label) {
|
|
1414
|
+
case 0: return [4, context.endpoint()];
|
|
1415
|
+
case 1:
|
|
1416
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1417
|
+
headers = {};
|
|
1418
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1419
|
+
"/prod/inputDevices/{InputDeviceId}/startInputDeviceMaintenanceWindow";
|
|
1420
|
+
if (input.InputDeviceId !== undefined) {
|
|
1421
|
+
labelValue = input.InputDeviceId;
|
|
1422
|
+
if (labelValue.length <= 0) {
|
|
1423
|
+
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1424
|
+
}
|
|
1425
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", __extendedEncodeURIComponent(labelValue));
|
|
1426
|
+
}
|
|
1427
|
+
else {
|
|
1428
|
+
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
1429
|
+
}
|
|
1430
|
+
return [2, new __HttpRequest({
|
|
1431
|
+
protocol: protocol,
|
|
1432
|
+
hostname: hostname,
|
|
1433
|
+
port: port,
|
|
1434
|
+
method: "POST",
|
|
1435
|
+
headers: headers,
|
|
1436
|
+
path: resolvedPath,
|
|
1437
|
+
body: body,
|
|
1438
|
+
})];
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
}); };
|
|
1376
1442
|
export var serializeAws_restJson1StartMultiplexCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1377
1443
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1378
1444
|
return __generator(this, function (_c) {
|
|
@@ -5861,6 +5927,85 @@ var deserializeAws_restJson1PurchaseOfferingCommandError = function (output, con
|
|
|
5861
5927
|
}
|
|
5862
5928
|
});
|
|
5863
5929
|
}); };
|
|
5930
|
+
export var deserializeAws_restJson1RebootInputDeviceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5931
|
+
var contents;
|
|
5932
|
+
return __generator(this, function (_a) {
|
|
5933
|
+
switch (_a.label) {
|
|
5934
|
+
case 0:
|
|
5935
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5936
|
+
return [2, deserializeAws_restJson1RebootInputDeviceCommandError(output, context)];
|
|
5937
|
+
}
|
|
5938
|
+
contents = {
|
|
5939
|
+
$metadata: deserializeMetadata(output),
|
|
5940
|
+
};
|
|
5941
|
+
return [4, collectBody(output.body, context)];
|
|
5942
|
+
case 1:
|
|
5943
|
+
_a.sent();
|
|
5944
|
+
return [2, Promise.resolve(contents)];
|
|
5945
|
+
}
|
|
5946
|
+
});
|
|
5947
|
+
}); };
|
|
5948
|
+
var deserializeAws_restJson1RebootInputDeviceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5949
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
5950
|
+
var _c;
|
|
5951
|
+
return __generator(this, function (_d) {
|
|
5952
|
+
switch (_d.label) {
|
|
5953
|
+
case 0:
|
|
5954
|
+
_a = [__assign({}, output)];
|
|
5955
|
+
_c = {};
|
|
5956
|
+
return [4, parseBody(output.body, context)];
|
|
5957
|
+
case 1:
|
|
5958
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5959
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5960
|
+
_b = errorCode;
|
|
5961
|
+
switch (_b) {
|
|
5962
|
+
case "BadGatewayException": return [3, 2];
|
|
5963
|
+
case "com.amazonaws.medialive#BadGatewayException": return [3, 2];
|
|
5964
|
+
case "BadRequestException": return [3, 4];
|
|
5965
|
+
case "com.amazonaws.medialive#BadRequestException": return [3, 4];
|
|
5966
|
+
case "ForbiddenException": return [3, 6];
|
|
5967
|
+
case "com.amazonaws.medialive#ForbiddenException": return [3, 6];
|
|
5968
|
+
case "GatewayTimeoutException": return [3, 8];
|
|
5969
|
+
case "com.amazonaws.medialive#GatewayTimeoutException": return [3, 8];
|
|
5970
|
+
case "InternalServerErrorException": return [3, 10];
|
|
5971
|
+
case "com.amazonaws.medialive#InternalServerErrorException": return [3, 10];
|
|
5972
|
+
case "NotFoundException": return [3, 12];
|
|
5973
|
+
case "com.amazonaws.medialive#NotFoundException": return [3, 12];
|
|
5974
|
+
case "TooManyRequestsException": return [3, 14];
|
|
5975
|
+
case "com.amazonaws.medialive#TooManyRequestsException": return [3, 14];
|
|
5976
|
+
case "UnprocessableEntityException": return [3, 16];
|
|
5977
|
+
case "com.amazonaws.medialive#UnprocessableEntityException": return [3, 16];
|
|
5978
|
+
}
|
|
5979
|
+
return [3, 18];
|
|
5980
|
+
case 2: return [4, deserializeAws_restJson1BadGatewayExceptionResponse(parsedOutput, context)];
|
|
5981
|
+
case 3: throw _d.sent();
|
|
5982
|
+
case 4: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
5983
|
+
case 5: throw _d.sent();
|
|
5984
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
5985
|
+
case 7: throw _d.sent();
|
|
5986
|
+
case 8: return [4, deserializeAws_restJson1GatewayTimeoutExceptionResponse(parsedOutput, context)];
|
|
5987
|
+
case 9: throw _d.sent();
|
|
5988
|
+
case 10: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
5989
|
+
case 11: throw _d.sent();
|
|
5990
|
+
case 12: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
5991
|
+
case 13: throw _d.sent();
|
|
5992
|
+
case 14: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
5993
|
+
case 15: throw _d.sent();
|
|
5994
|
+
case 16: return [4, deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context)];
|
|
5995
|
+
case 17: throw _d.sent();
|
|
5996
|
+
case 18:
|
|
5997
|
+
parsedBody = parsedOutput.body;
|
|
5998
|
+
$metadata = deserializeMetadata(output);
|
|
5999
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
6000
|
+
response = new __BaseException({
|
|
6001
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
6002
|
+
$fault: "client",
|
|
6003
|
+
$metadata: $metadata,
|
|
6004
|
+
});
|
|
6005
|
+
throw __decorateServiceException(response, parsedBody);
|
|
6006
|
+
}
|
|
6007
|
+
});
|
|
6008
|
+
}); };
|
|
5864
6009
|
export var deserializeAws_restJson1RejectInputDeviceTransferCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5865
6010
|
var contents;
|
|
5866
6011
|
return __generator(this, function (_a) {
|
|
@@ -6097,6 +6242,85 @@ var deserializeAws_restJson1StartChannelCommandError = function (output, context
|
|
|
6097
6242
|
}
|
|
6098
6243
|
});
|
|
6099
6244
|
}); };
|
|
6245
|
+
export var deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6246
|
+
var contents;
|
|
6247
|
+
return __generator(this, function (_a) {
|
|
6248
|
+
switch (_a.label) {
|
|
6249
|
+
case 0:
|
|
6250
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6251
|
+
return [2, deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommandError(output, context)];
|
|
6252
|
+
}
|
|
6253
|
+
contents = {
|
|
6254
|
+
$metadata: deserializeMetadata(output),
|
|
6255
|
+
};
|
|
6256
|
+
return [4, collectBody(output.body, context)];
|
|
6257
|
+
case 1:
|
|
6258
|
+
_a.sent();
|
|
6259
|
+
return [2, Promise.resolve(contents)];
|
|
6260
|
+
}
|
|
6261
|
+
});
|
|
6262
|
+
}); };
|
|
6263
|
+
var deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6264
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
6265
|
+
var _c;
|
|
6266
|
+
return __generator(this, function (_d) {
|
|
6267
|
+
switch (_d.label) {
|
|
6268
|
+
case 0:
|
|
6269
|
+
_a = [__assign({}, output)];
|
|
6270
|
+
_c = {};
|
|
6271
|
+
return [4, parseBody(output.body, context)];
|
|
6272
|
+
case 1:
|
|
6273
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6274
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6275
|
+
_b = errorCode;
|
|
6276
|
+
switch (_b) {
|
|
6277
|
+
case "BadGatewayException": return [3, 2];
|
|
6278
|
+
case "com.amazonaws.medialive#BadGatewayException": return [3, 2];
|
|
6279
|
+
case "BadRequestException": return [3, 4];
|
|
6280
|
+
case "com.amazonaws.medialive#BadRequestException": return [3, 4];
|
|
6281
|
+
case "ForbiddenException": return [3, 6];
|
|
6282
|
+
case "com.amazonaws.medialive#ForbiddenException": return [3, 6];
|
|
6283
|
+
case "GatewayTimeoutException": return [3, 8];
|
|
6284
|
+
case "com.amazonaws.medialive#GatewayTimeoutException": return [3, 8];
|
|
6285
|
+
case "InternalServerErrorException": return [3, 10];
|
|
6286
|
+
case "com.amazonaws.medialive#InternalServerErrorException": return [3, 10];
|
|
6287
|
+
case "NotFoundException": return [3, 12];
|
|
6288
|
+
case "com.amazonaws.medialive#NotFoundException": return [3, 12];
|
|
6289
|
+
case "TooManyRequestsException": return [3, 14];
|
|
6290
|
+
case "com.amazonaws.medialive#TooManyRequestsException": return [3, 14];
|
|
6291
|
+
case "UnprocessableEntityException": return [3, 16];
|
|
6292
|
+
case "com.amazonaws.medialive#UnprocessableEntityException": return [3, 16];
|
|
6293
|
+
}
|
|
6294
|
+
return [3, 18];
|
|
6295
|
+
case 2: return [4, deserializeAws_restJson1BadGatewayExceptionResponse(parsedOutput, context)];
|
|
6296
|
+
case 3: throw _d.sent();
|
|
6297
|
+
case 4: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
6298
|
+
case 5: throw _d.sent();
|
|
6299
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
6300
|
+
case 7: throw _d.sent();
|
|
6301
|
+
case 8: return [4, deserializeAws_restJson1GatewayTimeoutExceptionResponse(parsedOutput, context)];
|
|
6302
|
+
case 9: throw _d.sent();
|
|
6303
|
+
case 10: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
6304
|
+
case 11: throw _d.sent();
|
|
6305
|
+
case 12: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
6306
|
+
case 13: throw _d.sent();
|
|
6307
|
+
case 14: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
6308
|
+
case 15: throw _d.sent();
|
|
6309
|
+
case 16: return [4, deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context)];
|
|
6310
|
+
case 17: throw _d.sent();
|
|
6311
|
+
case 18:
|
|
6312
|
+
parsedBody = parsedOutput.body;
|
|
6313
|
+
$metadata = deserializeMetadata(output);
|
|
6314
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
6315
|
+
response = new __BaseException({
|
|
6316
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
6317
|
+
$fault: "client",
|
|
6318
|
+
$metadata: $metadata,
|
|
6319
|
+
});
|
|
6320
|
+
throw __decorateServiceException(response, parsedBody);
|
|
6321
|
+
}
|
|
6322
|
+
});
|
|
6323
|
+
}); };
|
|
6100
6324
|
export var deserializeAws_restJson1StartMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6101
6325
|
var contents, data, _a, _b;
|
|
6102
6326
|
return __generator(this, function (_c) {
|
|
@@ -11402,6 +11626,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
11402
11626
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
11403
11627
|
var sanitizeErrorCode = function (rawValue) {
|
|
11404
11628
|
var cleanValue = rawValue;
|
|
11629
|
+
if (typeof cleanValue === "number") {
|
|
11630
|
+
cleanValue = cleanValue.toString();
|
|
11631
|
+
}
|
|
11405
11632
|
if (cleanValue.indexOf(":") >= 0) {
|
|
11406
11633
|
cleanValue = cleanValue.split(":")[0];
|
|
11407
11634
|
}
|
|
@@ -42,8 +42,10 @@ import { ListOfferingsCommandInput, ListOfferingsCommandOutput } from "./command
|
|
|
42
42
|
import { ListReservationsCommandInput, ListReservationsCommandOutput } from "./commands/ListReservationsCommand";
|
|
43
43
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
44
44
|
import { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "./commands/PurchaseOfferingCommand";
|
|
45
|
+
import { RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput } from "./commands/RebootInputDeviceCommand";
|
|
45
46
|
import { RejectInputDeviceTransferCommandInput, RejectInputDeviceTransferCommandOutput } from "./commands/RejectInputDeviceTransferCommand";
|
|
46
47
|
import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
|
|
48
|
+
import { StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput } from "./commands/StartInputDeviceMaintenanceWindowCommand";
|
|
47
49
|
import { StartMultiplexCommandInput, StartMultiplexCommandOutput } from "./commands/StartMultiplexCommand";
|
|
48
50
|
import { StopChannelCommandInput, StopChannelCommandOutput } from "./commands/StopChannelCommand";
|
|
49
51
|
import { StopMultiplexCommandInput, StopMultiplexCommandOutput } from "./commands/StopMultiplexCommand";
|
|
@@ -319,6 +321,12 @@ export declare class MediaLive extends MediaLiveClient {
|
|
|
319
321
|
purchaseOffering(args: PurchaseOfferingCommandInput, options?: __HttpHandlerOptions): Promise<PurchaseOfferingCommandOutput>;
|
|
320
322
|
purchaseOffering(args: PurchaseOfferingCommandInput, cb: (err: any, data?: PurchaseOfferingCommandOutput) => void): void;
|
|
321
323
|
purchaseOffering(args: PurchaseOfferingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurchaseOfferingCommandOutput) => void): void;
|
|
324
|
+
/**
|
|
325
|
+
* Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device’s connection status will change to connected.
|
|
326
|
+
*/
|
|
327
|
+
rebootInputDevice(args: RebootInputDeviceCommandInput, options?: __HttpHandlerOptions): Promise<RebootInputDeviceCommandOutput>;
|
|
328
|
+
rebootInputDevice(args: RebootInputDeviceCommandInput, cb: (err: any, data?: RebootInputDeviceCommandOutput) => void): void;
|
|
329
|
+
rebootInputDevice(args: RebootInputDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootInputDeviceCommandOutput) => void): void;
|
|
322
330
|
/**
|
|
323
331
|
* Reject the transfer of the specified input device to your AWS account.
|
|
324
332
|
*/
|
|
@@ -331,6 +339,12 @@ export declare class MediaLive extends MediaLiveClient {
|
|
|
331
339
|
startChannel(args: StartChannelCommandInput, options?: __HttpHandlerOptions): Promise<StartChannelCommandOutput>;
|
|
332
340
|
startChannel(args: StartChannelCommandInput, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
|
|
333
341
|
startChannel(args: StartChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* Start a maintenance window for the specified input device. Starting a maintenance window will give the device up to two hours to install software. If the device was streaming prior to the maintenance, it will resume streaming when the software is fully installed. Devices automatically install updates while they are powered on and their MediaLive channels are stopped. A maintenance window allows you to update a device without having to stop MediaLive channels that use the device. The device must remain powered on and connected to the internet for the duration of the maintenance.
|
|
344
|
+
*/
|
|
345
|
+
startInputDeviceMaintenanceWindow(args: StartInputDeviceMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise<StartInputDeviceMaintenanceWindowCommandOutput>;
|
|
346
|
+
startInputDeviceMaintenanceWindow(args: StartInputDeviceMaintenanceWindowCommandInput, cb: (err: any, data?: StartInputDeviceMaintenanceWindowCommandOutput) => void): void;
|
|
347
|
+
startInputDeviceMaintenanceWindow(args: StartInputDeviceMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInputDeviceMaintenanceWindowCommandOutput) => void): void;
|
|
334
348
|
/**
|
|
335
349
|
* Start (run) the multiplex. Starting the multiplex does not start the channels. You must explicitly start each channel.
|
|
336
350
|
*/
|
|
@@ -49,8 +49,10 @@ import { ListOfferingsCommandInput, ListOfferingsCommandOutput } from "./command
|
|
|
49
49
|
import { ListReservationsCommandInput, ListReservationsCommandOutput } from "./commands/ListReservationsCommand";
|
|
50
50
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
51
51
|
import { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "./commands/PurchaseOfferingCommand";
|
|
52
|
+
import { RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput } from "./commands/RebootInputDeviceCommand";
|
|
52
53
|
import { RejectInputDeviceTransferCommandInput, RejectInputDeviceTransferCommandOutput } from "./commands/RejectInputDeviceTransferCommand";
|
|
53
54
|
import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
|
|
55
|
+
import { StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput } from "./commands/StartInputDeviceMaintenanceWindowCommand";
|
|
54
56
|
import { StartMultiplexCommandInput, StartMultiplexCommandOutput } from "./commands/StartMultiplexCommand";
|
|
55
57
|
import { StopChannelCommandInput, StopChannelCommandOutput } from "./commands/StopChannelCommand";
|
|
56
58
|
import { StopMultiplexCommandInput, StopMultiplexCommandOutput } from "./commands/StopMultiplexCommand";
|
|
@@ -63,8 +65,8 @@ import { UpdateInputSecurityGroupCommandInput, UpdateInputSecurityGroupCommandOu
|
|
|
63
65
|
import { UpdateMultiplexCommandInput, UpdateMultiplexCommandOutput } from "./commands/UpdateMultiplexCommand";
|
|
64
66
|
import { UpdateMultiplexProgramCommandInput, UpdateMultiplexProgramCommandOutput } from "./commands/UpdateMultiplexProgramCommand";
|
|
65
67
|
import { UpdateReservationCommandInput, UpdateReservationCommandOutput } from "./commands/UpdateReservationCommand";
|
|
66
|
-
export declare type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RejectInputDeviceTransferCommandInput | StartChannelCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
|
|
67
|
-
export declare type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RejectInputDeviceTransferCommandOutput | StartChannelCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
|
|
68
|
+
export declare type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RebootInputDeviceCommandInput | RejectInputDeviceTransferCommandInput | StartChannelCommandInput | StartInputDeviceMaintenanceWindowCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
|
|
69
|
+
export declare type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RebootInputDeviceCommandOutput | RejectInputDeviceTransferCommandOutput | StartChannelCommandOutput | StartInputDeviceMaintenanceWindowCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
|
|
68
70
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
69
71
|
/**
|
|
70
72
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
|
|
4
|
+
import { RebootInputDeviceRequest, RebootInputDeviceResponse } from "../models/models_1";
|
|
5
|
+
export interface RebootInputDeviceCommandInput extends RebootInputDeviceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RebootInputDeviceCommandOutput extends RebootInputDeviceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device’s connection status will change to connected.
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MediaLiveClient, RebootInputDeviceCommand } from "@aws-sdk/client-medialive"; // ES Modules import
|
|
15
|
+
* // const { MediaLiveClient, RebootInputDeviceCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
|
|
16
|
+
* const client = new MediaLiveClient(config);
|
|
17
|
+
* const command = new RebootInputDeviceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link RebootInputDeviceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link RebootInputDeviceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MediaLiveClientResolvedConfig | config} for MediaLiveClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class RebootInputDeviceCommand extends $Command<RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput, MediaLiveClientResolvedConfig> {
|
|
27
|
+
readonly input: RebootInputDeviceCommandInput;
|
|
28
|
+
constructor(input: RebootInputDeviceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|