@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,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 { ListOfferingsRequestFilterSensitiveLog, ListOfferingsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1ListOfferingsCommand, serializeAws_restJson1ListOfferingsCommand, } from "../protocols/Aws_restJson1";
6
- var ListOfferingsCommand = (function (_super) {
7
- __extends(ListOfferingsCommand, _super);
8
- function ListOfferingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListOfferingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListOfferingsCommand.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 = "ListOfferingsCommand";
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 = "ListOfferingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListOfferingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListOfferingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListOfferingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListOfferingsCommand(input, context);
33
- };
34
- ListOfferingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListOfferingsCommand(output, context);
36
- };
37
- return ListOfferingsCommand;
38
- }($Command));
39
- export { ListOfferingsCommand };
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 { ListReservationsRequestFilterSensitiveLog, ListReservationsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1ListReservationsCommand, serializeAws_restJson1ListReservationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListReservationsCommand = (function (_super) {
7
- __extends(ListReservationsCommand, _super);
8
- function ListReservationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListReservationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListReservationsCommand.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 = "ListReservationsCommand";
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 = "ListReservationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListReservationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListReservationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListReservationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListReservationsCommand(input, context);
33
- };
34
- ListReservationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListReservationsCommand(output, context);
36
- };
37
- return ListReservationsCommand;
38
- }($Command));
39
- export { ListReservationsCommand };
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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
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 { PurchaseOfferingRequestFilterSensitiveLog, PurchaseOfferingResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1PurchaseOfferingCommand, serializeAws_restJson1PurchaseOfferingCommand, } from "../protocols/Aws_restJson1";
6
- var PurchaseOfferingCommand = (function (_super) {
7
- __extends(PurchaseOfferingCommand, _super);
8
- function PurchaseOfferingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PurchaseOfferingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PurchaseOfferingCommand.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 = "PurchaseOfferingCommand";
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 = "PurchaseOfferingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PurchaseOfferingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PurchaseOfferingResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PurchaseOfferingCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PurchaseOfferingCommand(input, context);
33
- };
34
- PurchaseOfferingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PurchaseOfferingCommand(output, context);
36
- };
37
- return PurchaseOfferingCommand;
38
- }($Command));
39
- export { PurchaseOfferingCommand };
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 { RebootInputDeviceRequestFilterSensitiveLog, RebootInputDeviceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1RebootInputDeviceCommand, serializeAws_restJson1RebootInputDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var RebootInputDeviceCommand = (function (_super) {
7
- __extends(RebootInputDeviceCommand, _super);
8
- function RebootInputDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RebootInputDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RebootInputDeviceCommand.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 = "RebootInputDeviceCommand";
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 = "RebootInputDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RebootInputDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RebootInputDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RebootInputDeviceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RebootInputDeviceCommand(input, context);
33
- };
34
- RebootInputDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RebootInputDeviceCommand(output, context);
36
- };
37
- return RebootInputDeviceCommand;
38
- }($Command));
39
- export { RebootInputDeviceCommand };
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 { RejectInputDeviceTransferRequestFilterSensitiveLog, RejectInputDeviceTransferResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1RejectInputDeviceTransferCommand, serializeAws_restJson1RejectInputDeviceTransferCommand, } from "../protocols/Aws_restJson1";
6
- var RejectInputDeviceTransferCommand = (function (_super) {
7
- __extends(RejectInputDeviceTransferCommand, _super);
8
- function RejectInputDeviceTransferCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RejectInputDeviceTransferCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RejectInputDeviceTransferCommand.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 = "RejectInputDeviceTransferCommand";
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 = "RejectInputDeviceTransferCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RejectInputDeviceTransferRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RejectInputDeviceTransferResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RejectInputDeviceTransferCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RejectInputDeviceTransferCommand(input, context);
33
- };
34
- RejectInputDeviceTransferCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RejectInputDeviceTransferCommand(output, context);
36
- };
37
- return RejectInputDeviceTransferCommand;
38
- }($Command));
39
- export { RejectInputDeviceTransferCommand };
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 { StartChannelRequestFilterSensitiveLog, StartChannelResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1StartChannelCommand, serializeAws_restJson1StartChannelCommand, } from "../protocols/Aws_restJson1";
6
- var StartChannelCommand = (function (_super) {
7
- __extends(StartChannelCommand, _super);
8
- function StartChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartChannelCommand.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 = "StartChannelCommand";
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 = "StartChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartChannelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartChannelCommand(input, context);
33
- };
34
- StartChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartChannelCommand(output, context);
36
- };
37
- return StartChannelCommand;
38
- }($Command));
39
- export { StartChannelCommand };
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 { StartInputDeviceMaintenanceWindowRequestFilterSensitiveLog, StartInputDeviceMaintenanceWindowResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand, } from "../protocols/Aws_restJson1";
6
- var StartInputDeviceMaintenanceWindowCommand = (function (_super) {
7
- __extends(StartInputDeviceMaintenanceWindowCommand, _super);
8
- function StartInputDeviceMaintenanceWindowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartInputDeviceMaintenanceWindowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartInputDeviceMaintenanceWindowCommand.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 = "StartInputDeviceMaintenanceWindowCommand";
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 = "StartInputDeviceMaintenanceWindowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartInputDeviceMaintenanceWindowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartInputDeviceMaintenanceWindowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartInputDeviceMaintenanceWindowCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(input, context);
33
- };
34
- StartInputDeviceMaintenanceWindowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartInputDeviceMaintenanceWindowCommand(output, context);
36
- };
37
- return StartInputDeviceMaintenanceWindowCommand;
38
- }($Command));
39
- export { StartInputDeviceMaintenanceWindowCommand };
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 { StartMultiplexRequestFilterSensitiveLog, StartMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1StartMultiplexCommand, serializeAws_restJson1StartMultiplexCommand, } from "../protocols/Aws_restJson1";
6
- var StartMultiplexCommand = (function (_super) {
7
- __extends(StartMultiplexCommand, _super);
8
- function StartMultiplexCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartMultiplexCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartMultiplexCommand.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 = "StartMultiplexCommand";
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 = "StartMultiplexCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartMultiplexRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartMultiplexResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartMultiplexCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartMultiplexCommand(input, context);
33
- };
34
- StartMultiplexCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartMultiplexCommand(output, context);
36
- };
37
- return StartMultiplexCommand;
38
- }($Command));
39
- export { StartMultiplexCommand };
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 { StopChannelRequestFilterSensitiveLog, StopChannelResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1StopChannelCommand, serializeAws_restJson1StopChannelCommand, } from "../protocols/Aws_restJson1";
6
- var StopChannelCommand = (function (_super) {
7
- __extends(StopChannelCommand, _super);
8
- function StopChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StopChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StopChannelCommand.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 = "StopChannelCommand";
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 = "StopChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StopChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StopChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StopChannelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StopChannelCommand(input, context);
33
- };
34
- StopChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StopChannelCommand(output, context);
36
- };
37
- return StopChannelCommand;
38
- }($Command));
39
- export { StopChannelCommand };
31
+ }
32
+ }