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