@aws-sdk/client-medialive 3.185.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 +20 -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 { DeleteReservationRequestFilterSensitiveLog, DeleteReservationResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteReservationCommand, serializeAws_restJson1DeleteReservationCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteReservationCommand = (function (_super) {
7
- __extends(DeleteReservationCommand, _super);
8
- function DeleteReservationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReservationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReservationCommand.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 = "DeleteReservationCommand";
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 = "DeleteReservationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReservationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReservationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReservationCommand.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_restJson1DeleteReservationCommand(input, context);
33
- };
34
- DeleteReservationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteReservationCommand(output, context);
36
- };
37
- return DeleteReservationCommand;
38
- }($Command));
39
- export { DeleteReservationCommand };
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 { DeleteScheduleRequestFilterSensitiveLog, DeleteScheduleResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteScheduleCommand, serializeAws_restJson1DeleteScheduleCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteScheduleCommand = (function (_super) {
7
- __extends(DeleteScheduleCommand, _super);
8
- function DeleteScheduleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteScheduleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteScheduleCommand.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 = "DeleteScheduleCommand";
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 = "DeleteScheduleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteScheduleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteScheduleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteScheduleCommand.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_restJson1DeleteScheduleCommand(input, context);
33
- };
34
- DeleteScheduleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteScheduleCommand(output, context);
36
- };
37
- return DeleteScheduleCommand;
38
- }($Command));
39
- export { DeleteScheduleCommand };
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 { DeleteTagsRequestFilterSensitiveLog } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteTagsCommand, serializeAws_restJson1DeleteTagsCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteTagsCommand = (function (_super) {
7
- __extends(DeleteTagsCommand, _super);
8
- function DeleteTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTagsCommand.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 = "DeleteTagsCommand";
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 = "DeleteTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTagsRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTagsCommand.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_restJson1DeleteTagsCommand(input, context);
33
- };
34
- DeleteTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteTagsCommand(output, context);
36
- };
37
- return DeleteTagsCommand;
38
- }($Command));
39
- export { DeleteTagsCommand };
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 { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeChannelCommand = (function (_super) {
7
- __extends(DescribeChannelCommand, _super);
8
- function DescribeChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelCommand.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 = "DescribeChannelCommand";
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 = "DescribeChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeChannelCommand.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_restJson1DescribeChannelCommand(input, context);
33
- };
34
- DescribeChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelCommand(output, context);
36
- };
37
- return DescribeChannelCommand;
38
- }($Command));
39
- export { DescribeChannelCommand };
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 { DescribeInputRequestFilterSensitiveLog, DescribeInputResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeInputCommand, serializeAws_restJson1DescribeInputCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInputCommand = (function (_super) {
7
- __extends(DescribeInputCommand, _super);
8
- function DescribeInputCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInputCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInputCommand.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 = "DescribeInputCommand";
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 = "DescribeInputCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInputRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInputResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInputCommand.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_restJson1DescribeInputCommand(input, context);
33
- };
34
- DescribeInputCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInputCommand(output, context);
36
- };
37
- return DescribeInputCommand;
38
- }($Command));
39
- export { DescribeInputCommand };
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 { DescribeInputDeviceRequestFilterSensitiveLog, DescribeInputDeviceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeInputDeviceCommand, serializeAws_restJson1DescribeInputDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInputDeviceCommand = (function (_super) {
7
- __extends(DescribeInputDeviceCommand, _super);
8
- function DescribeInputDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInputDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInputDeviceCommand.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 = "DescribeInputDeviceCommand";
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 = "DescribeInputDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInputDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInputDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInputDeviceCommand.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_restJson1DescribeInputDeviceCommand(input, context);
33
- };
34
- DescribeInputDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInputDeviceCommand(output, context);
36
- };
37
- return DescribeInputDeviceCommand;
38
- }($Command));
39
- export { DescribeInputDeviceCommand };
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 { DescribeInputDeviceThumbnailRequestFilterSensitiveLog, DescribeInputDeviceThumbnailResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeInputDeviceThumbnailCommand, serializeAws_restJson1DescribeInputDeviceThumbnailCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInputDeviceThumbnailCommand = (function (_super) {
7
- __extends(DescribeInputDeviceThumbnailCommand, _super);
8
- function DescribeInputDeviceThumbnailCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInputDeviceThumbnailCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInputDeviceThumbnailCommand.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 = "DescribeInputDeviceThumbnailCommand";
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 = "DescribeInputDeviceThumbnailCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInputDeviceThumbnailRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInputDeviceThumbnailResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInputDeviceThumbnailCommand.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_restJson1DescribeInputDeviceThumbnailCommand(input, context);
33
- };
34
- DescribeInputDeviceThumbnailCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInputDeviceThumbnailCommand(output, context);
36
- };
37
- return DescribeInputDeviceThumbnailCommand;
38
- }($Command));
39
- export { DescribeInputDeviceThumbnailCommand };
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 { DescribeInputSecurityGroupRequestFilterSensitiveLog, DescribeInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeInputSecurityGroupCommand, serializeAws_restJson1DescribeInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInputSecurityGroupCommand = (function (_super) {
7
- __extends(DescribeInputSecurityGroupCommand, _super);
8
- function DescribeInputSecurityGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInputSecurityGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInputSecurityGroupCommand.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 = "DescribeInputSecurityGroupCommand";
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 = "DescribeInputSecurityGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInputSecurityGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInputSecurityGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInputSecurityGroupCommand.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_restJson1DescribeInputSecurityGroupCommand(input, context);
33
- };
34
- DescribeInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInputSecurityGroupCommand(output, context);
36
- };
37
- return DescribeInputSecurityGroupCommand;
38
- }($Command));
39
- export { DescribeInputSecurityGroupCommand };
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 { DescribeMultiplexRequestFilterSensitiveLog, DescribeMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeMultiplexCommand, serializeAws_restJson1DescribeMultiplexCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeMultiplexCommand = (function (_super) {
7
- __extends(DescribeMultiplexCommand, _super);
8
- function DescribeMultiplexCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeMultiplexCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeMultiplexCommand.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 = "DescribeMultiplexCommand";
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 = "DescribeMultiplexCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeMultiplexRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeMultiplexResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeMultiplexCommand.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_restJson1DescribeMultiplexCommand(input, context);
33
- };
34
- DescribeMultiplexCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeMultiplexCommand(output, context);
36
- };
37
- return DescribeMultiplexCommand;
38
- }($Command));
39
- export { DescribeMultiplexCommand };
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 { DescribeMultiplexProgramRequestFilterSensitiveLog, DescribeMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DescribeMultiplexProgramCommand, serializeAws_restJson1DescribeMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeMultiplexProgramCommand = (function (_super) {
7
- __extends(DescribeMultiplexProgramCommand, _super);
8
- function DescribeMultiplexProgramCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeMultiplexProgramCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeMultiplexProgramCommand.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 = "DescribeMultiplexProgramCommand";
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 = "DescribeMultiplexProgramCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeMultiplexProgramRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeMultiplexProgramResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeMultiplexProgramCommand.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_restJson1DescribeMultiplexProgramCommand(input, context);
33
- };
34
- DescribeMultiplexProgramCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeMultiplexProgramCommand(output, context);
36
- };
37
- return DescribeMultiplexProgramCommand;
38
- }($Command));
39
- export { DescribeMultiplexProgramCommand };
31
+ }
32
+ }