@aws-sdk/client-medialive 3.186.0 → 3.188.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 (121) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/commands/StopMultiplexCommand.js +2 -1
  3. package/dist-cjs/commands/TransferInputDeviceCommand.js +3 -3
  4. package/dist-cjs/models/models_1.js +19 -18
  5. package/dist-cjs/models/models_2.js +13 -1
  6. package/dist-cjs/protocols/Aws_restJson1.js +43 -0
  7. package/dist-cjs/runtimeConfig.browser.js +9 -7
  8. package/dist-cjs/runtimeConfig.js +9 -7
  9. package/dist-es/MediaLive.js +238 -245
  10. package/dist-es/MediaLiveClient.js +22 -28
  11. package/dist-es/commands/AcceptInputDeviceTransferCommand.js +21 -28
  12. package/dist-es/commands/BatchDeleteCommand.js +21 -28
  13. package/dist-es/commands/BatchStartCommand.js +21 -28
  14. package/dist-es/commands/BatchStopCommand.js +21 -28
  15. package/dist-es/commands/BatchUpdateScheduleCommand.js +21 -28
  16. package/dist-es/commands/CancelInputDeviceTransferCommand.js +21 -28
  17. package/dist-es/commands/ClaimDeviceCommand.js +21 -28
  18. package/dist-es/commands/CreateChannelCommand.js +21 -28
  19. package/dist-es/commands/CreateInputCommand.js +21 -28
  20. package/dist-es/commands/CreateInputSecurityGroupCommand.js +21 -28
  21. package/dist-es/commands/CreateMultiplexCommand.js +21 -28
  22. package/dist-es/commands/CreateMultiplexProgramCommand.js +21 -28
  23. package/dist-es/commands/CreatePartnerInputCommand.js +21 -28
  24. package/dist-es/commands/CreateTagsCommand.js +22 -29
  25. package/dist-es/commands/DeleteChannelCommand.js +21 -28
  26. package/dist-es/commands/DeleteInputCommand.js +21 -28
  27. package/dist-es/commands/DeleteInputSecurityGroupCommand.js +21 -28
  28. package/dist-es/commands/DeleteMultiplexCommand.js +21 -28
  29. package/dist-es/commands/DeleteMultiplexProgramCommand.js +21 -28
  30. package/dist-es/commands/DeleteReservationCommand.js +21 -28
  31. package/dist-es/commands/DeleteScheduleCommand.js +21 -28
  32. package/dist-es/commands/DeleteTagsCommand.js +22 -29
  33. package/dist-es/commands/DescribeChannelCommand.js +21 -28
  34. package/dist-es/commands/DescribeInputCommand.js +21 -28
  35. package/dist-es/commands/DescribeInputDeviceCommand.js +21 -28
  36. package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +21 -28
  37. package/dist-es/commands/DescribeInputSecurityGroupCommand.js +21 -28
  38. package/dist-es/commands/DescribeMultiplexCommand.js +21 -28
  39. package/dist-es/commands/DescribeMultiplexProgramCommand.js +21 -28
  40. package/dist-es/commands/DescribeOfferingCommand.js +21 -28
  41. package/dist-es/commands/DescribeReservationCommand.js +21 -28
  42. package/dist-es/commands/DescribeScheduleCommand.js +21 -28
  43. package/dist-es/commands/ListChannelsCommand.js +21 -28
  44. package/dist-es/commands/ListInputDeviceTransfersCommand.js +21 -28
  45. package/dist-es/commands/ListInputDevicesCommand.js +21 -28
  46. package/dist-es/commands/ListInputSecurityGroupsCommand.js +21 -28
  47. package/dist-es/commands/ListInputsCommand.js +21 -28
  48. package/dist-es/commands/ListMultiplexProgramsCommand.js +21 -28
  49. package/dist-es/commands/ListMultiplexesCommand.js +21 -28
  50. package/dist-es/commands/ListOfferingsCommand.js +21 -28
  51. package/dist-es/commands/ListReservationsCommand.js +21 -28
  52. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  53. package/dist-es/commands/PurchaseOfferingCommand.js +21 -28
  54. package/dist-es/commands/RebootInputDeviceCommand.js +21 -28
  55. package/dist-es/commands/RejectInputDeviceTransferCommand.js +21 -28
  56. package/dist-es/commands/StartChannelCommand.js +21 -28
  57. package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +21 -28
  58. package/dist-es/commands/StartMultiplexCommand.js +21 -28
  59. package/dist-es/commands/StopChannelCommand.js +21 -28
  60. package/dist-es/commands/StopMultiplexCommand.js +23 -29
  61. package/dist-es/commands/TransferInputDeviceCommand.js +22 -29
  62. package/dist-es/commands/UpdateChannelClassCommand.js +21 -28
  63. package/dist-es/commands/UpdateChannelCommand.js +21 -28
  64. package/dist-es/commands/UpdateInputCommand.js +21 -28
  65. package/dist-es/commands/UpdateInputDeviceCommand.js +21 -28
  66. package/dist-es/commands/UpdateInputSecurityGroupCommand.js +21 -28
  67. package/dist-es/commands/UpdateMultiplexCommand.js +21 -28
  68. package/dist-es/commands/UpdateMultiplexProgramCommand.js +21 -28
  69. package/dist-es/commands/UpdateReservationCommand.js +21 -28
  70. package/dist-es/endpoints.js +8 -8
  71. package/dist-es/models/MediaLiveServiceException.js +5 -10
  72. package/dist-es/models/models_0.js +429 -144
  73. package/dist-es/models/models_1.js +675 -298
  74. package/dist-es/models/models_2.js +57 -17
  75. package/dist-es/pagination/DescribeSchedulePaginator.js +25 -68
  76. package/dist-es/pagination/ListChannelsPaginator.js +25 -68
  77. package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +25 -68
  78. package/dist-es/pagination/ListInputDevicesPaginator.js +25 -68
  79. package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +25 -68
  80. package/dist-es/pagination/ListInputsPaginator.js +25 -68
  81. package/dist-es/pagination/ListMultiplexProgramsPaginator.js +25 -68
  82. package/dist-es/pagination/ListMultiplexesPaginator.js +25 -68
  83. package/dist-es/pagination/ListOfferingsPaginator.js +25 -68
  84. package/dist-es/pagination/ListReservationsPaginator.js +25 -68
  85. package/dist-es/protocols/Aws_restJson1.js +7452 -8425
  86. package/dist-es/runtimeConfig.browser.js +28 -12
  87. package/dist-es/runtimeConfig.js +32 -12
  88. package/dist-es/runtimeConfig.native.js +8 -5
  89. package/dist-es/runtimeConfig.shared.js +8 -11
  90. package/dist-es/waiters/waitForChannelCreated.js +48 -68
  91. package/dist-es/waiters/waitForChannelDeleted.js +39 -59
  92. package/dist-es/waiters/waitForChannelRunning.js +39 -59
  93. package/dist-es/waiters/waitForChannelStopped.js +39 -59
  94. package/dist-es/waiters/waitForInputAttached.js +39 -59
  95. package/dist-es/waiters/waitForInputDeleted.js +39 -59
  96. package/dist-es/waiters/waitForInputDetached.js +48 -68
  97. package/dist-es/waiters/waitForMultiplexCreated.js +48 -68
  98. package/dist-es/waiters/waitForMultiplexDeleted.js +39 -59
  99. package/dist-es/waiters/waitForMultiplexRunning.js +39 -59
  100. package/dist-es/waiters/waitForMultiplexStopped.js +39 -59
  101. package/dist-types/MediaLiveClient.d.ts +6 -1
  102. package/dist-types/commands/DescribeInputDeviceThumbnailCommand.d.ts +2 -2
  103. package/dist-types/commands/StopMultiplexCommand.d.ts +2 -1
  104. package/dist-types/commands/TransferInputDeviceCommand.d.ts +1 -1
  105. package/dist-types/models/models_1.d.ts +62 -83
  106. package/dist-types/models/models_2.d.ts +84 -1
  107. package/dist-types/protocols/Aws_restJson1.d.ts +2 -2
  108. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  109. package/dist-types/runtimeConfig.d.ts +1 -0
  110. package/dist-types/runtimeConfig.native.d.ts +1 -0
  111. package/dist-types/ts3.4/MediaLiveClient.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/DescribeInputDeviceThumbnailCommand.d.ts +2 -1
  113. package/dist-types/ts3.4/commands/StopMultiplexCommand.d.ts +2 -4
  114. package/dist-types/ts3.4/commands/TransferInputDeviceCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_1.d.ts +22 -28
  116. package/dist-types/ts3.4/models/models_2.d.ts +30 -0
  117. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +5 -2
  118. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  119. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  120. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  121. package/package.json +36 -34
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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;
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));
33
29
  }
34
- MediaLiveClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return MediaLiveClient;
38
- }(__Client));
39
- export { MediaLiveClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AcceptInputDeviceTransferRequestFilterSensitiveLog, AcceptInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1AcceptInputDeviceTransferCommand, serializeAws_restJson1AcceptInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class AcceptInputDeviceTransferCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcceptInputDeviceTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: AcceptInputDeviceTransferRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcceptInputDeviceTransferResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AcceptInputDeviceTransferCommand(input, context);
33
- };
34
- AcceptInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AcceptInputDeviceTransferCommand(output, context);
36
- };
37
- return AcceptInputDeviceTransferCommand;
38
- }($Command));
39
- export { AcceptInputDeviceTransferCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchDeleteRequestFilterSensitiveLog, BatchDeleteResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1BatchDeleteCommand, serializeAws_restJson1BatchDeleteCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class BatchDeleteCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchDeleteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: BatchDeleteRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchDeleteResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchDeleteCommand(input, context);
33
- };
34
- BatchDeleteCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchDeleteCommand(output, context);
36
- };
37
- return BatchDeleteCommand;
38
- }($Command));
39
- export { BatchDeleteCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchStartRequestFilterSensitiveLog, BatchStartResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1BatchStartCommand, serializeAws_restJson1BatchStartCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class BatchStartCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchStartCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: BatchStartRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchStartResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchStartCommand(input, context);
33
- };
34
- BatchStartCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchStartCommand(output, context);
36
- };
37
- return BatchStartCommand;
38
- }($Command));
39
- export { BatchStartCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchStopRequestFilterSensitiveLog, BatchStopResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1BatchStopCommand, serializeAws_restJson1BatchStopCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class BatchStopCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchStopCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: BatchStopRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchStopResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchStopCommand(input, context);
33
- };
34
- BatchStopCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchStopCommand(output, context);
36
- };
37
- return BatchStopCommand;
38
- }($Command));
39
- export { BatchStopCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchUpdateScheduleRequestFilterSensitiveLog, BatchUpdateScheduleResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1BatchUpdateScheduleCommand, serializeAws_restJson1BatchUpdateScheduleCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class BatchUpdateScheduleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchUpdateScheduleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: BatchUpdateScheduleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchUpdateScheduleResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchUpdateScheduleCommand(input, context);
33
- };
34
- BatchUpdateScheduleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchUpdateScheduleCommand(output, context);
36
- };
37
- return BatchUpdateScheduleCommand;
38
- }($Command));
39
- export { BatchUpdateScheduleCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelInputDeviceTransferRequestFilterSensitiveLog, CancelInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CancelInputDeviceTransferCommand, serializeAws_restJson1CancelInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CancelInputDeviceTransferCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelInputDeviceTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CancelInputDeviceTransferRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelInputDeviceTransferResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CancelInputDeviceTransferCommand(input, context);
33
- };
34
- CancelInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelInputDeviceTransferCommand(output, context);
36
- };
37
- return CancelInputDeviceTransferCommand;
38
- }($Command));
39
- export { CancelInputDeviceTransferCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ClaimDeviceRequestFilterSensitiveLog, ClaimDeviceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1ClaimDeviceCommand, serializeAws_restJson1ClaimDeviceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ClaimDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ClaimDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ClaimDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ClaimDeviceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ClaimDeviceCommand(input, context);
33
- };
34
- ClaimDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ClaimDeviceCommand(output, context);
36
- };
37
- return ClaimDeviceCommand;
38
- }($Command));
39
- export { ClaimDeviceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateChannelCommand(input, context);
33
- };
34
- CreateChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateChannelCommand(output, context);
36
- };
37
- return CreateChannelCommand;
38
- }($Command));
39
- export { CreateChannelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateInputRequestFilterSensitiveLog, CreateInputResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateInputCommand, serializeAws_restJson1CreateInputCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateInputCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateInputCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: CreateInputRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateInputResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateInputCommand(input, context);
33
- };
34
- CreateInputCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateInputCommand(output, context);
36
- };
37
- return CreateInputCommand;
38
- }($Command));
39
- export { CreateInputCommand };
31
+ }
32
+ }