@aws-sdk/client-medialive 3.183.0 → 3.186.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 (95) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaLive.js +245 -238
  4. package/dist-es/MediaLiveClient.js +28 -22
  5. package/dist-es/commands/AcceptInputDeviceTransferCommand.js +28 -21
  6. package/dist-es/commands/BatchDeleteCommand.js +28 -21
  7. package/dist-es/commands/BatchStartCommand.js +28 -21
  8. package/dist-es/commands/BatchStopCommand.js +28 -21
  9. package/dist-es/commands/BatchUpdateScheduleCommand.js +28 -21
  10. package/dist-es/commands/CancelInputDeviceTransferCommand.js +28 -21
  11. package/dist-es/commands/ClaimDeviceCommand.js +28 -21
  12. package/dist-es/commands/CreateChannelCommand.js +28 -21
  13. package/dist-es/commands/CreateInputCommand.js +28 -21
  14. package/dist-es/commands/CreateInputSecurityGroupCommand.js +28 -21
  15. package/dist-es/commands/CreateMultiplexCommand.js +28 -21
  16. package/dist-es/commands/CreateMultiplexProgramCommand.js +28 -21
  17. package/dist-es/commands/CreatePartnerInputCommand.js +28 -21
  18. package/dist-es/commands/CreateTagsCommand.js +29 -22
  19. package/dist-es/commands/DeleteChannelCommand.js +28 -21
  20. package/dist-es/commands/DeleteInputCommand.js +28 -21
  21. package/dist-es/commands/DeleteInputSecurityGroupCommand.js +28 -21
  22. package/dist-es/commands/DeleteMultiplexCommand.js +28 -21
  23. package/dist-es/commands/DeleteMultiplexProgramCommand.js +28 -21
  24. package/dist-es/commands/DeleteReservationCommand.js +28 -21
  25. package/dist-es/commands/DeleteScheduleCommand.js +28 -21
  26. package/dist-es/commands/DeleteTagsCommand.js +29 -22
  27. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  28. package/dist-es/commands/DescribeInputCommand.js +28 -21
  29. package/dist-es/commands/DescribeInputDeviceCommand.js +28 -21
  30. package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +28 -21
  31. package/dist-es/commands/DescribeInputSecurityGroupCommand.js +28 -21
  32. package/dist-es/commands/DescribeMultiplexCommand.js +28 -21
  33. package/dist-es/commands/DescribeMultiplexProgramCommand.js +28 -21
  34. package/dist-es/commands/DescribeOfferingCommand.js +28 -21
  35. package/dist-es/commands/DescribeReservationCommand.js +28 -21
  36. package/dist-es/commands/DescribeScheduleCommand.js +28 -21
  37. package/dist-es/commands/ListChannelsCommand.js +28 -21
  38. package/dist-es/commands/ListInputDeviceTransfersCommand.js +28 -21
  39. package/dist-es/commands/ListInputDevicesCommand.js +28 -21
  40. package/dist-es/commands/ListInputSecurityGroupsCommand.js +28 -21
  41. package/dist-es/commands/ListInputsCommand.js +28 -21
  42. package/dist-es/commands/ListMultiplexProgramsCommand.js +28 -21
  43. package/dist-es/commands/ListMultiplexesCommand.js +28 -21
  44. package/dist-es/commands/ListOfferingsCommand.js +28 -21
  45. package/dist-es/commands/ListReservationsCommand.js +28 -21
  46. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  47. package/dist-es/commands/PurchaseOfferingCommand.js +28 -21
  48. package/dist-es/commands/RebootInputDeviceCommand.js +28 -21
  49. package/dist-es/commands/RejectInputDeviceTransferCommand.js +28 -21
  50. package/dist-es/commands/StartChannelCommand.js +28 -21
  51. package/dist-es/commands/StartInputDeviceMaintenanceWindowCommand.js +28 -21
  52. package/dist-es/commands/StartMultiplexCommand.js +28 -21
  53. package/dist-es/commands/StopChannelCommand.js +28 -21
  54. package/dist-es/commands/StopMultiplexCommand.js +28 -21
  55. package/dist-es/commands/TransferInputDeviceCommand.js +28 -21
  56. package/dist-es/commands/UpdateChannelClassCommand.js +28 -21
  57. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  58. package/dist-es/commands/UpdateInputCommand.js +28 -21
  59. package/dist-es/commands/UpdateInputDeviceCommand.js +28 -21
  60. package/dist-es/commands/UpdateInputSecurityGroupCommand.js +28 -21
  61. package/dist-es/commands/UpdateMultiplexCommand.js +28 -21
  62. package/dist-es/commands/UpdateMultiplexProgramCommand.js +28 -21
  63. package/dist-es/commands/UpdateReservationCommand.js +28 -21
  64. package/dist-es/endpoints.js +8 -8
  65. package/dist-es/models/MediaLiveServiceException.js +10 -5
  66. package/dist-es/models/models_0.js +144 -429
  67. package/dist-es/models/models_1.js +298 -673
  68. package/dist-es/models/models_2.js +17 -48
  69. package/dist-es/pagination/DescribeSchedulePaginator.js +68 -25
  70. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  71. package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +68 -25
  72. package/dist-es/pagination/ListInputDevicesPaginator.js +68 -25
  73. package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +68 -25
  74. package/dist-es/pagination/ListInputsPaginator.js +68 -25
  75. package/dist-es/pagination/ListMultiplexProgramsPaginator.js +68 -25
  76. package/dist-es/pagination/ListMultiplexesPaginator.js +68 -25
  77. package/dist-es/pagination/ListOfferingsPaginator.js +68 -25
  78. package/dist-es/pagination/ListReservationsPaginator.js +68 -25
  79. package/dist-es/protocols/Aws_restJson1.js +8440 -7424
  80. package/dist-es/runtimeConfig.browser.js +12 -26
  81. package/dist-es/runtimeConfig.js +12 -30
  82. package/dist-es/runtimeConfig.native.js +5 -8
  83. package/dist-es/runtimeConfig.shared.js +11 -8
  84. package/dist-es/waiters/waitForChannelCreated.js +68 -48
  85. package/dist-es/waiters/waitForChannelDeleted.js +59 -39
  86. package/dist-es/waiters/waitForChannelRunning.js +59 -39
  87. package/dist-es/waiters/waitForChannelStopped.js +59 -39
  88. package/dist-es/waiters/waitForInputAttached.js +59 -39
  89. package/dist-es/waiters/waitForInputDeleted.js +59 -39
  90. package/dist-es/waiters/waitForInputDetached.js +68 -48
  91. package/dist-es/waiters/waitForMultiplexCreated.js +68 -48
  92. package/dist-es/waiters/waitForMultiplexDeleted.js +59 -39
  93. package/dist-es/waiters/waitForMultiplexRunning.js +59 -39
  94. package/dist-es/waiters/waitForMultiplexStopped.js +59 -39
  95. package/package.json +34 -34
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateInputSecurityGroupRequestFilterSensitiveLog, CreateInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateInputSecurityGroupCommand, serializeAws_restJson1CreateInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateInputSecurityGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateInputSecurityGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateInputSecurityGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateInputSecurityGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateInputSecurityGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateInputSecurityGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateInputSecurityGroupCommand;
38
+ }($Command));
39
+ export { CreateInputSecurityGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateMultiplexRequestFilterSensitiveLog, CreateMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateMultiplexCommand, serializeAws_restJson1CreateMultiplexCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateMultiplexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMultiplexCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateMultiplexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMultiplexResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateMultiplexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMultiplexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateMultiplexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMultiplexCommand;
38
+ }($Command));
39
+ export { CreateMultiplexCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateMultiplexProgramRequestFilterSensitiveLog, CreateMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateMultiplexProgramCommand, serializeAws_restJson1CreateMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateMultiplexProgramCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMultiplexProgramCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateMultiplexProgramRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMultiplexProgramResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateMultiplexProgramCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMultiplexProgramCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateMultiplexProgramCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMultiplexProgramCommand;
38
+ }($Command));
39
+ export { CreateMultiplexProgramCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePartnerInputRequestFilterSensitiveLog, CreatePartnerInputResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreatePartnerInputCommand, serializeAws_restJson1CreatePartnerInputCommand, } from "../protocols/Aws_restJson1";
5
- export class CreatePartnerInputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePartnerInputCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreatePartnerInputRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePartnerInputResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreatePartnerInputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePartnerInputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreatePartnerInputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePartnerInputCommand;
38
+ }($Command));
39
+ export { CreatePartnerInputCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateTagsRequestFilterSensitiveLog } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateTagsCommand, serializeAws_restJson1CreateTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTagsCommand;
38
+ }($Command));
39
+ export { CreateTagsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelRequestFilterSensitiveLog, DeleteChannelResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteChannelResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelCommand;
38
+ }($Command));
39
+ export { DeleteChannelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteInputRequestFilterSensitiveLog, DeleteInputResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteInputCommand, serializeAws_restJson1DeleteInputCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteInputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteInputCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteInputRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteInputResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteInputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteInputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteInputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteInputCommand;
38
+ }($Command));
39
+ export { DeleteInputCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteInputSecurityGroupRequestFilterSensitiveLog, DeleteInputSecurityGroupResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteInputSecurityGroupCommand, serializeAws_restJson1DeleteInputSecurityGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteInputSecurityGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteInputSecurityGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteInputSecurityGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteInputSecurityGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteInputSecurityGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteInputSecurityGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteInputSecurityGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteInputSecurityGroupCommand;
38
+ }($Command));
39
+ export { DeleteInputSecurityGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteMultiplexRequestFilterSensitiveLog, DeleteMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteMultiplexCommand, serializeAws_restJson1DeleteMultiplexCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteMultiplexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMultiplexCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteMultiplexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteMultiplexResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteMultiplexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMultiplexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteMultiplexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMultiplexCommand;
38
+ }($Command));
39
+ export { DeleteMultiplexCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteMultiplexProgramRequestFilterSensitiveLog, DeleteMultiplexProgramResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1DeleteMultiplexProgramCommand, serializeAws_restJson1DeleteMultiplexProgramCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteMultiplexProgramCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMultiplexProgramCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteMultiplexProgramRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteMultiplexProgramResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteMultiplexProgramCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMultiplexProgramCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteMultiplexProgramCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMultiplexProgramCommand;
38
+ }($Command));
39
+ export { DeleteMultiplexProgramCommand };