@aws-sdk/client-medialive 3.54.1 → 3.55.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 (90) hide show
  1. package/CHANGELOG.md +8 -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 +3 -3
  59. package/dist-cjs/commands/UpdateReservationCommand.js +3 -3
  60. package/dist-cjs/endpoints.js +1 -1
  61. package/dist-cjs/protocols/Aws_restJson1.js +1029 -1029
  62. package/dist-cjs/runtimeConfig.browser.js +4 -4
  63. package/dist-cjs/runtimeConfig.js +9 -9
  64. package/dist-cjs/runtimeConfig.native.js +1 -1
  65. package/dist-cjs/waiters/waitForChannelCreated.js +3 -3
  66. package/dist-cjs/waiters/waitForChannelDeleted.js +3 -3
  67. package/dist-cjs/waiters/waitForChannelRunning.js +3 -3
  68. package/dist-cjs/waiters/waitForChannelStopped.js +3 -3
  69. package/dist-cjs/waiters/waitForInputAttached.js +3 -3
  70. package/dist-cjs/waiters/waitForInputDeleted.js +3 -3
  71. package/dist-cjs/waiters/waitForInputDetached.js +3 -3
  72. package/dist-cjs/waiters/waitForMultiplexCreated.js +3 -3
  73. package/dist-cjs/waiters/waitForMultiplexDeleted.js +3 -3
  74. package/dist-cjs/waiters/waitForMultiplexRunning.js +3 -3
  75. package/dist-cjs/waiters/waitForMultiplexStopped.js +3 -3
  76. package/dist-es/MediaLive.js +57 -57
  77. package/dist-es/pagination/DescribeSchedulePaginator.js +4 -4
  78. package/dist-es/pagination/ListChannelsPaginator.js +4 -4
  79. package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +4 -4
  80. package/dist-es/pagination/ListInputDevicesPaginator.js +4 -4
  81. package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +4 -4
  82. package/dist-es/pagination/ListInputsPaginator.js +4 -4
  83. package/dist-es/pagination/ListMultiplexProgramsPaginator.js +4 -4
  84. package/dist-es/pagination/ListMultiplexesPaginator.js +4 -4
  85. package/dist-es/pagination/ListOfferingsPaginator.js +4 -4
  86. package/dist-es/pagination/ListReservationsPaginator.js +4 -4
  87. package/dist-es/protocols/Aws_restJson1.js +57 -57
  88. package/dist-types/runtimeConfig.native.d.ts +2 -2
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  90. 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,7 +229,7 @@ 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";
232
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
233
233
  body = JSON.stringify(__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),
@@ -270,7 +270,7 @@ export var serializeAws_restJson1CreateInputCommand = function (input, context)
270
270
  headers = {
271
271
  "content-type": "application/json",
272
272
  };
273
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
273
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
274
274
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations !== undefined &&
275
275
  input.Destinations !== null && {
276
276
  destinations: serializeAws_restJson1__listOfInputDestinationRequest(input.Destinations, context),
@@ -308,7 +308,7 @@ export var serializeAws_restJson1CreateInputSecurityGroupCommand = function (inp
308
308
  headers = {
309
309
  "content-type": "application/json",
310
310
  };
311
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
311
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
312
312
  body = JSON.stringify(__assign(__assign({}, (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.WhitelistRules !== undefined &&
313
313
  input.WhitelistRules !== null && {
314
314
  whitelistRules: serializeAws_restJson1__listOfInputWhitelistRuleCidr(input.WhitelistRules, context),
@@ -336,7 +336,7 @@ export var serializeAws_restJson1CreateMultiplexCommand = function (input, conte
336
336
  headers = {
337
337
  "content-type": "application/json",
338
338
  };
339
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
339
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
340
340
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones !== undefined &&
341
341
  input.AvailabilityZones !== null && {
342
342
  availabilityZones: serializeAws_restJson1__listOf__string(input.AvailabilityZones, context),
@@ -367,7 +367,7 @@ export var serializeAws_restJson1CreateMultiplexProgramCommand = function (input
367
367
  headers = {
368
368
  "content-type": "application/json",
369
369
  };
370
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
370
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
371
371
  if (input.MultiplexId !== undefined) {
372
372
  labelValue = input.MultiplexId;
373
373
  if (labelValue.length <= 0) {
@@ -405,7 +405,7 @@ export var serializeAws_restJson1CreatePartnerInputCommand = function (input, co
405
405
  headers = {
406
406
  "content-type": "application/json",
407
407
  };
408
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}/partners";
408
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}/partners";
409
409
  if (input.InputId !== undefined) {
410
410
  labelValue = input.InputId;
411
411
  if (labelValue.length <= 0) {
@@ -439,7 +439,7 @@ export var serializeAws_restJson1CreateTagsCommand = function (input, context) {
439
439
  headers = {
440
440
  "content-type": "application/json",
441
441
  };
442
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
442
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
443
443
  if (input.ResourceArn !== undefined) {
444
444
  labelValue = input.ResourceArn;
445
445
  if (labelValue.length <= 0) {
@@ -471,7 +471,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
471
471
  case 1:
472
472
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
473
473
  headers = {};
474
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
474
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
475
475
  if (input.ChannelId !== undefined) {
476
476
  labelValue = input.ChannelId;
477
477
  if (labelValue.length <= 0) {
@@ -502,7 +502,7 @@ export var serializeAws_restJson1DeleteInputCommand = function (input, context)
502
502
  case 1:
503
503
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
504
504
  headers = {};
505
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
505
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
506
506
  if (input.InputId !== undefined) {
507
507
  labelValue = input.InputId;
508
508
  if (labelValue.length <= 0) {
@@ -533,7 +533,7 @@ export var serializeAws_restJson1DeleteInputSecurityGroupCommand = function (inp
533
533
  case 1:
534
534
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
535
535
  headers = {};
536
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
536
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
537
537
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
538
538
  if (input.InputSecurityGroupId !== undefined) {
539
539
  labelValue = input.InputSecurityGroupId;
@@ -565,7 +565,7 @@ export var serializeAws_restJson1DeleteMultiplexCommand = function (input, conte
565
565
  case 1:
566
566
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
567
567
  headers = {};
568
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
568
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
569
569
  if (input.MultiplexId !== undefined) {
570
570
  labelValue = input.MultiplexId;
571
571
  if (labelValue.length <= 0) {
@@ -596,7 +596,7 @@ export var serializeAws_restJson1DeleteMultiplexProgramCommand = function (input
596
596
  case 1:
597
597
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
598
598
  headers = {};
599
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
599
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
600
600
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
601
601
  if (input.MultiplexId !== undefined) {
602
602
  labelValue = input.MultiplexId;
@@ -638,7 +638,7 @@ export var serializeAws_restJson1DeleteReservationCommand = function (input, con
638
638
  case 1:
639
639
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
640
640
  headers = {};
641
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
641
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
642
642
  if (input.ReservationId !== undefined) {
643
643
  labelValue = input.ReservationId;
644
644
  if (labelValue.length <= 0) {
@@ -669,7 +669,7 @@ export var serializeAws_restJson1DeleteScheduleCommand = function (input, contex
669
669
  case 1:
670
670
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
671
671
  headers = {};
672
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
672
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
673
673
  if (input.ChannelId !== undefined) {
674
674
  labelValue = input.ChannelId;
675
675
  if (labelValue.length <= 0) {
@@ -700,7 +700,7 @@ export var serializeAws_restJson1DeleteTagsCommand = function (input, context) {
700
700
  case 1:
701
701
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
702
702
  headers = {};
703
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
703
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
704
704
  if (input.ResourceArn !== undefined) {
705
705
  labelValue = input.ResourceArn;
706
706
  if (labelValue.length <= 0) {
@@ -733,7 +733,7 @@ export var serializeAws_restJson1DescribeChannelCommand = function (input, conte
733
733
  case 1:
734
734
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
735
735
  headers = {};
736
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
736
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
737
737
  if (input.ChannelId !== undefined) {
738
738
  labelValue = input.ChannelId;
739
739
  if (labelValue.length <= 0) {
@@ -764,7 +764,7 @@ export var serializeAws_restJson1DescribeInputCommand = function (input, context
764
764
  case 1:
765
765
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
766
766
  headers = {};
767
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
767
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
768
768
  if (input.InputId !== undefined) {
769
769
  labelValue = input.InputId;
770
770
  if (labelValue.length <= 0) {
@@ -795,7 +795,7 @@ export var serializeAws_restJson1DescribeInputDeviceCommand = function (input, c
795
795
  case 1:
796
796
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
797
797
  headers = {};
798
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
798
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
799
799
  if (input.InputDeviceId !== undefined) {
800
800
  labelValue = input.InputDeviceId;
801
801
  if (labelValue.length <= 0) {
@@ -826,7 +826,7 @@ export var serializeAws_restJson1DescribeInputDeviceThumbnailCommand = function
826
826
  case 1:
827
827
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
828
828
  headers = __assign({}, (isSerializableHeaderValue(input.Accept) && { accept: input.Accept }));
829
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
829
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
830
830
  "/prod/inputDevices/{InputDeviceId}/thumbnailData";
831
831
  if (input.InputDeviceId !== undefined) {
832
832
  labelValue = input.InputDeviceId;
@@ -858,7 +858,7 @@ export var serializeAws_restJson1DescribeInputSecurityGroupCommand = function (i
858
858
  case 1:
859
859
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
860
860
  headers = {};
861
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
861
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
862
862
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
863
863
  if (input.InputSecurityGroupId !== undefined) {
864
864
  labelValue = input.InputSecurityGroupId;
@@ -890,7 +890,7 @@ export var serializeAws_restJson1DescribeMultiplexCommand = function (input, con
890
890
  case 1:
891
891
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
892
892
  headers = {};
893
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
893
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
894
894
  if (input.MultiplexId !== undefined) {
895
895
  labelValue = input.MultiplexId;
896
896
  if (labelValue.length <= 0) {
@@ -921,7 +921,7 @@ export var serializeAws_restJson1DescribeMultiplexProgramCommand = function (inp
921
921
  case 1:
922
922
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
923
923
  headers = {};
924
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
924
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
925
925
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
926
926
  if (input.MultiplexId !== undefined) {
927
927
  labelValue = input.MultiplexId;
@@ -963,7 +963,7 @@ export var serializeAws_restJson1DescribeOfferingCommand = function (input, cont
963
963
  case 1:
964
964
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
965
965
  headers = {};
966
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}";
966
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}";
967
967
  if (input.OfferingId !== undefined) {
968
968
  labelValue = input.OfferingId;
969
969
  if (labelValue.length <= 0) {
@@ -994,7 +994,7 @@ export var serializeAws_restJson1DescribeReservationCommand = function (input, c
994
994
  case 1:
995
995
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
996
996
  headers = {};
997
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
997
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
998
998
  if (input.ReservationId !== undefined) {
999
999
  labelValue = input.ReservationId;
1000
1000
  if (labelValue.length <= 0) {
@@ -1025,7 +1025,7 @@ export var serializeAws_restJson1DescribeScheduleCommand = function (input, cont
1025
1025
  case 1:
1026
1026
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1027
1027
  headers = {};
1028
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
1028
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/schedule";
1029
1029
  if (input.ChannelId !== undefined) {
1030
1030
  labelValue = input.ChannelId;
1031
1031
  if (labelValue.length <= 0) {
@@ -1058,7 +1058,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
1058
1058
  case 1:
1059
1059
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1060
1060
  headers = {};
1061
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
1061
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
1062
1062
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1063
1063
  return [2, new __HttpRequest({
1064
1064
  protocol: protocol,
@@ -1081,7 +1081,7 @@ export var serializeAws_restJson1ListInputDevicesCommand = function (input, cont
1081
1081
  case 1:
1082
1082
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1083
1083
  headers = {};
1084
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices";
1084
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices";
1085
1085
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1086
1086
  return [2, new __HttpRequest({
1087
1087
  protocol: protocol,
@@ -1104,7 +1104,7 @@ export var serializeAws_restJson1ListInputDeviceTransfersCommand = function (inp
1104
1104
  case 1:
1105
1105
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1106
1106
  headers = {};
1107
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDeviceTransfers";
1107
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDeviceTransfers";
1108
1108
  query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.TransferType !== undefined && { transferType: input.TransferType }));
1109
1109
  return [2, new __HttpRequest({
1110
1110
  protocol: protocol,
@@ -1127,7 +1127,7 @@ export var serializeAws_restJson1ListInputsCommand = function (input, context) {
1127
1127
  case 1:
1128
1128
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1129
1129
  headers = {};
1130
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
1130
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
1131
1131
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1132
1132
  return [2, new __HttpRequest({
1133
1133
  protocol: protocol,
@@ -1150,7 +1150,7 @@ export var serializeAws_restJson1ListInputSecurityGroupsCommand = function (inpu
1150
1150
  case 1:
1151
1151
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1152
1152
  headers = {};
1153
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
1153
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
1154
1154
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1155
1155
  return [2, new __HttpRequest({
1156
1156
  protocol: protocol,
@@ -1173,7 +1173,7 @@ export var serializeAws_restJson1ListMultiplexesCommand = function (input, conte
1173
1173
  case 1:
1174
1174
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1175
1175
  headers = {};
1176
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
1176
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
1177
1177
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
1178
1178
  return [2, new __HttpRequest({
1179
1179
  protocol: protocol,
@@ -1196,7 +1196,7 @@ export var serializeAws_restJson1ListMultiplexProgramsCommand = function (input,
1196
1196
  case 1:
1197
1197
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1198
1198
  headers = {};
1199
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
1199
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/programs";
1200
1200
  if (input.MultiplexId !== undefined) {
1201
1201
  labelValue = input.MultiplexId;
1202
1202
  if (labelValue.length <= 0) {
@@ -1229,7 +1229,7 @@ export var serializeAws_restJson1ListOfferingsCommand = function (input, context
1229
1229
  case 1:
1230
1230
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1231
1231
  headers = {};
1232
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings";
1232
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings";
1233
1233
  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
1234
  return [2, new __HttpRequest({
1235
1235
  protocol: protocol,
@@ -1252,7 +1252,7 @@ export var serializeAws_restJson1ListReservationsCommand = function (input, cont
1252
1252
  case 1:
1253
1253
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1254
1254
  headers = {};
1255
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations";
1255
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations";
1256
1256
  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
1257
  return [2, new __HttpRequest({
1258
1258
  protocol: protocol,
@@ -1275,7 +1275,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
1275
1275
  case 1:
1276
1276
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1277
1277
  headers = {};
1278
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
1278
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/tags/{ResourceArn}";
1279
1279
  if (input.ResourceArn !== undefined) {
1280
1280
  labelValue = input.ResourceArn;
1281
1281
  if (labelValue.length <= 0) {
@@ -1309,7 +1309,7 @@ export var serializeAws_restJson1PurchaseOfferingCommand = function (input, cont
1309
1309
  headers = {
1310
1310
  "content-type": "application/json",
1311
1311
  };
1312
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}/purchase";
1312
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/offerings/{OfferingId}/purchase";
1313
1313
  if (input.OfferingId !== undefined) {
1314
1314
  labelValue = input.OfferingId;
1315
1315
  if (labelValue.length <= 0) {
@@ -1341,7 +1341,7 @@ export var serializeAws_restJson1RejectInputDeviceTransferCommand = function (in
1341
1341
  case 1:
1342
1342
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1343
1343
  headers = {};
1344
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/reject";
1344
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}/reject";
1345
1345
  if (input.InputDeviceId !== undefined) {
1346
1346
  labelValue = input.InputDeviceId;
1347
1347
  if (labelValue.length <= 0) {
@@ -1372,7 +1372,7 @@ export var serializeAws_restJson1StartChannelCommand = function (input, context)
1372
1372
  case 1:
1373
1373
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1374
1374
  headers = {};
1375
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/start";
1375
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/start";
1376
1376
  if (input.ChannelId !== undefined) {
1377
1377
  labelValue = input.ChannelId;
1378
1378
  if (labelValue.length <= 0) {
@@ -1403,7 +1403,7 @@ export var serializeAws_restJson1StartMultiplexCommand = function (input, contex
1403
1403
  case 1:
1404
1404
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1405
1405
  headers = {};
1406
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/start";
1406
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/start";
1407
1407
  if (input.MultiplexId !== undefined) {
1408
1408
  labelValue = input.MultiplexId;
1409
1409
  if (labelValue.length <= 0) {
@@ -1434,7 +1434,7 @@ export var serializeAws_restJson1StopChannelCommand = function (input, context)
1434
1434
  case 1:
1435
1435
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1436
1436
  headers = {};
1437
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/stop";
1437
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/stop";
1438
1438
  if (input.ChannelId !== undefined) {
1439
1439
  labelValue = input.ChannelId;
1440
1440
  if (labelValue.length <= 0) {
@@ -1465,7 +1465,7 @@ export var serializeAws_restJson1StopMultiplexCommand = function (input, context
1465
1465
  case 1:
1466
1466
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1467
1467
  headers = {};
1468
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/stop";
1468
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}/stop";
1469
1469
  if (input.MultiplexId !== undefined) {
1470
1470
  labelValue = input.MultiplexId;
1471
1471
  if (labelValue.length <= 0) {
@@ -1498,7 +1498,7 @@ export var serializeAws_restJson1TransferInputDeviceCommand = function (input, c
1498
1498
  headers = {
1499
1499
  "content-type": "application/json",
1500
1500
  };
1501
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1501
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1502
1502
  "/prod/inputDevices/{InputDeviceId}/transfer";
1503
1503
  if (input.InputDeviceId !== undefined) {
1504
1504
  labelValue = input.InputDeviceId;
@@ -1535,7 +1535,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1535
1535
  headers = {
1536
1536
  "content-type": "application/json",
1537
1537
  };
1538
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
1538
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}";
1539
1539
  if (input.ChannelId !== undefined) {
1540
1540
  labelValue = input.ChannelId;
1541
1541
  if (labelValue.length <= 0) {
@@ -1584,7 +1584,7 @@ export var serializeAws_restJson1UpdateChannelClassCommand = function (input, co
1584
1584
  headers = {
1585
1585
  "content-type": "application/json",
1586
1586
  };
1587
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/channelClass";
1587
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels/{ChannelId}/channelClass";
1588
1588
  if (input.ChannelId !== undefined) {
1589
1589
  labelValue = input.ChannelId;
1590
1590
  if (labelValue.length <= 0) {
@@ -1621,7 +1621,7 @@ export var serializeAws_restJson1UpdateInputCommand = function (input, context)
1621
1621
  headers = {
1622
1622
  "content-type": "application/json",
1623
1623
  };
1624
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
1624
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs/{InputId}";
1625
1625
  if (input.InputId !== undefined) {
1626
1626
  labelValue = input.InputId;
1627
1627
  if (labelValue.length <= 0) {
@@ -1668,7 +1668,7 @@ export var serializeAws_restJson1UpdateInputDeviceCommand = function (input, con
1668
1668
  headers = {
1669
1669
  "content-type": "application/json",
1670
1670
  };
1671
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
1671
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputDevices/{InputDeviceId}";
1672
1672
  if (input.InputDeviceId !== undefined) {
1673
1673
  labelValue = input.InputDeviceId;
1674
1674
  if (labelValue.length <= 0) {
@@ -1708,7 +1708,7 @@ export var serializeAws_restJson1UpdateInputSecurityGroupCommand = function (inp
1708
1708
  headers = {
1709
1709
  "content-type": "application/json",
1710
1710
  };
1711
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1711
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1712
1712
  "/prod/inputSecurityGroups/{InputSecurityGroupId}";
1713
1713
  if (input.InputSecurityGroupId !== undefined) {
1714
1714
  labelValue = input.InputSecurityGroupId;
@@ -1746,7 +1746,7 @@ export var serializeAws_restJson1UpdateMultiplexCommand = function (input, conte
1746
1746
  headers = {
1747
1747
  "content-type": "application/json",
1748
1748
  };
1749
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
1749
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes/{MultiplexId}";
1750
1750
  if (input.MultiplexId !== undefined) {
1751
1751
  labelValue = input.MultiplexId;
1752
1752
  if (labelValue.length <= 0) {
@@ -1783,7 +1783,7 @@ export var serializeAws_restJson1UpdateMultiplexProgramCommand = function (input
1783
1783
  headers = {
1784
1784
  "content-type": "application/json",
1785
1785
  };
1786
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1786
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1787
1787
  "/prod/multiplexes/{MultiplexId}/programs/{ProgramName}";
1788
1788
  if (input.MultiplexId !== undefined) {
1789
1789
  labelValue = input.MultiplexId;
@@ -1831,7 +1831,7 @@ export var serializeAws_restJson1UpdateReservationCommand = function (input, con
1831
1831
  headers = {
1832
1832
  "content-type": "application/json",
1833
1833
  };
1834
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
1834
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/reservations/{ReservationId}";
1835
1835
  if (input.ReservationId !== undefined) {
1836
1836
  labelValue = input.ReservationId;
1837
1837
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;