@aws-sdk/client-medialive 3.130.0 → 3.137.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.
Files changed (156) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/MediaLive.js +30 -0
  3. package/dist-cjs/commands/AcceptInputDeviceTransferCommand.js +2 -2
  4. package/dist-cjs/commands/BatchDeleteCommand.js +2 -2
  5. package/dist-cjs/commands/BatchStartCommand.js +2 -2
  6. package/dist-cjs/commands/BatchStopCommand.js +2 -2
  7. package/dist-cjs/commands/BatchUpdateScheduleCommand.js +2 -2
  8. package/dist-cjs/commands/CancelInputDeviceTransferCommand.js +2 -2
  9. package/dist-cjs/commands/ClaimDeviceCommand.js +2 -2
  10. package/dist-cjs/commands/CreateChannelCommand.js +2 -2
  11. package/dist-cjs/commands/CreateInputCommand.js +2 -2
  12. package/dist-cjs/commands/CreateInputSecurityGroupCommand.js +2 -2
  13. package/dist-cjs/commands/CreateMultiplexCommand.js +2 -2
  14. package/dist-cjs/commands/CreateMultiplexProgramCommand.js +2 -2
  15. package/dist-cjs/commands/CreatePartnerInputCommand.js +2 -2
  16. package/dist-cjs/commands/CreateTagsCommand.js +1 -1
  17. package/dist-cjs/commands/DeleteChannelCommand.js +2 -2
  18. package/dist-cjs/commands/DeleteInputCommand.js +2 -2
  19. package/dist-cjs/commands/DeleteInputSecurityGroupCommand.js +2 -2
  20. package/dist-cjs/commands/DeleteMultiplexCommand.js +2 -2
  21. package/dist-cjs/commands/DeleteMultiplexProgramCommand.js +2 -2
  22. package/dist-cjs/commands/DeleteReservationCommand.js +2 -2
  23. package/dist-cjs/commands/DeleteScheduleCommand.js +2 -2
  24. package/dist-cjs/commands/DeleteTagsCommand.js +1 -1
  25. package/dist-cjs/commands/DescribeChannelCommand.js +2 -2
  26. package/dist-cjs/commands/DescribeInputCommand.js +2 -2
  27. package/dist-cjs/commands/DescribeInputDeviceCommand.js +2 -2
  28. package/dist-cjs/commands/DescribeInputDeviceThumbnailCommand.js +2 -2
  29. package/dist-cjs/commands/DescribeInputSecurityGroupCommand.js +2 -2
  30. package/dist-cjs/commands/DescribeMultiplexCommand.js +2 -2
  31. package/dist-cjs/commands/DescribeMultiplexProgramCommand.js +2 -2
  32. package/dist-cjs/commands/DescribeOfferingCommand.js +2 -2
  33. package/dist-cjs/commands/DescribeReservationCommand.js +2 -2
  34. package/dist-cjs/commands/DescribeScheduleCommand.js +2 -2
  35. package/dist-cjs/commands/ListChannelsCommand.js +2 -2
  36. package/dist-cjs/commands/ListInputDeviceTransfersCommand.js +2 -2
  37. package/dist-cjs/commands/ListInputDevicesCommand.js +2 -2
  38. package/dist-cjs/commands/ListInputSecurityGroupsCommand.js +2 -2
  39. package/dist-cjs/commands/ListInputsCommand.js +2 -2
  40. package/dist-cjs/commands/ListMultiplexProgramsCommand.js +2 -2
  41. package/dist-cjs/commands/ListMultiplexesCommand.js +2 -2
  42. package/dist-cjs/commands/ListOfferingsCommand.js +2 -2
  43. package/dist-cjs/commands/ListReservationsCommand.js +2 -2
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  45. package/dist-cjs/commands/PurchaseOfferingCommand.js +2 -2
  46. package/dist-cjs/commands/RebootInputDeviceCommand.js +36 -0
  47. package/dist-cjs/commands/RejectInputDeviceTransferCommand.js +2 -2
  48. package/dist-cjs/commands/StartChannelCommand.js +2 -2
  49. package/dist-cjs/commands/StartInputDeviceMaintenanceWindowCommand.js +36 -0
  50. package/dist-cjs/commands/StartMultiplexCommand.js +2 -2
  51. package/dist-cjs/commands/StopChannelCommand.js +2 -2
  52. package/dist-cjs/commands/StopMultiplexCommand.js +2 -2
  53. package/dist-cjs/commands/TransferInputDeviceCommand.js +2 -2
  54. package/dist-cjs/commands/UpdateChannelClassCommand.js +2 -2
  55. package/dist-cjs/commands/UpdateChannelCommand.js +2 -2
  56. package/dist-cjs/commands/UpdateInputCommand.js +3 -2
  57. package/dist-cjs/commands/UpdateInputDeviceCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateInputSecurityGroupCommand.js +3 -3
  59. package/dist-cjs/commands/UpdateMultiplexCommand.js +2 -2
  60. package/dist-cjs/commands/UpdateMultiplexProgramCommand.js +2 -2
  61. package/dist-cjs/commands/UpdateReservationCommand.js +2 -2
  62. package/dist-cjs/commands/index.js +2 -0
  63. package/dist-cjs/models/models_0.js +574 -858
  64. package/dist-cjs/models/models_1.js +779 -1164
  65. package/dist-cjs/models/models_2.js +45 -37
  66. package/dist-cjs/protocols/Aws_restJson1.js +171 -3
  67. package/dist-es/MediaLive.js +30 -0
  68. package/dist-es/commands/AcceptInputDeviceTransferCommand.js +3 -3
  69. package/dist-es/commands/BatchDeleteCommand.js +3 -3
  70. package/dist-es/commands/BatchStartCommand.js +3 -3
  71. package/dist-es/commands/BatchStopCommand.js +3 -3
  72. package/dist-es/commands/BatchUpdateScheduleCommand.js +3 -3
  73. package/dist-es/commands/CancelInputDeviceTransferCommand.js +3 -3
  74. package/dist-es/commands/ClaimDeviceCommand.js +3 -3
  75. package/dist-es/commands/CreateChannelCommand.js +3 -3
  76. package/dist-es/commands/CreateInputCommand.js +3 -3
  77. package/dist-es/commands/CreateInputSecurityGroupCommand.js +3 -3
  78. package/dist-es/commands/CreateMultiplexCommand.js +3 -3
  79. package/dist-es/commands/CreateMultiplexProgramCommand.js +3 -3
  80. package/dist-es/commands/CreatePartnerInputCommand.js +3 -3
  81. package/dist-es/commands/CreateTagsCommand.js +2 -2
  82. package/dist-es/commands/DeleteChannelCommand.js +3 -3
  83. package/dist-es/commands/DeleteInputCommand.js +3 -3
  84. package/dist-es/commands/DeleteInputSecurityGroupCommand.js +3 -3
  85. package/dist-es/commands/DeleteMultiplexCommand.js +3 -3
  86. package/dist-es/commands/DeleteMultiplexProgramCommand.js +3 -3
  87. package/dist-es/commands/DeleteReservationCommand.js +3 -3
  88. package/dist-es/commands/DeleteScheduleCommand.js +3 -3
  89. package/dist-es/commands/DeleteTagsCommand.js +2 -2
  90. package/dist-es/commands/DescribeChannelCommand.js +3 -3
  91. package/dist-es/commands/DescribeInputCommand.js +3 -3
  92. package/dist-es/commands/DescribeInputDeviceCommand.js +3 -3
  93. package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +3 -3
  94. package/dist-es/commands/DescribeInputSecurityGroupCommand.js +3 -3
  95. package/dist-es/commands/DescribeMultiplexCommand.js +3 -3
  96. package/dist-es/commands/DescribeMultiplexProgramCommand.js +3 -3
  97. package/dist-es/commands/DescribeOfferingCommand.js +3 -3
  98. package/dist-es/commands/DescribeReservationCommand.js +3 -3
  99. package/dist-es/commands/DescribeScheduleCommand.js +3 -3
  100. package/dist-es/commands/ListChannelsCommand.js +3 -3
  101. package/dist-es/commands/ListInputDeviceTransfersCommand.js +3 -3
  102. package/dist-es/commands/ListInputDevicesCommand.js +3 -3
  103. package/dist-es/commands/ListInputSecurityGroupsCommand.js +3 -3
  104. package/dist-es/commands/ListInputsCommand.js +3 -3
  105. package/dist-es/commands/ListMultiplexProgramsCommand.js +3 -3
  106. package/dist-es/commands/ListMultiplexesCommand.js +3 -3
  107. package/dist-es/commands/ListOfferingsCommand.js +3 -3
  108. package/dist-es/commands/ListReservationsCommand.js +3 -3
  109. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  110. package/dist-es/commands/PurchaseOfferingCommand.js +3 -3
  111. package/dist-es/commands/RebootInputDeviceCommand.js +39 -0
  112. package/dist-es/commands/RejectInputDeviceTransferCommand.js +3 -3
  113. package/dist-es/commands/StartChannelCommand.js +3 -3
  114. package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +39 -0
  115. package/dist-es/commands/StartMultiplexCommand.js +3 -3
  116. package/dist-es/commands/StopChannelCommand.js +3 -3
  117. package/dist-es/commands/StopMultiplexCommand.js +3 -3
  118. package/dist-es/commands/TransferInputDeviceCommand.js +3 -3
  119. package/dist-es/commands/UpdateChannelClassCommand.js +3 -3
  120. package/dist-es/commands/UpdateChannelCommand.js +3 -3
  121. package/dist-es/commands/UpdateInputCommand.js +4 -3
  122. package/dist-es/commands/UpdateInputDeviceCommand.js +3 -3
  123. package/dist-es/commands/UpdateInputSecurityGroupCommand.js +3 -3
  124. package/dist-es/commands/UpdateMultiplexCommand.js +3 -3
  125. package/dist-es/commands/UpdateMultiplexProgramCommand.js +3 -3
  126. package/dist-es/commands/UpdateReservationCommand.js +3 -3
  127. package/dist-es/commands/index.js +2 -0
  128. package/dist-es/models/models_0.js +142 -568
  129. package/dist-es/models/models_1.js +197 -772
  130. package/dist-es/models/models_2.js +11 -24
  131. package/dist-es/protocols/Aws_restJson1.js +224 -0
  132. package/dist-types/MediaLive.d.ts +14 -0
  133. package/dist-types/MediaLiveClient.d.ts +4 -2
  134. package/dist-types/commands/RebootInputDeviceCommand.d.ts +35 -0
  135. package/dist-types/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +35 -0
  136. package/dist-types/commands/UpdateInputCommand.d.ts +2 -1
  137. package/dist-types/commands/UpdateInputDeviceCommand.d.ts +1 -1
  138. package/dist-types/commands/UpdateInputSecurityGroupCommand.d.ts +1 -1
  139. package/dist-types/commands/index.d.ts +2 -0
  140. package/dist-types/models/models_0.d.ts +568 -852
  141. package/dist-types/models/models_1.d.ts +788 -1251
  142. package/dist-types/models/models_2.d.ts +155 -37
  143. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  144. package/dist-types/ts3.4/MediaLive.d.ts +10 -0
  145. package/dist-types/ts3.4/MediaLiveClient.d.ts +4 -2
  146. package/dist-types/ts3.4/commands/RebootInputDeviceCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/StartInputDeviceMaintenanceWindowCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/UpdateInputCommand.d.ts +2 -1
  149. package/dist-types/ts3.4/commands/UpdateInputDeviceCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/UpdateInputSecurityGroupCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  152. package/dist-types/ts3.4/models/models_0.d.ts +284 -568
  153. package/dist-types/ts3.4/models/models_1.d.ts +397 -820
  154. package/dist-types/ts3.4/models/models_2.d.ts +81 -25
  155. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  156. package/package.json +7 -7
@@ -1,25 +1,12 @@
1
1
  import { __assign } from "tslib";
2
- export var UpdateMultiplexRequest;
3
- (function (UpdateMultiplexRequest) {
4
- UpdateMultiplexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(UpdateMultiplexRequest || (UpdateMultiplexRequest = {}));
6
- export var UpdateMultiplexResponse;
7
- (function (UpdateMultiplexResponse) {
8
- UpdateMultiplexResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
- })(UpdateMultiplexResponse || (UpdateMultiplexResponse = {}));
10
- export var UpdateMultiplexProgramRequest;
11
- (function (UpdateMultiplexProgramRequest) {
12
- UpdateMultiplexProgramRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
- })(UpdateMultiplexProgramRequest || (UpdateMultiplexProgramRequest = {}));
14
- export var UpdateMultiplexProgramResponse;
15
- (function (UpdateMultiplexProgramResponse) {
16
- UpdateMultiplexProgramResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(UpdateMultiplexProgramResponse || (UpdateMultiplexProgramResponse = {}));
18
- export var UpdateReservationRequest;
19
- (function (UpdateReservationRequest) {
20
- UpdateReservationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(UpdateReservationRequest || (UpdateReservationRequest = {}));
22
- export var UpdateReservationResponse;
23
- (function (UpdateReservationResponse) {
24
- UpdateReservationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(UpdateReservationResponse || (UpdateReservationResponse = {}));
2
+ export var UpdateInputResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
3
+ export var UpdateInputDeviceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
4
+ export var UpdateInputDeviceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
+ export var UpdateInputSecurityGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ export var UpdateInputSecurityGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
7
+ export var UpdateMultiplexRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
8
+ export var UpdateMultiplexResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
+ export var UpdateMultiplexProgramRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
+ export var UpdateMultiplexProgramResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
11
+ export var UpdateReservationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
12
+ export var UpdateReservationResponseFilterSensitiveLog = 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) {
@@ -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
+ }
@@ -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 { StartInputDeviceMaintenanceWindowRequest, StartInputDeviceMaintenanceWindowResponse } from "../models/models_1";
5
+ export interface StartInputDeviceMaintenanceWindowCommandInput extends StartInputDeviceMaintenanceWindowRequest {
6
+ }
7
+ export interface StartInputDeviceMaintenanceWindowCommandOutput extends StartInputDeviceMaintenanceWindowResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * 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.
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaLiveClient, StartInputDeviceMaintenanceWindowCommand } from "@aws-sdk/client-medialive"; // ES Modules import
15
+ * // const { MediaLiveClient, StartInputDeviceMaintenanceWindowCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
16
+ * const client = new MediaLiveClient(config);
17
+ * const command = new StartInputDeviceMaintenanceWindowCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StartInputDeviceMaintenanceWindowCommandInput} for command's `input` shape.
22
+ * @see {@link StartInputDeviceMaintenanceWindowCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaLiveClientResolvedConfig | config} for MediaLiveClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StartInputDeviceMaintenanceWindowCommand extends $Command<StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput, MediaLiveClientResolvedConfig> {
27
+ readonly input: StartInputDeviceMaintenanceWindowCommandInput;
28
+ constructor(input: StartInputDeviceMaintenanceWindowCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { UpdateInputRequest, UpdateInputResponse } from "../models/models_1";
4
+ import { UpdateInputRequest } from "../models/models_1";
5
+ import { UpdateInputResponse } from "../models/models_2";
5
6
  export interface UpdateInputCommandInput extends UpdateInputRequest {
6
7
  }
7
8
  export interface UpdateInputCommandOutput extends UpdateInputResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { UpdateInputDeviceRequest, UpdateInputDeviceResponse } from "../models/models_1";
4
+ import { UpdateInputDeviceRequest, UpdateInputDeviceResponse } from "../models/models_2";
5
5
  export interface UpdateInputDeviceCommandInput extends UpdateInputDeviceRequest {
6
6
  }
7
7
  export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { UpdateInputSecurityGroupRequest, UpdateInputSecurityGroupResponse } from "../models/models_1";
4
+ import { UpdateInputSecurityGroupRequest, UpdateInputSecurityGroupResponse } from "../models/models_2";
5
5
  export interface UpdateInputSecurityGroupCommandInput extends UpdateInputSecurityGroupRequest {
6
6
  }
7
7
  export interface UpdateInputSecurityGroupCommandOutput extends UpdateInputSecurityGroupResponse, __MetadataBearer {
@@ -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";