@aws-sdk/client-medialive 3.183.0 → 3.185.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 (95) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaLive.js +245 -238
  4. package/dist-es/MediaLiveClient.js +28 -22
  5. package/dist-es/commands/AcceptInputDeviceTransferCommand.js +28 -21
  6. package/dist-es/commands/BatchDeleteCommand.js +28 -21
  7. package/dist-es/commands/BatchStartCommand.js +28 -21
  8. package/dist-es/commands/BatchStopCommand.js +28 -21
  9. package/dist-es/commands/BatchUpdateScheduleCommand.js +28 -21
  10. package/dist-es/commands/CancelInputDeviceTransferCommand.js +28 -21
  11. package/dist-es/commands/ClaimDeviceCommand.js +28 -21
  12. package/dist-es/commands/CreateChannelCommand.js +28 -21
  13. package/dist-es/commands/CreateInputCommand.js +28 -21
  14. package/dist-es/commands/CreateInputSecurityGroupCommand.js +28 -21
  15. package/dist-es/commands/CreateMultiplexCommand.js +28 -21
  16. package/dist-es/commands/CreateMultiplexProgramCommand.js +28 -21
  17. package/dist-es/commands/CreatePartnerInputCommand.js +28 -21
  18. package/dist-es/commands/CreateTagsCommand.js +29 -22
  19. package/dist-es/commands/DeleteChannelCommand.js +28 -21
  20. package/dist-es/commands/DeleteInputCommand.js +28 -21
  21. package/dist-es/commands/DeleteInputSecurityGroupCommand.js +28 -21
  22. package/dist-es/commands/DeleteMultiplexCommand.js +28 -21
  23. package/dist-es/commands/DeleteMultiplexProgramCommand.js +28 -21
  24. package/dist-es/commands/DeleteReservationCommand.js +28 -21
  25. package/dist-es/commands/DeleteScheduleCommand.js +28 -21
  26. package/dist-es/commands/DeleteTagsCommand.js +29 -22
  27. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  28. package/dist-es/commands/DescribeInputCommand.js +28 -21
  29. package/dist-es/commands/DescribeInputDeviceCommand.js +28 -21
  30. package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +28 -21
  31. package/dist-es/commands/DescribeInputSecurityGroupCommand.js +28 -21
  32. package/dist-es/commands/DescribeMultiplexCommand.js +28 -21
  33. package/dist-es/commands/DescribeMultiplexProgramCommand.js +28 -21
  34. package/dist-es/commands/DescribeOfferingCommand.js +28 -21
  35. package/dist-es/commands/DescribeReservationCommand.js +28 -21
  36. package/dist-es/commands/DescribeScheduleCommand.js +28 -21
  37. package/dist-es/commands/ListChannelsCommand.js +28 -21
  38. package/dist-es/commands/ListInputDeviceTransfersCommand.js +28 -21
  39. package/dist-es/commands/ListInputDevicesCommand.js +28 -21
  40. package/dist-es/commands/ListInputSecurityGroupsCommand.js +28 -21
  41. package/dist-es/commands/ListInputsCommand.js +28 -21
  42. package/dist-es/commands/ListMultiplexProgramsCommand.js +28 -21
  43. package/dist-es/commands/ListMultiplexesCommand.js +28 -21
  44. package/dist-es/commands/ListOfferingsCommand.js +28 -21
  45. package/dist-es/commands/ListReservationsCommand.js +28 -21
  46. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  47. package/dist-es/commands/PurchaseOfferingCommand.js +28 -21
  48. package/dist-es/commands/RebootInputDeviceCommand.js +28 -21
  49. package/dist-es/commands/RejectInputDeviceTransferCommand.js +28 -21
  50. package/dist-es/commands/StartChannelCommand.js +28 -21
  51. package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +28 -21
  52. package/dist-es/commands/StartMultiplexCommand.js +28 -21
  53. package/dist-es/commands/StopChannelCommand.js +28 -21
  54. package/dist-es/commands/StopMultiplexCommand.js +28 -21
  55. package/dist-es/commands/TransferInputDeviceCommand.js +28 -21
  56. package/dist-es/commands/UpdateChannelClassCommand.js +28 -21
  57. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  58. package/dist-es/commands/UpdateInputCommand.js +28 -21
  59. package/dist-es/commands/UpdateInputDeviceCommand.js +28 -21
  60. package/dist-es/commands/UpdateInputSecurityGroupCommand.js +28 -21
  61. package/dist-es/commands/UpdateMultiplexCommand.js +28 -21
  62. package/dist-es/commands/UpdateMultiplexProgramCommand.js +28 -21
  63. package/dist-es/commands/UpdateReservationCommand.js +28 -21
  64. package/dist-es/endpoints.js +8 -8
  65. package/dist-es/models/MediaLiveServiceException.js +10 -5
  66. package/dist-es/models/models_0.js +144 -429
  67. package/dist-es/models/models_1.js +298 -673
  68. package/dist-es/models/models_2.js +17 -48
  69. package/dist-es/pagination/DescribeSchedulePaginator.js +68 -25
  70. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  71. package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +68 -25
  72. package/dist-es/pagination/ListInputDevicesPaginator.js +68 -25
  73. package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +68 -25
  74. package/dist-es/pagination/ListInputsPaginator.js +68 -25
  75. package/dist-es/pagination/ListMultiplexProgramsPaginator.js +68 -25
  76. package/dist-es/pagination/ListMultiplexesPaginator.js +68 -25
  77. package/dist-es/pagination/ListOfferingsPaginator.js +68 -25
  78. package/dist-es/pagination/ListReservationsPaginator.js +68 -25
  79. package/dist-es/protocols/Aws_restJson1.js +8440 -7424
  80. package/dist-es/runtimeConfig.browser.js +12 -26
  81. package/dist-es/runtimeConfig.js +12 -30
  82. package/dist-es/runtimeConfig.native.js +5 -8
  83. package/dist-es/runtimeConfig.shared.js +11 -8
  84. package/dist-es/waiters/waitForChannelCreated.js +68 -48
  85. package/dist-es/waiters/waitForChannelDeleted.js +59 -39
  86. package/dist-es/waiters/waitForChannelRunning.js +59 -39
  87. package/dist-es/waiters/waitForChannelStopped.js +59 -39
  88. package/dist-es/waiters/waitForInputAttached.js +59 -39
  89. package/dist-es/waiters/waitForInputDeleted.js +59 -39
  90. package/dist-es/waiters/waitForInputDetached.js +68 -48
  91. package/dist-es/waiters/waitForMultiplexCreated.js +68 -48
  92. package/dist-es/waiters/waitForMultiplexDeleted.js +59 -39
  93. package/dist-es/waiters/waitForMultiplexRunning.js +59 -39
  94. package/dist-es/waiters/waitForMultiplexStopped.js +59 -39
  95. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListOfferingsRequestFilterSensitiveLog, ListOfferingsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1ListOfferingsCommand, serializeAws_restJson1ListOfferingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOfferingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOfferingsCommand = (function (_super) {
7
+ __extends(ListOfferingsCommand, _super);
8
+ function ListOfferingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOfferingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "ListOfferingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "ListOfferingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOfferingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOfferingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListOfferingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListOfferingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOfferingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOfferingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOfferingsCommand;
38
+ }($Command));
39
+ export { ListOfferingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListReservationsRequestFilterSensitiveLog, ListReservationsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1ListReservationsCommand, serializeAws_restJson1ListReservationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListReservationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListReservationsCommand = (function (_super) {
7
+ __extends(ListReservationsCommand, _super);
8
+ function ListReservationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListReservationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "ListReservationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "ListReservationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListReservationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListReservationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListReservationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListReservationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListReservationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListReservationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListReservationsCommand;
38
+ }($Command));
39
+ export { ListReservationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PurchaseOfferingRequestFilterSensitiveLog, PurchaseOfferingResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PurchaseOfferingCommand, serializeAws_restJson1PurchaseOfferingCommand, } from "../protocols/Aws_restJson1";
5
- export class PurchaseOfferingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PurchaseOfferingCommand = (function (_super) {
7
+ __extends(PurchaseOfferingCommand, _super);
8
+ function PurchaseOfferingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PurchaseOfferingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "PurchaseOfferingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "PurchaseOfferingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PurchaseOfferingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PurchaseOfferingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PurchaseOfferingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PurchaseOfferingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PurchaseOfferingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PurchaseOfferingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PurchaseOfferingCommand;
38
+ }($Command));
39
+ export { PurchaseOfferingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RebootInputDeviceRequestFilterSensitiveLog, RebootInputDeviceResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1RebootInputDeviceCommand, serializeAws_restJson1RebootInputDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class RebootInputDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RebootInputDeviceCommand = (function (_super) {
7
+ __extends(RebootInputDeviceCommand, _super);
8
+ function RebootInputDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RebootInputDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "RebootInputDeviceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "RebootInputDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RebootInputDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RebootInputDeviceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RebootInputDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RebootInputDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RebootInputDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RebootInputDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RebootInputDeviceCommand;
38
+ }($Command));
39
+ export { RebootInputDeviceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RejectInputDeviceTransferRequestFilterSensitiveLog, RejectInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1RejectInputDeviceTransferCommand, serializeAws_restJson1RejectInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
5
- export class RejectInputDeviceTransferCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RejectInputDeviceTransferCommand = (function (_super) {
7
+ __extends(RejectInputDeviceTransferCommand, _super);
8
+ function RejectInputDeviceTransferCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RejectInputDeviceTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "RejectInputDeviceTransferCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "RejectInputDeviceTransferCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RejectInputDeviceTransferRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RejectInputDeviceTransferResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RejectInputDeviceTransferCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RejectInputDeviceTransferCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RejectInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RejectInputDeviceTransferCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RejectInputDeviceTransferCommand;
38
+ }($Command));
39
+ export { RejectInputDeviceTransferCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartChannelRequestFilterSensitiveLog, StartChannelResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1StartChannelCommand, serializeAws_restJson1StartChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class StartChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartChannelCommand = (function (_super) {
7
+ __extends(StartChannelCommand, _super);
8
+ function StartChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "StartChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "StartChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartChannelResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartChannelCommand;
38
+ }($Command));
39
+ export { StartChannelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartInputDeviceMaintenanceWindowRequestFilterSensitiveLog, StartInputDeviceMaintenanceWindowResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, } from "../protocols/Aws_restJson1";
5
- export class StartInputDeviceMaintenanceWindowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartInputDeviceMaintenanceWindowCommand = (function (_super) {
7
+ __extends(StartInputDeviceMaintenanceWindowCommand, _super);
8
+ function StartInputDeviceMaintenanceWindowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartInputDeviceMaintenanceWindowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "StartInputDeviceMaintenanceWindowCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "StartInputDeviceMaintenanceWindowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartInputDeviceMaintenanceWindowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartInputDeviceMaintenanceWindowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartInputDeviceMaintenanceWindowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartInputDeviceMaintenanceWindowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartInputDeviceMaintenanceWindowCommand;
38
+ }($Command));
39
+ export { StartInputDeviceMaintenanceWindowCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartMultiplexRequestFilterSensitiveLog, StartMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1StartMultiplexCommand, serializeAws_restJson1StartMultiplexCommand, } from "../protocols/Aws_restJson1";
5
- export class StartMultiplexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartMultiplexCommand = (function (_super) {
7
+ __extends(StartMultiplexCommand, _super);
8
+ function StartMultiplexCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartMultiplexCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "StartMultiplexCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "StartMultiplexCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartMultiplexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartMultiplexResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartMultiplexCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartMultiplexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartMultiplexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartMultiplexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartMultiplexCommand;
38
+ }($Command));
39
+ export { StartMultiplexCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopChannelRequestFilterSensitiveLog, StopChannelResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1StopChannelCommand, serializeAws_restJson1StopChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class StopChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopChannelCommand = (function (_super) {
7
+ __extends(StopChannelCommand, _super);
8
+ function StopChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaLiveClient";
15
- const commandName = "StopChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaLiveClient";
18
+ var commandName = "StopChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopChannelResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StopChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StopChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopChannelCommand;
38
+ }($Command));
39
+ export { StopChannelCommand };