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