@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 { CreateInputSecurityGroupRequestFilterSensitiveLog, CreateInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateInputSecurityGroupCommand, serializeAws_restJson1CreateInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
6
- var CreateInputSecurityGroupCommand = (function (_super) {
7
- __extends(CreateInputSecurityGroupCommand, _super);
8
- function CreateInputSecurityGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateInputSecurityGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateInputSecurityGroupCommand.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 = "CreateInputSecurityGroupCommand";
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 = "CreateInputSecurityGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateInputSecurityGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateInputSecurityGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateInputSecurityGroupCommand.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_restJson1CreateInputSecurityGroupCommand(input, context);
33
- };
34
- CreateInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateInputSecurityGroupCommand(output, context);
36
- };
37
- return CreateInputSecurityGroupCommand;
38
- }($Command));
39
- export { CreateInputSecurityGroupCommand };
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 { CreateMultiplexRequestFilterSensitiveLog, CreateMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateMultiplexCommand, serializeAws_restJson1CreateMultiplexCommand, } from "../protocols/Aws_restJson1";
6
- var CreateMultiplexCommand = (function (_super) {
7
- __extends(CreateMultiplexCommand, _super);
8
- function CreateMultiplexCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateMultiplexCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateMultiplexCommand.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 = "CreateMultiplexCommand";
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 = "CreateMultiplexCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateMultiplexRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateMultiplexResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateMultiplexCommand.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_restJson1CreateMultiplexCommand(input, context);
33
- };
34
- CreateMultiplexCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateMultiplexCommand(output, context);
36
- };
37
- return CreateMultiplexCommand;
38
- }($Command));
39
- export { CreateMultiplexCommand };
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 { CreateMultiplexProgramRequestFilterSensitiveLog, CreateMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateMultiplexProgramCommand, serializeAws_restJson1CreateMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
6
- var CreateMultiplexProgramCommand = (function (_super) {
7
- __extends(CreateMultiplexProgramCommand, _super);
8
- function CreateMultiplexProgramCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateMultiplexProgramCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateMultiplexProgramCommand.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 = "CreateMultiplexProgramCommand";
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 = "CreateMultiplexProgramCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateMultiplexProgramRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateMultiplexProgramResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateMultiplexProgramCommand.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_restJson1CreateMultiplexProgramCommand(input, context);
33
- };
34
- CreateMultiplexProgramCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateMultiplexProgramCommand(output, context);
36
- };
37
- return CreateMultiplexProgramCommand;
38
- }($Command));
39
- export { CreateMultiplexProgramCommand };
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 { CreatePartnerInputRequestFilterSensitiveLog, CreatePartnerInputResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreatePartnerInputCommand, serializeAws_restJson1CreatePartnerInputCommand, } from "../protocols/Aws_restJson1";
6
- var CreatePartnerInputCommand = (function (_super) {
7
- __extends(CreatePartnerInputCommand, _super);
8
- function CreatePartnerInputCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreatePartnerInputCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreatePartnerInputCommand.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 = "CreatePartnerInputCommand";
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 = "CreatePartnerInputCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreatePartnerInputRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreatePartnerInputResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreatePartnerInputCommand.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_restJson1CreatePartnerInputCommand(input, context);
33
- };
34
- CreatePartnerInputCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreatePartnerInputCommand(output, context);
36
- };
37
- return CreatePartnerInputCommand;
38
- }($Command));
39
- export { CreatePartnerInputCommand };
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 { CreateTagsRequestFilterSensitiveLog } from "../models/models_1";
5
4
  import { deserializeAws_restJson1CreateTagsCommand, serializeAws_restJson1CreateTagsCommand, } from "../protocols/Aws_restJson1";
6
- var CreateTagsCommand = (function (_super) {
7
- __extends(CreateTagsCommand, _super);
8
- function CreateTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTagsCommand.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 = "CreateTagsCommand";
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 = "CreateTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
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
- CreateTagsCommand.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_restJson1CreateTagsCommand(input, context);
33
- };
34
- CreateTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateTagsCommand(output, context);
36
- };
37
- return CreateTagsCommand;
38
- }($Command));
39
- export { CreateTagsCommand };
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 { DeleteChannelRequestFilterSensitiveLog, DeleteChannelResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteChannelCommand = (function (_super) {
7
- __extends(DeleteChannelCommand, _super);
8
- function DeleteChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelCommand.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 = "DeleteChannelCommand";
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 = "DeleteChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelCommand.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_restJson1DeleteChannelCommand(input, context);
33
- };
34
- DeleteChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
36
- };
37
- return DeleteChannelCommand;
38
- }($Command));
39
- export { DeleteChannelCommand };
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 { DeleteInputRequestFilterSensitiveLog, DeleteInputResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteInputCommand, serializeAws_restJson1DeleteInputCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteInputCommand = (function (_super) {
7
- __extends(DeleteInputCommand, _super);
8
- function DeleteInputCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteInputCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteInputCommand.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 = "DeleteInputCommand";
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 = "DeleteInputCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteInputRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteInputResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteInputCommand.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_restJson1DeleteInputCommand(input, context);
33
- };
34
- DeleteInputCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteInputCommand(output, context);
36
- };
37
- return DeleteInputCommand;
38
- }($Command));
39
- export { DeleteInputCommand };
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 { DeleteInputSecurityGroupRequestFilterSensitiveLog, DeleteInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteInputSecurityGroupCommand, serializeAws_restJson1DeleteInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteInputSecurityGroupCommand = (function (_super) {
7
- __extends(DeleteInputSecurityGroupCommand, _super);
8
- function DeleteInputSecurityGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteInputSecurityGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteInputSecurityGroupCommand.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 = "DeleteInputSecurityGroupCommand";
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 = "DeleteInputSecurityGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteInputSecurityGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteInputSecurityGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteInputSecurityGroupCommand.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_restJson1DeleteInputSecurityGroupCommand(input, context);
33
- };
34
- DeleteInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteInputSecurityGroupCommand(output, context);
36
- };
37
- return DeleteInputSecurityGroupCommand;
38
- }($Command));
39
- export { DeleteInputSecurityGroupCommand };
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 { DeleteMultiplexRequestFilterSensitiveLog, DeleteMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteMultiplexCommand, serializeAws_restJson1DeleteMultiplexCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteMultiplexCommand = (function (_super) {
7
- __extends(DeleteMultiplexCommand, _super);
8
- function DeleteMultiplexCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteMultiplexCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteMultiplexCommand.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 = "DeleteMultiplexCommand";
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 = "DeleteMultiplexCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteMultiplexRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteMultiplexResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteMultiplexCommand.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_restJson1DeleteMultiplexCommand(input, context);
33
- };
34
- DeleteMultiplexCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteMultiplexCommand(output, context);
36
- };
37
- return DeleteMultiplexCommand;
38
- }($Command));
39
- export { DeleteMultiplexCommand };
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 { DeleteMultiplexProgramRequestFilterSensitiveLog, DeleteMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1DeleteMultiplexProgramCommand, serializeAws_restJson1DeleteMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteMultiplexProgramCommand = (function (_super) {
7
- __extends(DeleteMultiplexProgramCommand, _super);
8
- function DeleteMultiplexProgramCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteMultiplexProgramCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteMultiplexProgramCommand.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 = "DeleteMultiplexProgramCommand";
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 = "DeleteMultiplexProgramCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteMultiplexProgramRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteMultiplexProgramResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteMultiplexProgramCommand.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_restJson1DeleteMultiplexProgramCommand(input, context);
33
- };
34
- DeleteMultiplexProgramCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteMultiplexProgramCommand(output, context);
36
- };
37
- return DeleteMultiplexProgramCommand;
38
- }($Command));
39
- export { DeleteMultiplexProgramCommand };
31
+ }
32
+ }