@aws-sdk/client-mediatailor 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 (63) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaTailor.js +177 -170
  4. package/dist-es/MediaTailorClient.js +28 -22
  5. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +28 -21
  6. package/dist-es/commands/CreateChannelCommand.js +28 -21
  7. package/dist-es/commands/CreateLiveSourceCommand.js +28 -21
  8. package/dist-es/commands/CreatePrefetchScheduleCommand.js +28 -21
  9. package/dist-es/commands/CreateProgramCommand.js +28 -21
  10. package/dist-es/commands/CreateSourceLocationCommand.js +28 -21
  11. package/dist-es/commands/CreateVodSourceCommand.js +28 -21
  12. package/dist-es/commands/DeleteChannelCommand.js +28 -21
  13. package/dist-es/commands/DeleteChannelPolicyCommand.js +28 -21
  14. package/dist-es/commands/DeleteLiveSourceCommand.js +28 -21
  15. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +28 -21
  16. package/dist-es/commands/DeletePrefetchScheduleCommand.js +28 -21
  17. package/dist-es/commands/DeleteProgramCommand.js +28 -21
  18. package/dist-es/commands/DeleteSourceLocationCommand.js +28 -21
  19. package/dist-es/commands/DeleteVodSourceCommand.js +28 -21
  20. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  21. package/dist-es/commands/DescribeLiveSourceCommand.js +28 -21
  22. package/dist-es/commands/DescribeProgramCommand.js +28 -21
  23. package/dist-es/commands/DescribeSourceLocationCommand.js +28 -21
  24. package/dist-es/commands/DescribeVodSourceCommand.js +28 -21
  25. package/dist-es/commands/GetChannelPolicyCommand.js +28 -21
  26. package/dist-es/commands/GetChannelScheduleCommand.js +28 -21
  27. package/dist-es/commands/GetPlaybackConfigurationCommand.js +28 -21
  28. package/dist-es/commands/GetPrefetchScheduleCommand.js +28 -21
  29. package/dist-es/commands/ListAlertsCommand.js +28 -21
  30. package/dist-es/commands/ListChannelsCommand.js +28 -21
  31. package/dist-es/commands/ListLiveSourcesCommand.js +28 -21
  32. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +28 -21
  33. package/dist-es/commands/ListPrefetchSchedulesCommand.js +28 -21
  34. package/dist-es/commands/ListSourceLocationsCommand.js +28 -21
  35. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  36. package/dist-es/commands/ListVodSourcesCommand.js +28 -21
  37. package/dist-es/commands/PutChannelPolicyCommand.js +28 -21
  38. package/dist-es/commands/PutPlaybackConfigurationCommand.js +28 -21
  39. package/dist-es/commands/StartChannelCommand.js +28 -21
  40. package/dist-es/commands/StopChannelCommand.js +28 -21
  41. package/dist-es/commands/TagResourceCommand.js +29 -22
  42. package/dist-es/commands/UntagResourceCommand.js +29 -22
  43. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  44. package/dist-es/commands/UpdateLiveSourceCommand.js +28 -21
  45. package/dist-es/commands/UpdateSourceLocationCommand.js +28 -21
  46. package/dist-es/commands/UpdateVodSourceCommand.js +28 -21
  47. package/dist-es/endpoints.js +8 -8
  48. package/dist-es/models/MediaTailorServiceException.js +10 -5
  49. package/dist-es/models/models_0.js +132 -369
  50. package/dist-es/pagination/GetChannelSchedulePaginator.js +68 -25
  51. package/dist-es/pagination/ListAlertsPaginator.js +68 -25
  52. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  53. package/dist-es/pagination/ListLiveSourcesPaginator.js +68 -25
  54. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +68 -25
  55. package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +68 -25
  56. package/dist-es/pagination/ListSourceLocationsPaginator.js +68 -25
  57. package/dist-es/pagination/ListVodSourcesPaginator.js +68 -25
  58. package/dist-es/protocols/Aws_restJson1.js +3658 -2754
  59. package/dist-es/runtimeConfig.browser.js +12 -26
  60. package/dist-es/runtimeConfig.js +12 -30
  61. package/dist-es/runtimeConfig.native.js +5 -8
  62. package/dist-es/runtimeConfig.shared.js +11 -8
  63. package/package.json +33 -33
@@ -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 { DescribeVodSourceRequestFilterSensitiveLog, DescribeVodSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeVodSourceCommand, serializeAws_restJson1DescribeVodSourceCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeVodSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeVodSourceCommand = (function (_super) {
7
+ __extends(DescribeVodSourceCommand, _super);
8
+ function DescribeVodSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeVodSourceCommand.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 = "MediaTailorClient";
15
- const commandName = "DescribeVodSourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "DescribeVodSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeVodSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeVodSourceResponseFilterSensitiveLog,
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
+ DescribeVodSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeVodSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeVodSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeVodSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeVodSourceCommand;
38
+ }($Command));
39
+ export { DescribeVodSourceCommand };
@@ -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 { GetChannelPolicyRequestFilterSensitiveLog, GetChannelPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelPolicyCommand, serializeAws_restJson1GetChannelPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetChannelPolicyCommand = (function (_super) {
7
+ __extends(GetChannelPolicyCommand, _super);
8
+ function GetChannelPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelPolicyCommand.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 = "MediaTailorClient";
15
- const commandName = "GetChannelPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "GetChannelPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelPolicyResponseFilterSensitiveLog,
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
+ GetChannelPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelPolicyCommand;
38
+ }($Command));
39
+ export { GetChannelPolicyCommand };
@@ -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 { GetChannelScheduleRequestFilterSensitiveLog, GetChannelScheduleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelScheduleCommand, serializeAws_restJson1GetChannelScheduleCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelScheduleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetChannelScheduleCommand = (function (_super) {
7
+ __extends(GetChannelScheduleCommand, _super);
8
+ function GetChannelScheduleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelScheduleCommand.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 = "MediaTailorClient";
15
- const commandName = "GetChannelScheduleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "GetChannelScheduleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelScheduleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelScheduleResponseFilterSensitiveLog,
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
+ GetChannelScheduleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelScheduleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelScheduleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelScheduleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelScheduleCommand;
38
+ }($Command));
39
+ export { GetChannelScheduleCommand };
@@ -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 { GetPlaybackConfigurationRequestFilterSensitiveLog, GetPlaybackConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPlaybackConfigurationCommand, serializeAws_restJson1GetPlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPlaybackConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPlaybackConfigurationCommand = (function (_super) {
7
+ __extends(GetPlaybackConfigurationCommand, _super);
8
+ function GetPlaybackConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPlaybackConfigurationCommand.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 = "MediaTailorClient";
15
- const commandName = "GetPlaybackConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "GetPlaybackConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPlaybackConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPlaybackConfigurationResponseFilterSensitiveLog,
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
+ GetPlaybackConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPlaybackConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPlaybackConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPlaybackConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPlaybackConfigurationCommand;
38
+ }($Command));
39
+ export { GetPlaybackConfigurationCommand };
@@ -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 { GetPrefetchScheduleRequestFilterSensitiveLog, GetPrefetchScheduleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPrefetchScheduleCommand, serializeAws_restJson1GetPrefetchScheduleCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPrefetchScheduleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPrefetchScheduleCommand = (function (_super) {
7
+ __extends(GetPrefetchScheduleCommand, _super);
8
+ function GetPrefetchScheduleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPrefetchScheduleCommand.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 = "MediaTailorClient";
15
- const commandName = "GetPrefetchScheduleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "GetPrefetchScheduleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPrefetchScheduleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPrefetchScheduleResponseFilterSensitiveLog,
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
+ GetPrefetchScheduleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPrefetchScheduleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPrefetchScheduleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPrefetchScheduleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPrefetchScheduleCommand;
38
+ }($Command));
39
+ export { GetPrefetchScheduleCommand };
@@ -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 { ListAlertsRequestFilterSensitiveLog, ListAlertsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAlertsCommand, serializeAws_restJson1ListAlertsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAlertsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAlertsCommand = (function (_super) {
7
+ __extends(ListAlertsCommand, _super);
8
+ function ListAlertsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAlertsCommand.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 = "MediaTailorClient";
15
- const commandName = "ListAlertsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ListAlertsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAlertsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAlertsResponseFilterSensitiveLog,
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
+ ListAlertsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAlertsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAlertsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAlertsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAlertsCommand;
38
+ }($Command));
39
+ export { ListAlertsCommand };
@@ -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 { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsCommand = (function (_super) {
7
+ __extends(ListChannelsCommand, _super);
8
+ function ListChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsCommand.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 = "MediaTailorClient";
15
- const commandName = "ListChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ListChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
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
+ ListChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsCommand;
38
+ }($Command));
39
+ export { ListChannelsCommand };
@@ -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 { ListLiveSourcesRequestFilterSensitiveLog, ListLiveSourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListLiveSourcesCommand, serializeAws_restJson1ListLiveSourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListLiveSourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLiveSourcesCommand = (function (_super) {
7
+ __extends(ListLiveSourcesCommand, _super);
8
+ function ListLiveSourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLiveSourcesCommand.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 = "MediaTailorClient";
15
- const commandName = "ListLiveSourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ListLiveSourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLiveSourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLiveSourcesResponseFilterSensitiveLog,
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
+ ListLiveSourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListLiveSourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLiveSourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListLiveSourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLiveSourcesCommand;
38
+ }($Command));
39
+ export { ListLiveSourcesCommand };
@@ -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 { ListPlaybackConfigurationsRequestFilterSensitiveLog, ListPlaybackConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPlaybackConfigurationsCommand, serializeAws_restJson1ListPlaybackConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPlaybackConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPlaybackConfigurationsCommand = (function (_super) {
7
+ __extends(ListPlaybackConfigurationsCommand, _super);
8
+ function ListPlaybackConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPlaybackConfigurationsCommand.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 = "MediaTailorClient";
15
- const commandName = "ListPlaybackConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ListPlaybackConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPlaybackConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPlaybackConfigurationsResponseFilterSensitiveLog,
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
+ ListPlaybackConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPlaybackConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPlaybackConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPlaybackConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPlaybackConfigurationsCommand;
38
+ }($Command));
39
+ export { ListPlaybackConfigurationsCommand };
@@ -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 { ListPrefetchSchedulesRequestFilterSensitiveLog, ListPrefetchSchedulesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPrefetchSchedulesCommand, serializeAws_restJson1ListPrefetchSchedulesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPrefetchSchedulesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPrefetchSchedulesCommand = (function (_super) {
7
+ __extends(ListPrefetchSchedulesCommand, _super);
8
+ function ListPrefetchSchedulesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPrefetchSchedulesCommand.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 = "MediaTailorClient";
15
- const commandName = "ListPrefetchSchedulesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ListPrefetchSchedulesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPrefetchSchedulesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPrefetchSchedulesResponseFilterSensitiveLog,
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
+ ListPrefetchSchedulesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPrefetchSchedulesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPrefetchSchedulesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPrefetchSchedulesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPrefetchSchedulesCommand;
38
+ }($Command));
39
+ export { ListPrefetchSchedulesCommand };