@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 { StopMultiplexRequestFilterSensitiveLog, StopMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1StopMultiplexCommand, serializeAws_restJson1StopMultiplexCommand, } from "../protocols/Aws_restJson1";
5
- export class StopMultiplexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopMultiplexCommand = (function (_super) {
7
+ __extends(StopMultiplexCommand, _super);
8
+ function StopMultiplexCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopMultiplexCommand.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 = "StopMultiplexCommand";
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 = "StopMultiplexCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopMultiplexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopMultiplexResponseFilterSensitiveLog,
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
+ StopMultiplexCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StopMultiplexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopMultiplexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StopMultiplexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopMultiplexCommand;
38
+ }($Command));
39
+ export { StopMultiplexCommand };
@@ -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 { TransferInputDeviceRequestFilterSensitiveLog, TransferInputDeviceResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1TransferInputDeviceCommand, serializeAws_restJson1TransferInputDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class TransferInputDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TransferInputDeviceCommand = (function (_super) {
7
+ __extends(TransferInputDeviceCommand, _super);
8
+ function TransferInputDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TransferInputDeviceCommand.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 = "TransferInputDeviceCommand";
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 = "TransferInputDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TransferInputDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TransferInputDeviceResponseFilterSensitiveLog,
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
+ TransferInputDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TransferInputDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TransferInputDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TransferInputDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TransferInputDeviceCommand;
38
+ }($Command));
39
+ export { TransferInputDeviceCommand };
@@ -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 { UpdateChannelClassRequestFilterSensitiveLog, UpdateChannelClassResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateChannelClassCommand, serializeAws_restJson1UpdateChannelClassCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateChannelClassCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateChannelClassCommand = (function (_super) {
7
+ __extends(UpdateChannelClassCommand, _super);
8
+ function UpdateChannelClassCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateChannelClassCommand.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 = "UpdateChannelClassCommand";
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 = "UpdateChannelClassCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateChannelClassRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateChannelClassResponseFilterSensitiveLog,
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
+ UpdateChannelClassCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateChannelClassCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateChannelClassCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateChannelClassCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateChannelClassCommand;
38
+ }($Command));
39
+ export { UpdateChannelClassCommand };
@@ -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 { UpdateChannelRequestFilterSensitiveLog, UpdateChannelResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateChannelCommand = (function (_super) {
7
+ __extends(UpdateChannelCommand, _super);
8
+ function UpdateChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateChannelCommand.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 = "UpdateChannelCommand";
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 = "UpdateChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateChannelResponseFilterSensitiveLog,
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
+ UpdateChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateChannelCommand;
38
+ }($Command));
39
+ export { UpdateChannelCommand };
@@ -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 { UpdateInputRequestFilterSensitiveLog, UpdateInputResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateInputCommand, serializeAws_restJson1UpdateInputCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateInputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateInputCommand = (function (_super) {
7
+ __extends(UpdateInputCommand, _super);
8
+ function UpdateInputCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateInputCommand.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 = "UpdateInputCommand";
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 = "UpdateInputCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateInputRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateInputResponseFilterSensitiveLog,
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
+ UpdateInputCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateInputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateInputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateInputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateInputCommand;
38
+ }($Command));
39
+ export { UpdateInputCommand };
@@ -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 { UpdateInputDeviceRequestFilterSensitiveLog, UpdateInputDeviceResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateInputDeviceCommand, serializeAws_restJson1UpdateInputDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateInputDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateInputDeviceCommand = (function (_super) {
7
+ __extends(UpdateInputDeviceCommand, _super);
8
+ function UpdateInputDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateInputDeviceCommand.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 = "UpdateInputDeviceCommand";
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 = "UpdateInputDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateInputDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateInputDeviceResponseFilterSensitiveLog,
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
+ UpdateInputDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateInputDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateInputDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateInputDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateInputDeviceCommand;
38
+ }($Command));
39
+ export { UpdateInputDeviceCommand };
@@ -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 { UpdateInputSecurityGroupRequestFilterSensitiveLog, UpdateInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateInputSecurityGroupCommand, serializeAws_restJson1UpdateInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateInputSecurityGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateInputSecurityGroupCommand = (function (_super) {
7
+ __extends(UpdateInputSecurityGroupCommand, _super);
8
+ function UpdateInputSecurityGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateInputSecurityGroupCommand.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 = "UpdateInputSecurityGroupCommand";
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 = "UpdateInputSecurityGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateInputSecurityGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateInputSecurityGroupResponseFilterSensitiveLog,
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
+ UpdateInputSecurityGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateInputSecurityGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateInputSecurityGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateInputSecurityGroupCommand;
38
+ }($Command));
39
+ export { UpdateInputSecurityGroupCommand };
@@ -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 { UpdateMultiplexRequestFilterSensitiveLog, UpdateMultiplexResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateMultiplexCommand, serializeAws_restJson1UpdateMultiplexCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateMultiplexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateMultiplexCommand = (function (_super) {
7
+ __extends(UpdateMultiplexCommand, _super);
8
+ function UpdateMultiplexCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateMultiplexCommand.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 = "UpdateMultiplexCommand";
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 = "UpdateMultiplexCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateMultiplexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateMultiplexResponseFilterSensitiveLog,
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
+ UpdateMultiplexCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateMultiplexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateMultiplexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateMultiplexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateMultiplexCommand;
38
+ }($Command));
39
+ export { UpdateMultiplexCommand };
@@ -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 { UpdateMultiplexProgramRequestFilterSensitiveLog, UpdateMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateMultiplexProgramCommand, serializeAws_restJson1UpdateMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateMultiplexProgramCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateMultiplexProgramCommand = (function (_super) {
7
+ __extends(UpdateMultiplexProgramCommand, _super);
8
+ function UpdateMultiplexProgramCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateMultiplexProgramCommand.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 = "UpdateMultiplexProgramCommand";
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 = "UpdateMultiplexProgramCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateMultiplexProgramRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateMultiplexProgramResponseFilterSensitiveLog,
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
+ UpdateMultiplexProgramCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateMultiplexProgramCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateMultiplexProgramCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateMultiplexProgramCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateMultiplexProgramCommand;
38
+ }($Command));
39
+ export { UpdateMultiplexProgramCommand };
@@ -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 { UpdateReservationRequestFilterSensitiveLog, UpdateReservationResponseFilterSensitiveLog, } from "../models/models_2";
4
5
  import { deserializeAws_restJson1UpdateReservationCommand, serializeAws_restJson1UpdateReservationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateReservationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateReservationCommand = (function (_super) {
7
+ __extends(UpdateReservationCommand, _super);
8
+ function UpdateReservationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateReservationCommand.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 = "UpdateReservationCommand";
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 = "UpdateReservationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateReservationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateReservationResponseFilterSensitiveLog,
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
+ UpdateReservationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateReservationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateReservationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateReservationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateReservationCommand;
38
+ }($Command));
39
+ export { UpdateReservationCommand };