@aws-sdk/client-medialive 3.54.1 → 3.58.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 (112) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/MediaLiveClient.js +13 -13
  3. package/dist-cjs/commands/AcceptInputDeviceTransferCommand.js +3 -3
  4. package/dist-cjs/commands/BatchDeleteCommand.js +3 -3
  5. package/dist-cjs/commands/BatchStartCommand.js +3 -3
  6. package/dist-cjs/commands/BatchStopCommand.js +3 -3
  7. package/dist-cjs/commands/BatchUpdateScheduleCommand.js +3 -3
  8. package/dist-cjs/commands/CancelInputDeviceTransferCommand.js +3 -3
  9. package/dist-cjs/commands/ClaimDeviceCommand.js +3 -3
  10. package/dist-cjs/commands/CreateChannelCommand.js +3 -3
  11. package/dist-cjs/commands/CreateInputCommand.js +3 -3
  12. package/dist-cjs/commands/CreateInputSecurityGroupCommand.js +3 -3
  13. package/dist-cjs/commands/CreateMultiplexCommand.js +3 -3
  14. package/dist-cjs/commands/CreateMultiplexProgramCommand.js +3 -3
  15. package/dist-cjs/commands/CreatePartnerInputCommand.js +3 -3
  16. package/dist-cjs/commands/CreateTagsCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteInputCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteInputSecurityGroupCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteMultiplexCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteMultiplexProgramCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteReservationCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteScheduleCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeInputCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeInputDeviceCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeInputDeviceThumbnailCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeInputSecurityGroupCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeMultiplexCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeMultiplexProgramCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeOfferingCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeReservationCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeScheduleCommand.js +3 -3
  35. package/dist-cjs/commands/ListChannelsCommand.js +3 -3
  36. package/dist-cjs/commands/ListInputDeviceTransfersCommand.js +3 -3
  37. package/dist-cjs/commands/ListInputDevicesCommand.js +3 -3
  38. package/dist-cjs/commands/ListInputSecurityGroupsCommand.js +3 -3
  39. package/dist-cjs/commands/ListInputsCommand.js +3 -3
  40. package/dist-cjs/commands/ListMultiplexProgramsCommand.js +3 -3
  41. package/dist-cjs/commands/ListMultiplexesCommand.js +3 -3
  42. package/dist-cjs/commands/ListOfferingsCommand.js +3 -3
  43. package/dist-cjs/commands/ListReservationsCommand.js +3 -3
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  45. package/dist-cjs/commands/PurchaseOfferingCommand.js +3 -3
  46. package/dist-cjs/commands/RejectInputDeviceTransferCommand.js +3 -3
  47. package/dist-cjs/commands/StartChannelCommand.js +3 -3
  48. package/dist-cjs/commands/StartMultiplexCommand.js +3 -3
  49. package/dist-cjs/commands/StopChannelCommand.js +3 -3
  50. package/dist-cjs/commands/StopMultiplexCommand.js +3 -3
  51. package/dist-cjs/commands/TransferInputDeviceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateChannelClassCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateInputCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateInputDeviceCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateInputSecurityGroupCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateMultiplexCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateMultiplexProgramCommand.js +5 -4
  59. package/dist-cjs/commands/UpdateReservationCommand.js +6 -6
  60. package/dist-cjs/endpoints.js +1 -1
  61. package/dist-cjs/models/index.js +1 -0
  62. package/dist-cjs/models/models_0.js +20 -15
  63. package/dist-cjs/models/models_1.js +29 -24
  64. package/dist-cjs/models/models_2.js +21 -0
  65. package/dist-cjs/protocols/Aws_restJson1.js +1085 -1029
  66. package/dist-cjs/runtimeConfig.browser.js +4 -4
  67. package/dist-cjs/runtimeConfig.js +9 -9
  68. package/dist-cjs/runtimeConfig.native.js +1 -1
  69. package/dist-cjs/waiters/waitForChannelCreated.js +3 -3
  70. package/dist-cjs/waiters/waitForChannelDeleted.js +3 -3
  71. package/dist-cjs/waiters/waitForChannelRunning.js +3 -3
  72. package/dist-cjs/waiters/waitForChannelStopped.js +3 -3
  73. package/dist-cjs/waiters/waitForInputAttached.js +3 -3
  74. package/dist-cjs/waiters/waitForInputDeleted.js +3 -3
  75. package/dist-cjs/waiters/waitForInputDetached.js +3 -3
  76. package/dist-cjs/waiters/waitForMultiplexCreated.js +3 -3
  77. package/dist-cjs/waiters/waitForMultiplexDeleted.js +3 -3
  78. package/dist-cjs/waiters/waitForMultiplexRunning.js +3 -3
  79. package/dist-cjs/waiters/waitForMultiplexStopped.js +3 -3
  80. package/dist-es/MediaLive.js +57 -57
  81. package/dist-es/commands/UpdateMultiplexProgramCommand.js +2 -1
  82. package/dist-es/commands/UpdateReservationCommand.js +1 -1
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +14 -9
  85. package/dist-es/models/models_1.js +17 -12
  86. package/dist-es/models/models_2.js +13 -0
  87. package/dist-es/pagination/DescribeSchedulePaginator.js +4 -4
  88. package/dist-es/pagination/ListChannelsPaginator.js +4 -4
  89. package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +4 -4
  90. package/dist-es/pagination/ListInputDevicesPaginator.js +4 -4
  91. package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +4 -4
  92. package/dist-es/pagination/ListInputsPaginator.js +4 -4
  93. package/dist-es/pagination/ListMultiplexProgramsPaginator.js +4 -4
  94. package/dist-es/pagination/ListMultiplexesPaginator.js +4 -4
  95. package/dist-es/pagination/ListOfferingsPaginator.js +4 -4
  96. package/dist-es/pagination/ListReservationsPaginator.js +4 -4
  97. package/dist-es/protocols/Aws_restJson1.js +108 -61
  98. package/dist-types/commands/UpdateMultiplexProgramCommand.d.ts +2 -1
  99. package/dist-types/commands/UpdateReservationCommand.d.ts +1 -1
  100. package/dist-types/models/index.d.ts +1 -0
  101. package/dist-types/models/models_0.d.ts +42 -224
  102. package/dist-types/models/models_1.d.ts +294 -51
  103. package/dist-types/models/models_2.d.ts +50 -0
  104. package/dist-types/runtimeConfig.native.d.ts +2 -2
  105. package/dist-types/ts3.4/commands/UpdateMultiplexProgramCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/UpdateReservationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/models/index.d.ts +1 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +26 -97
  109. package/dist-types/ts3.4/models/models_1.d.ts +136 -30
  110. package/dist-types/ts3.4/models/models_2.d.ts +30 -0
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  112. package/package.json +35 -35
@@ -12,7 +12,7 @@ export var serializeAws_restJson1AcceptInputDeviceTransferCommand = function (in
12
12
  case 1:
13
13
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
14
14
  headers = {};
15
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/accept";
15
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/accept";
16
16
  if (input.InputDeviceId !== undefined) {
17
17
  labelValue = input.InputDeviceId;
18
18
  if (labelValue.length <= 0) {
@@ -45,7 +45,7 @@ export var serializeAws_restJson1BatchDeleteCommand = function (input, context)
45
45
  headers = {
46
46
  "content-type": "application/json",
47
47
  };
48
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/delete";
48
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/delete";
49
49
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ChannelIds !== undefined &&
50
50
  input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.InputIds !== undefined &&
51
51
  input.InputIds !== null && { inputIds: serializeAws_restJson1__listOf__string(input.InputIds, context) })), (input.InputSecurityGroupIds !== undefined &&
@@ -77,7 +77,7 @@ export var serializeAws_restJson1BatchStartCommand = function (input, context) {
77
77
  headers = {
78
78
  "content-type": "application/json",
79
79
  };
80
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/start";
80
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/start";
81
81
  body = JSON.stringify(__assign(__assign({}, (input.ChannelIds !== undefined &&
82
82
  input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds !== undefined &&
83
83
  input.MultiplexIds !== null && {
@@ -105,7 +105,7 @@ export var serializeAws_restJson1BatchStopCommand = function (input, context) {
105
105
  headers = {
106
106
  "content-type": "application/json",
107
107
  };
108
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/stop";
108
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/stop";
109
109
  body = JSON.stringify(__assign(__assign({}, (input.ChannelIds !== undefined &&
110
110
  input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds !== undefined &&
111
111
  input.MultiplexIds !== null && {
@@ -133,7 +133,7 @@ export var serializeAws_restJson1BatchUpdateScheduleCommand = function (input, c
133
133
  headers = {
134
134
  "content-type": "application/json",
135
135
  };
136
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
136
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
137
137
  if (input.ChannelId !== undefined) {
138
138
  labelValue = input.ChannelId;
139
139
  if (labelValue.length <= 0) {
@@ -171,7 +171,7 @@ export var serializeAws_restJson1CancelInputDeviceTransferCommand = function (in
171
171
  case 1:
172
172
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
173
173
  headers = {};
174
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/cancel";
174
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/cancel";
175
175
  if (input.InputDeviceId !== undefined) {
176
176
  labelValue = input.InputDeviceId;
177
177
  if (labelValue.length <= 0) {
@@ -204,7 +204,7 @@ export var serializeAws_restJson1ClaimDeviceCommand = function (input, context)
204
204
  headers = {
205
205
  "content-type": "application/json",
206
206
  };
207
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/claimDevice";
207
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/claimDevice";
208
208
  body = JSON.stringify(__assign({}, (input.Id !== undefined && input.Id !== null && { id: input.Id })));
209
209
  return [2, new __HttpRequest({
210
210
  protocol: protocol,
@@ -229,8 +229,8 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
229
229
  headers = {
230
230
  "content-type": "application/json",
231
231
  };
232
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
233
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
232
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
233
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
234
234
  input.CdiInputSpecification !== null && {
235
235
  cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
236
236
  })), (input.ChannelClass !== undefined && input.ChannelClass !== null && { channelClass: input.ChannelClass })), (input.Destinations !== undefined &&
@@ -245,7 +245,10 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
245
245
  })), (input.InputSpecification !== undefined &&
246
246
  input.InputSpecification !== null && {
247
247
  inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
248
- })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Vpc !== undefined &&
248
+ })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Maintenance !== undefined &&
249
+ input.Maintenance !== null && {
250
+ maintenance: serializeAws_restJson1MaintenanceCreateSettings(input.Maintenance, context),
251
+ })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Vpc !== undefined &&
249
252
  input.Vpc !== null && { vpc: serializeAws_restJson1VpcOutputSettings(input.Vpc, context) })));
250
253
  return [2, new __HttpRequest({
251
254
  protocol: protocol,
@@ -270,7 +273,7 @@ export var serializeAws_restJson1CreateInputCommand = function (input, context)
270
273
  headers = {
271
274
  "content-type": "application/json",
272
275
  };
273
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
276
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
274
277
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations !== undefined &&
275
278
  input.Destinations !== null && {
276
279
  destinations: serializeAws_restJson1__listOfInputDestinationRequest(input.Destinations, context),
@@ -308,7 +311,7 @@ export var serializeAws_restJson1CreateInputSecurityGroupCommand = function (inp
308
311
  headers = {
309
312
  "content-type": "application/json",
310
313
  };
311
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
314
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
312
315
  body = JSON.stringify(__assign(__assign({}, (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.WhitelistRules !== undefined &&
313
316
  input.WhitelistRules !== null && {
314
317
  whitelistRules: serializeAws_restJson1__listOfInputWhitelistRuleCidr(input.WhitelistRules, context),
@@ -336,7 +339,7 @@ export var serializeAws_restJson1CreateMultiplexCommand = function (input, conte
336
339
  headers = {
337
340
  "content-type": "application/json",
338
341
  };
339
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
342
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
340
343
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones !== undefined &&
341
344
  input.AvailabilityZones !== null && {
342
345
  availabilityZones: serializeAws_restJson1__listOf__string(input.AvailabilityZones, context),
@@ -367,7 +370,7 @@ export var serializeAws_restJson1CreateMultiplexProgramCommand = function (input
367
370
  headers = {
368
371
  "content-type": "application/json",
369
372
  };
370
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
373
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
371
374
  if (input.MultiplexId !== undefined) {
372
375
  labelValue = input.MultiplexId;
373
376
  if (labelValue.length <= 0) {
@@ -405,7 +408,7 @@ export var serializeAws_restJson1CreatePartnerInputCommand = function (input, co
405
408
  headers = {
406
409
  "content-type": "application/json",
407
410
  };
408
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}/partners";
411
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}/partners";
409
412
  if (input.InputId !== undefined) {
410
413
  labelValue = input.InputId;
411
414
  if (labelValue.length <= 0) {
@@ -439,7 +442,7 @@ export var serializeAws_restJson1CreateTagsCommand = function (input, context) {
439
442
  headers = {
440
443
  "content-type": "application/json",
441
444
  };
442
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
445
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
443
446
  if (input.ResourceArn !== undefined) {
444
447
  labelValue = input.ResourceArn;
445
448
  if (labelValue.length <= 0) {
@@ -471,7 +474,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
471
474
  case 1:
472
475
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
473
476
  headers = {};
474
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
477
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
475
478
  if (input.ChannelId !== undefined) {
476
479
  labelValue = input.ChannelId;
477
480
  if (labelValue.length <= 0) {
@@ -502,7 +505,7 @@ export var serializeAws_restJson1DeleteInputCommand = function (input, context)
502
505
  case 1:
503
506
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
504
507
  headers = {};
505
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
508
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
506
509
  if (input.InputId !== undefined) {
507
510
  labelValue = input.InputId;
508
511
  if (labelValue.length <= 0) {
@@ -533,7 +536,7 @@ export var serializeAws_restJson1DeleteInputSecurityGroupCommand = function (inp
533
536
  case 1:
534
537
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
535
538
  headers = {};
536
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
539
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
537
540
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
538
541
  if (input.InputSecurityGroupId !== undefined) {
539
542
  labelValue = input.InputSecurityGroupId;
@@ -565,7 +568,7 @@ export var serializeAws_restJson1DeleteMultiplexCommand = function (input, conte
565
568
  case 1:
566
569
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
567
570
  headers = {};
568
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
571
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
569
572
  if (input.MultiplexId !== undefined) {
570
573
  labelValue = input.MultiplexId;
571
574
  if (labelValue.length <= 0) {
@@ -596,7 +599,7 @@ export var serializeAws_restJson1DeleteMultiplexProgramCommand = function (input
596
599
  case 1:
597
600
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
598
601
  headers = {};
599
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
602
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
600
603
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
601
604
  if (input.MultiplexId !== undefined) {
602
605
  labelValue = input.MultiplexId;
@@ -638,7 +641,7 @@ export var serializeAws_restJson1DeleteReservationCommand = function (input, con
638
641
  case 1:
639
642
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
640
643
  headers = {};
641
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
644
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
642
645
  if (input.ReservationId !== undefined) {
643
646
  labelValue = input.ReservationId;
644
647
  if (labelValue.length <= 0) {
@@ -669,7 +672,7 @@ export var serializeAws_restJson1DeleteScheduleCommand = function (input, contex
669
672
  case 1:
670
673
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
671
674
  headers = {};
672
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
675
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
673
676
  if (input.ChannelId !== undefined) {
674
677
  labelValue = input.ChannelId;
675
678
  if (labelValue.length <= 0) {
@@ -700,7 +703,7 @@ export var serializeAws_restJson1DeleteTagsCommand = function (input, context) {
700
703
  case 1:
701
704
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
702
705
  headers = {};
703
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
706
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
704
707
  if (input.ResourceArn !== undefined) {
705
708
  labelValue = input.ResourceArn;
706
709
  if (labelValue.length <= 0) {
@@ -733,7 +736,7 @@ export var serializeAws_restJson1DescribeChannelCommand = function (input, conte
733
736
  case 1:
734
737
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
735
738
  headers = {};
736
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
739
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
737
740
  if (input.ChannelId !== undefined) {
738
741
  labelValue = input.ChannelId;
739
742
  if (labelValue.length <= 0) {
@@ -764,7 +767,7 @@ export var serializeAws_restJson1DescribeInputCommand = function (input, context
764
767
  case 1:
765
768
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
766
769
  headers = {};
767
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
770
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
768
771
  if (input.InputId !== undefined) {
769
772
  labelValue = input.InputId;
770
773
  if (labelValue.length <= 0) {
@@ -795,7 +798,7 @@ export var serializeAws_restJson1DescribeInputDeviceCommand = function (input, c
795
798
  case 1:
796
799
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
797
800
  headers = {};
798
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
801
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
799
802
  if (input.InputDeviceId !== undefined) {
800
803
  labelValue = input.InputDeviceId;
801
804
  if (labelValue.length <= 0) {
@@ -826,7 +829,7 @@ export var serializeAws_restJson1DescribeInputDeviceThumbnailCommand = function
826
829
  case 1:
827
830
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
828
831
  headers = __assign({}, (isSerializableHeaderValue(input.Accept) && { accept: input.Accept }));
829
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
832
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
830
833
  "/prod/inputDevices/{InputDeviceId}/thumbnailData";
831
834
  if (input.InputDeviceId !== undefined) {
832
835
  labelValue = input.InputDeviceId;
@@ -858,7 +861,7 @@ export var serializeAws_restJson1DescribeInputSecurityGroupCommand = function (i
858
861
  case 1:
859
862
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
860
863
  headers = {};
861
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
864
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
862
865
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
863
866
  if (input.InputSecurityGroupId !== undefined) {
864
867
  labelValue = input.InputSecurityGroupId;
@@ -890,7 +893,7 @@ export var serializeAws_restJson1DescribeMultiplexCommand = function (input, con
890
893
  case 1:
891
894
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
892
895
  headers = {};
893
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
896
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
894
897
  if (input.MultiplexId !== undefined) {
895
898
  labelValue = input.MultiplexId;
896
899
  if (labelValue.length <= 0) {
@@ -921,7 +924,7 @@ export var serializeAws_restJson1DescribeMultiplexProgramCommand = function (inp
921
924
  case 1:
922
925
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
923
926
  headers = {};
924
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
927
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
925
928
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
926
929
  if (input.MultiplexId !== undefined) {
927
930
  labelValue = input.MultiplexId;
@@ -963,7 +966,7 @@ export var serializeAws_restJson1DescribeOfferingCommand = function (input, cont
963
966
  case 1:
964
967
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
965
968
  headers = {};
966
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}";
969
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}";
967
970
  if (input.OfferingId !== undefined) {
968
971
  labelValue = input.OfferingId;
969
972
  if (labelValue.length <= 0) {
@@ -994,7 +997,7 @@ export var serializeAws_restJson1DescribeReservationCommand = function (input, c
994
997
  case 1:
995
998
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
996
999
  headers = {};
997
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
1000
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
998
1001
  if (input.ReservationId !== undefined) {
999
1002
  labelValue = input.ReservationId;
1000
1003
  if (labelValue.length <= 0) {
@@ -1025,7 +1028,7 @@ export var serializeAws_restJson1DescribeScheduleCommand = function (input, cont
1025
1028
  case 1:
1026
1029
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1027
1030
  headers = {};
1028
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
1031
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
1029
1032
  if (input.ChannelId !== undefined) {
1030
1033
  labelValue = input.ChannelId;
1031
1034
  if (labelValue.length <= 0) {
@@ -1058,7 +1061,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
1058
1061
  case 1:
1059
1062
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1060
1063
  headers = {};
1061
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
1064
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
1062
1065
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1063
1066
  return [2, new __HttpRequest({
1064
1067
  protocol: protocol,
@@ -1081,7 +1084,7 @@ export var serializeAws_restJson1ListInputDevicesCommand = function (input, cont
1081
1084
  case 1:
1082
1085
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1083
1086
  headers = {};
1084
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices";
1087
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices";
1085
1088
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1086
1089
  return [2, new __HttpRequest({
1087
1090
  protocol: protocol,
@@ -1104,7 +1107,7 @@ export var serializeAws_restJson1ListInputDeviceTransfersCommand = function (inp
1104
1107
  case 1:
1105
1108
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1106
1109
  headers = {};
1107
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDeviceTransfers";
1110
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDeviceTransfers";
1108
1111
  query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.TransferType !== undefined && { transferType: input.TransferType }));
1109
1112
  return [2, new __HttpRequest({
1110
1113
  protocol: protocol,
@@ -1127,7 +1130,7 @@ export var serializeAws_restJson1ListInputsCommand = function (input, context) {
1127
1130
  case 1:
1128
1131
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1129
1132
  headers = {};
1130
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
1133
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
1131
1134
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1132
1135
  return [2, new __HttpRequest({
1133
1136
  protocol: protocol,
@@ -1150,7 +1153,7 @@ export var serializeAws_restJson1ListInputSecurityGroupsCommand = function (inpu
1150
1153
  case 1:
1151
1154
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1152
1155
  headers = {};
1153
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
1156
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
1154
1157
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1155
1158
  return [2, new __HttpRequest({
1156
1159
  protocol: protocol,
@@ -1173,7 +1176,7 @@ export var serializeAws_restJson1ListMultiplexesCommand = function (input, conte
1173
1176
  case 1:
1174
1177
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1175
1178
  headers = {};
1176
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
1179
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
1177
1180
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1178
1181
  return [2, new __HttpRequest({
1179
1182
  protocol: protocol,
@@ -1196,7 +1199,7 @@ export var serializeAws_restJson1ListMultiplexProgramsCommand = function (input,
1196
1199
  case 1:
1197
1200
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1198
1201
  headers = {};
1199
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
1202
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
1200
1203
  if (input.MultiplexId !== undefined) {
1201
1204
  labelValue = input.MultiplexId;
1202
1205
  if (labelValue.length <= 0) {
@@ -1229,7 +1232,7 @@ export var serializeAws_restJson1ListOfferingsCommand = function (input, context
1229
1232
  case 1:
1230
1233
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1231
1234
  headers = {};
1232
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings";
1235
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings";
1233
1236
  query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelClass !== undefined && { channelClass: input.ChannelClass })), (input.ChannelConfiguration !== undefined && { channelConfiguration: input.ChannelConfiguration })), (input.Codec !== undefined && { codec: input.Codec })), (input.Duration !== undefined && { duration: input.Duration })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.MaximumBitrate !== undefined && { maximumBitrate: input.MaximumBitrate })), (input.MaximumFramerate !== undefined && { maximumFramerate: input.MaximumFramerate })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Resolution !== undefined && { resolution: input.Resolution })), (input.ResourceType !== undefined && { resourceType: input.ResourceType })), (input.SpecialFeature !== undefined && { specialFeature: input.SpecialFeature })), (input.VideoQuality !== undefined && { videoQuality: input.VideoQuality }));
1234
1237
  return [2, new __HttpRequest({
1235
1238
  protocol: protocol,
@@ -1252,7 +1255,7 @@ export var serializeAws_restJson1ListReservationsCommand = function (input, cont
1252
1255
  case 1:
1253
1256
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1254
1257
  headers = {};
1255
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations";
1258
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations";
1256
1259
  query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelClass !== undefined && { channelClass: input.ChannelClass })), (input.Codec !== undefined && { codec: input.Codec })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.MaximumBitrate !== undefined && { maximumBitrate: input.MaximumBitrate })), (input.MaximumFramerate !== undefined && { maximumFramerate: input.MaximumFramerate })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Resolution !== undefined && { resolution: input.Resolution })), (input.ResourceType !== undefined && { resourceType: input.ResourceType })), (input.SpecialFeature !== undefined && { specialFeature: input.SpecialFeature })), (input.VideoQuality !== undefined && { videoQuality: input.VideoQuality }));
1257
1260
  return [2, new __HttpRequest({
1258
1261
  protocol: protocol,
@@ -1275,7 +1278,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
1275
1278
  case 1:
1276
1279
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1277
1280
  headers = {};
1278
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
1281
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
1279
1282
  if (input.ResourceArn !== undefined) {
1280
1283
  labelValue = input.ResourceArn;
1281
1284
  if (labelValue.length <= 0) {
@@ -1309,7 +1312,7 @@ export var serializeAws_restJson1PurchaseOfferingCommand = function (input, cont
1309
1312
  headers = {
1310
1313
  "content-type": "application/json",
1311
1314
  };
1312
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}/purchase";
1315
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}/purchase";
1313
1316
  if (input.OfferingId !== undefined) {
1314
1317
  labelValue = input.OfferingId;
1315
1318
  if (labelValue.length <= 0) {
@@ -1341,7 +1344,7 @@ export var serializeAws_restJson1RejectInputDeviceTransferCommand = function (in
1341
1344
  case 1:
1342
1345
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1343
1346
  headers = {};
1344
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/reject";
1347
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/reject";
1345
1348
  if (input.InputDeviceId !== undefined) {
1346
1349
  labelValue = input.InputDeviceId;
1347
1350
  if (labelValue.length <= 0) {
@@ -1372,7 +1375,7 @@ export var serializeAws_restJson1StartChannelCommand = function (input, context)
1372
1375
  case 1:
1373
1376
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1374
1377
  headers = {};
1375
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/start";
1378
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/start";
1376
1379
  if (input.ChannelId !== undefined) {
1377
1380
  labelValue = input.ChannelId;
1378
1381
  if (labelValue.length <= 0) {
@@ -1403,7 +1406,7 @@ export var serializeAws_restJson1StartMultiplexCommand = function (input, contex
1403
1406
  case 1:
1404
1407
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1405
1408
  headers = {};
1406
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/start";
1409
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/start";
1407
1410
  if (input.MultiplexId !== undefined) {
1408
1411
  labelValue = input.MultiplexId;
1409
1412
  if (labelValue.length <= 0) {
@@ -1434,7 +1437,7 @@ export var serializeAws_restJson1StopChannelCommand = function (input, context)
1434
1437
  case 1:
1435
1438
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1436
1439
  headers = {};
1437
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/stop";
1440
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/stop";
1438
1441
  if (input.ChannelId !== undefined) {
1439
1442
  labelValue = input.ChannelId;
1440
1443
  if (labelValue.length <= 0) {
@@ -1465,7 +1468,7 @@ export var serializeAws_restJson1StopMultiplexCommand = function (input, context
1465
1468
  case 1:
1466
1469
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1467
1470
  headers = {};
1468
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/stop";
1471
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/stop";
1469
1472
  if (input.MultiplexId !== undefined) {
1470
1473
  labelValue = input.MultiplexId;
1471
1474
  if (labelValue.length <= 0) {
@@ -1498,7 +1501,7 @@ export var serializeAws_restJson1TransferInputDeviceCommand = function (input, c
1498
1501
  headers = {
1499
1502
  "content-type": "application/json",
1500
1503
  };
1501
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1504
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1502
1505
  "/prod/inputDevices/{InputDeviceId}/transfer";
1503
1506
  if (input.InputDeviceId !== undefined) {
1504
1507
  labelValue = input.InputDeviceId;
@@ -1535,7 +1538,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1535
1538
  headers = {
1536
1539
  "content-type": "application/json",
1537
1540
  };
1538
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
1541
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
1539
1542
  if (input.ChannelId !== undefined) {
1540
1543
  labelValue = input.ChannelId;
1541
1544
  if (labelValue.length <= 0) {
@@ -1546,7 +1549,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1546
1549
  else {
1547
1550
  throw new Error("No value provided for input HTTP label: ChannelId.");
1548
1551
  }
1549
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
1552
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification !== undefined &&
1550
1553
  input.CdiInputSpecification !== null && {
1551
1554
  cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
1552
1555
  })), (input.Destinations !== undefined &&
@@ -1561,7 +1564,10 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1561
1564
  })), (input.InputSpecification !== undefined &&
1562
1565
  input.InputSpecification !== null && {
1563
1566
  inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
1564
- })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })));
1567
+ })), (input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel })), (input.Maintenance !== undefined &&
1568
+ input.Maintenance !== null && {
1569
+ maintenance: serializeAws_restJson1MaintenanceUpdateSettings(input.Maintenance, context),
1570
+ })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn })));
1565
1571
  return [2, new __HttpRequest({
1566
1572
  protocol: protocol,
1567
1573
  hostname: hostname,
@@ -1584,7 +1590,7 @@ export var serializeAws_restJson1UpdateChannelClassCommand = function (input, co
1584
1590
  headers = {
1585
1591
  "content-type": "application/json",
1586
1592
  };
1587
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/channelClass";
1593
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/channelClass";
1588
1594
  if (input.ChannelId !== undefined) {
1589
1595
  labelValue = input.ChannelId;
1590
1596
  if (labelValue.length <= 0) {
@@ -1621,7 +1627,7 @@ export var serializeAws_restJson1UpdateInputCommand = function (input, context)
1621
1627
  headers = {
1622
1628
  "content-type": "application/json",
1623
1629
  };
1624
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
1630
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
1625
1631
  if (input.InputId !== undefined) {
1626
1632
  labelValue = input.InputId;
1627
1633
  if (labelValue.length <= 0) {
@@ -1668,7 +1674,7 @@ export var serializeAws_restJson1UpdateInputDeviceCommand = function (input, con
1668
1674
  headers = {
1669
1675
  "content-type": "application/json",
1670
1676
  };
1671
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
1677
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
1672
1678
  if (input.InputDeviceId !== undefined) {
1673
1679
  labelValue = input.InputDeviceId;
1674
1680
  if (labelValue.length <= 0) {
@@ -1708,7 +1714,7 @@ export var serializeAws_restJson1UpdateInputSecurityGroupCommand = function (inp
1708
1714
  headers = {
1709
1715
  "content-type": "application/json",
1710
1716
  };
1711
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1717
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1712
1718
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
1713
1719
  if (input.InputSecurityGroupId !== undefined) {
1714
1720
  labelValue = input.InputSecurityGroupId;
@@ -1746,7 +1752,7 @@ export var serializeAws_restJson1UpdateMultiplexCommand = function (input, conte
1746
1752
  headers = {
1747
1753
  "content-type": "application/json",
1748
1754
  };
1749
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
1755
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
1750
1756
  if (input.MultiplexId !== undefined) {
1751
1757
  labelValue = input.MultiplexId;
1752
1758
  if (labelValue.length <= 0) {
@@ -1783,7 +1789,7 @@ export var serializeAws_restJson1UpdateMultiplexProgramCommand = function (input
1783
1789
  headers = {
1784
1790
  "content-type": "application/json",
1785
1791
  };
1786
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1792
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1787
1793
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
1788
1794
  if (input.MultiplexId !== undefined) {
1789
1795
  labelValue = input.MultiplexId;
@@ -1831,7 +1837,7 @@ export var serializeAws_restJson1UpdateReservationCommand = function (input, con
1831
1837
  headers = {
1832
1838
  "content-type": "application/json",
1833
1839
  };
1834
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
1840
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
1835
1841
  if (input.ReservationId !== undefined) {
1836
1842
  labelValue = input.ReservationId;
1837
1843
  if (labelValue.length <= 0) {
@@ -3011,6 +3017,7 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3011
3017
  InputAttachments: undefined,
3012
3018
  InputSpecification: undefined,
3013
3019
  LogLevel: undefined,
3020
+ Maintenance: undefined,
3014
3021
  Name: undefined,
3015
3022
  PipelineDetails: undefined,
3016
3023
  PipelinesRunningCount: undefined,
@@ -3054,6 +3061,9 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3054
3061
  if (data.logLevel !== undefined && data.logLevel !== null) {
3055
3062
  contents.LogLevel = __expectString(data.logLevel);
3056
3063
  }
3064
+ if (data.maintenance !== undefined && data.maintenance !== null) {
3065
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
3066
+ }
3057
3067
  if (data.name !== undefined && data.name !== null) {
3058
3068
  contents.Name = __expectString(data.name);
3059
3069
  }
@@ -3819,6 +3829,7 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
3819
3829
  InputAttachments: undefined,
3820
3830
  InputSpecification: undefined,
3821
3831
  LogLevel: undefined,
3832
+ Maintenance: undefined,
3822
3833
  Name: undefined,
3823
3834
  PipelineDetails: undefined,
3824
3835
  PipelinesRunningCount: undefined,
@@ -3862,6 +3873,9 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
3862
3873
  if (data.logLevel !== undefined && data.logLevel !== null) {
3863
3874
  contents.LogLevel = __expectString(data.logLevel);
3864
3875
  }
3876
+ if (data.maintenance !== undefined && data.maintenance !== null) {
3877
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
3878
+ }
3865
3879
  if (data.name !== undefined && data.name !== null) {
3866
3880
  contents.Name = __expectString(data.name);
3867
3881
  }
@@ -5940,6 +5954,7 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
5940
5954
  InputAttachments: undefined,
5941
5955
  InputSpecification: undefined,
5942
5956
  LogLevel: undefined,
5957
+ Maintenance: undefined,
5943
5958
  Name: undefined,
5944
5959
  PipelineDetails: undefined,
5945
5960
  PipelinesRunningCount: undefined,
@@ -5983,6 +5998,9 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
5983
5998
  if (data.logLevel !== undefined && data.logLevel !== null) {
5984
5999
  contents.LogLevel = __expectString(data.logLevel);
5985
6000
  }
6001
+ if (data.maintenance !== undefined && data.maintenance !== null) {
6002
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
6003
+ }
5986
6004
  if (data.name !== undefined && data.name !== null) {
5987
6005
  contents.Name = __expectString(data.name);
5988
6006
  }
@@ -6208,6 +6226,7 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
6208
6226
  InputAttachments: undefined,
6209
6227
  InputSpecification: undefined,
6210
6228
  LogLevel: undefined,
6229
+ Maintenance: undefined,
6211
6230
  Name: undefined,
6212
6231
  PipelineDetails: undefined,
6213
6232
  PipelinesRunningCount: undefined,
@@ -6251,6 +6270,9 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
6251
6270
  if (data.logLevel !== undefined && data.logLevel !== null) {
6252
6271
  contents.LogLevel = __expectString(data.logLevel);
6253
6272
  }
6273
+ if (data.maintenance !== undefined && data.maintenance !== null) {
6274
+ contents.Maintenance = deserializeAws_restJson1MaintenanceStatus(data.maintenance, context);
6275
+ }
6254
6276
  if (data.name !== undefined && data.name !== null) {
6255
6277
  contents.Name = __expectString(data.name);
6256
6278
  }
@@ -8467,6 +8489,17 @@ var serializeAws_restJson1M3u8Settings = function (input, context) {
8467
8489
  input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
8468
8490
  input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
8469
8491
  };
8492
+ var serializeAws_restJson1MaintenanceCreateSettings = function (input, context) {
8493
+ return __assign(__assign({}, (input.MaintenanceDay !== undefined &&
8494
+ input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceStartTime !== undefined &&
8495
+ input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
8496
+ };
8497
+ var serializeAws_restJson1MaintenanceUpdateSettings = function (input, context) {
8498
+ return __assign(__assign(__assign({}, (input.MaintenanceDay !== undefined &&
8499
+ input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceScheduledDate !== undefined &&
8500
+ input.MaintenanceScheduledDate !== null && { maintenanceScheduledDate: input.MaintenanceScheduledDate })), (input.MaintenanceStartTime !== undefined &&
8501
+ input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
8502
+ };
8470
8503
  var serializeAws_restJson1MediaConnectFlowRequest = function (input, context) {
8471
8504
  return __assign({}, (input.FlowArn !== undefined && input.FlowArn !== null && { flowArn: input.FlowArn }));
8472
8505
  };
@@ -9972,6 +10005,9 @@ var deserializeAws_restJson1Channel = function (output, context) {
9972
10005
  ? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
9973
10006
  : undefined,
9974
10007
  LogLevel: __expectString(output.logLevel),
10008
+ Maintenance: output.maintenance !== undefined && output.maintenance !== null
10009
+ ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
10010
+ : undefined,
9975
10011
  Name: __expectString(output.name),
9976
10012
  PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
9977
10013
  ? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
@@ -10013,6 +10049,9 @@ var deserializeAws_restJson1ChannelSummary = function (output, context) {
10013
10049
  ? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
10014
10050
  : undefined,
10015
10051
  LogLevel: __expectString(output.logLevel),
10052
+ Maintenance: output.maintenance !== undefined && output.maintenance !== null
10053
+ ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
10054
+ : undefined,
10016
10055
  Name: __expectString(output.name),
10017
10056
  PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
10018
10057
  RoleArn: __expectString(output.roleArn),
@@ -10896,6 +10935,14 @@ var deserializeAws_restJson1M3u8Settings = function (output, context) {
10896
10935
  VideoPid: __expectString(output.videoPid),
10897
10936
  };
10898
10937
  };
10938
+ var deserializeAws_restJson1MaintenanceStatus = function (output, context) {
10939
+ return {
10940
+ MaintenanceDay: __expectString(output.maintenanceDay),
10941
+ MaintenanceDeadline: __expectString(output.maintenanceDeadline),
10942
+ MaintenanceScheduledDate: __expectString(output.maintenanceScheduledDate),
10943
+ MaintenanceStartTime: __expectString(output.maintenanceStartTime),
10944
+ };
10945
+ };
10899
10946
  var deserializeAws_restJson1MediaConnectFlow = function (output, context) {
10900
10947
  return {
10901
10948
  FlowArn: __expectString(output.flowArn),