@aws-sdk/client-medialive 3.183.0 → 3.186.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 +19 -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 +34 -34
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class MediaLiveClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var MediaLiveClient = (function (_super) {
13
+ __extends(MediaLiveClient, _super);
14
+ function MediaLiveClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ MediaLiveClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return MediaLiveClient;
38
+ }(__Client));
39
+ export { MediaLiveClient };
@@ -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 { AcceptInputDeviceTransferRequestFilterSensitiveLog, AcceptInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1AcceptInputDeviceTransferCommand, serializeAws_restJson1AcceptInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
5
- export class AcceptInputDeviceTransferCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AcceptInputDeviceTransferCommand = (function (_super) {
7
+ __extends(AcceptInputDeviceTransferCommand, _super);
8
+ function AcceptInputDeviceTransferCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcceptInputDeviceTransferCommand.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 = "AcceptInputDeviceTransferCommand";
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 = "AcceptInputDeviceTransferCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AcceptInputDeviceTransferRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcceptInputDeviceTransferResponseFilterSensitiveLog,
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
+ AcceptInputDeviceTransferCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AcceptInputDeviceTransferCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcceptInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AcceptInputDeviceTransferCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcceptInputDeviceTransferCommand;
38
+ }($Command));
39
+ export { AcceptInputDeviceTransferCommand };
@@ -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 { BatchDeleteRequestFilterSensitiveLog, BatchDeleteResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1BatchDeleteCommand, serializeAws_restJson1BatchDeleteCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchDeleteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchDeleteCommand = (function (_super) {
7
+ __extends(BatchDeleteCommand, _super);
8
+ function BatchDeleteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchDeleteCommand.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 = "BatchDeleteCommand";
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 = "BatchDeleteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchDeleteRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchDeleteResponseFilterSensitiveLog,
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
+ BatchDeleteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchDeleteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchDeleteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchDeleteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchDeleteCommand;
38
+ }($Command));
39
+ export { BatchDeleteCommand };
@@ -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 { BatchStartRequestFilterSensitiveLog, BatchStartResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1BatchStartCommand, serializeAws_restJson1BatchStartCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchStartCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchStartCommand = (function (_super) {
7
+ __extends(BatchStartCommand, _super);
8
+ function BatchStartCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchStartCommand.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 = "BatchStartCommand";
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 = "BatchStartCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchStartRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchStartResponseFilterSensitiveLog,
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
+ BatchStartCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchStartCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchStartCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchStartCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchStartCommand;
38
+ }($Command));
39
+ export { BatchStartCommand };
@@ -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 { BatchStopRequestFilterSensitiveLog, BatchStopResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1BatchStopCommand, serializeAws_restJson1BatchStopCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchStopCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchStopCommand = (function (_super) {
7
+ __extends(BatchStopCommand, _super);
8
+ function BatchStopCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchStopCommand.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 = "BatchStopCommand";
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 = "BatchStopCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchStopRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchStopResponseFilterSensitiveLog,
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
+ BatchStopCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchStopCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchStopCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchStopCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchStopCommand;
38
+ }($Command));
39
+ export { BatchStopCommand };
@@ -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 { BatchUpdateScheduleRequestFilterSensitiveLog, BatchUpdateScheduleResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1BatchUpdateScheduleCommand, serializeAws_restJson1BatchUpdateScheduleCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchUpdateScheduleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchUpdateScheduleCommand = (function (_super) {
7
+ __extends(BatchUpdateScheduleCommand, _super);
8
+ function BatchUpdateScheduleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchUpdateScheduleCommand.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 = "BatchUpdateScheduleCommand";
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 = "BatchUpdateScheduleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchUpdateScheduleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchUpdateScheduleResponseFilterSensitiveLog,
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
+ BatchUpdateScheduleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchUpdateScheduleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchUpdateScheduleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchUpdateScheduleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchUpdateScheduleCommand;
38
+ }($Command));
39
+ export { BatchUpdateScheduleCommand };
@@ -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 { CancelInputDeviceTransferRequestFilterSensitiveLog, CancelInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CancelInputDeviceTransferCommand, serializeAws_restJson1CancelInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelInputDeviceTransferCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelInputDeviceTransferCommand = (function (_super) {
7
+ __extends(CancelInputDeviceTransferCommand, _super);
8
+ function CancelInputDeviceTransferCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelInputDeviceTransferCommand.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 = "CancelInputDeviceTransferCommand";
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 = "CancelInputDeviceTransferCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelInputDeviceTransferRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelInputDeviceTransferResponseFilterSensitiveLog,
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
+ CancelInputDeviceTransferCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelInputDeviceTransferCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelInputDeviceTransferCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelInputDeviceTransferCommand;
38
+ }($Command));
39
+ export { CancelInputDeviceTransferCommand };
@@ -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 { ClaimDeviceRequestFilterSensitiveLog, ClaimDeviceResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1ClaimDeviceCommand, serializeAws_restJson1ClaimDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class ClaimDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ClaimDeviceCommand = (function (_super) {
7
+ __extends(ClaimDeviceCommand, _super);
8
+ function ClaimDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ClaimDeviceCommand.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 = "ClaimDeviceCommand";
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 = "ClaimDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ClaimDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ClaimDeviceResponseFilterSensitiveLog,
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
+ ClaimDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ClaimDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ClaimDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ClaimDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ClaimDeviceCommand;
38
+ }($Command));
39
+ export { ClaimDeviceCommand };
@@ -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 { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelCommand = (function (_super) {
7
+ __extends(CreateChannelCommand, _super);
8
+ function CreateChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelCommand.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 = "CreateChannelCommand";
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 = "CreateChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
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
+ CreateChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelCommand;
38
+ }($Command));
39
+ export { CreateChannelCommand };
@@ -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 { CreateInputRequestFilterSensitiveLog, CreateInputResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateInputCommand, serializeAws_restJson1CreateInputCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateInputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateInputCommand = (function (_super) {
7
+ __extends(CreateInputCommand, _super);
8
+ function CreateInputCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateInputCommand.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 = "CreateInputCommand";
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 = "CreateInputCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateInputRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateInputResponseFilterSensitiveLog,
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
+ CreateInputCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateInputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateInputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateInputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateInputCommand;
38
+ }($Command));
39
+ export { CreateInputCommand };