@aws-sdk/client-mediatailor 3.183.0 → 3.185.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 +11 -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 +5 -5
@@ -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 { DeleteLiveSourceRequestFilterSensitiveLog, DeleteLiveSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteLiveSourceCommand, serializeAws_restJson1DeleteLiveSourceCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteLiveSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLiveSourceCommand = (function (_super) {
7
+ __extends(DeleteLiveSourceCommand, _super);
8
+ function DeleteLiveSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLiveSourceCommand.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 = "DeleteLiveSourceCommand";
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 = "DeleteLiveSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLiveSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLiveSourceResponseFilterSensitiveLog,
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
+ DeleteLiveSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteLiveSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLiveSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteLiveSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLiveSourceCommand;
38
+ }($Command));
39
+ export { DeleteLiveSourceCommand };
@@ -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 { DeletePlaybackConfigurationRequestFilterSensitiveLog, DeletePlaybackConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePlaybackConfigurationCommand, serializeAws_restJson1DeletePlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePlaybackConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePlaybackConfigurationCommand = (function (_super) {
7
+ __extends(DeletePlaybackConfigurationCommand, _super);
8
+ function DeletePlaybackConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePlaybackConfigurationCommand.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 = "DeletePlaybackConfigurationCommand";
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 = "DeletePlaybackConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePlaybackConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePlaybackConfigurationResponseFilterSensitiveLog,
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
+ DeletePlaybackConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePlaybackConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePlaybackConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePlaybackConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePlaybackConfigurationCommand;
38
+ }($Command));
39
+ export { DeletePlaybackConfigurationCommand };
@@ -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 { DeletePrefetchScheduleRequestFilterSensitiveLog, DeletePrefetchScheduleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePrefetchScheduleCommand, serializeAws_restJson1DeletePrefetchScheduleCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePrefetchScheduleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePrefetchScheduleCommand = (function (_super) {
7
+ __extends(DeletePrefetchScheduleCommand, _super);
8
+ function DeletePrefetchScheduleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePrefetchScheduleCommand.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 = "DeletePrefetchScheduleCommand";
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 = "DeletePrefetchScheduleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePrefetchScheduleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePrefetchScheduleResponseFilterSensitiveLog,
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
+ DeletePrefetchScheduleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePrefetchScheduleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePrefetchScheduleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePrefetchScheduleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePrefetchScheduleCommand;
38
+ }($Command));
39
+ export { DeletePrefetchScheduleCommand };
@@ -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 { DeleteProgramRequestFilterSensitiveLog, DeleteProgramResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteProgramCommand, serializeAws_restJson1DeleteProgramCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteProgramCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteProgramCommand = (function (_super) {
7
+ __extends(DeleteProgramCommand, _super);
8
+ function DeleteProgramCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteProgramCommand.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 = "DeleteProgramCommand";
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 = "DeleteProgramCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteProgramRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteProgramResponseFilterSensitiveLog,
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
+ DeleteProgramCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteProgramCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteProgramCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteProgramCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteProgramCommand;
38
+ }($Command));
39
+ export { DeleteProgramCommand };
@@ -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 { DeleteSourceLocationRequestFilterSensitiveLog, DeleteSourceLocationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSourceLocationCommand, serializeAws_restJson1DeleteSourceLocationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSourceLocationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSourceLocationCommand = (function (_super) {
7
+ __extends(DeleteSourceLocationCommand, _super);
8
+ function DeleteSourceLocationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSourceLocationCommand.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 = "DeleteSourceLocationCommand";
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 = "DeleteSourceLocationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSourceLocationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSourceLocationResponseFilterSensitiveLog,
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
+ DeleteSourceLocationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSourceLocationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSourceLocationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSourceLocationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSourceLocationCommand;
38
+ }($Command));
39
+ export { DeleteSourceLocationCommand };
@@ -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 { DeleteVodSourceRequestFilterSensitiveLog, DeleteVodSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteVodSourceCommand, serializeAws_restJson1DeleteVodSourceCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteVodSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVodSourceCommand = (function (_super) {
7
+ __extends(DeleteVodSourceCommand, _super);
8
+ function DeleteVodSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVodSourceCommand.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 = "DeleteVodSourceCommand";
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 = "DeleteVodSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVodSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteVodSourceResponseFilterSensitiveLog,
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
+ DeleteVodSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteVodSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVodSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteVodSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVodSourceCommand;
38
+ }($Command));
39
+ export { DeleteVodSourceCommand };
@@ -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 { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelCommand = (function (_super) {
7
+ __extends(DescribeChannelCommand, _super);
8
+ function DescribeChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelCommand.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 = "DescribeChannelCommand";
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 = "DescribeChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
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
+ DescribeChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelCommand;
38
+ }($Command));
39
+ export { DescribeChannelCommand };
@@ -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 { DescribeLiveSourceRequestFilterSensitiveLog, DescribeLiveSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeLiveSourceCommand, serializeAws_restJson1DescribeLiveSourceCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeLiveSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLiveSourceCommand = (function (_super) {
7
+ __extends(DescribeLiveSourceCommand, _super);
8
+ function DescribeLiveSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLiveSourceCommand.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 = "DescribeLiveSourceCommand";
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 = "DescribeLiveSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLiveSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLiveSourceResponseFilterSensitiveLog,
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
+ DescribeLiveSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeLiveSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLiveSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeLiveSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLiveSourceCommand;
38
+ }($Command));
39
+ export { DescribeLiveSourceCommand };
@@ -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 { DescribeProgramRequestFilterSensitiveLog, DescribeProgramResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeProgramCommand, serializeAws_restJson1DescribeProgramCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeProgramCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeProgramCommand = (function (_super) {
7
+ __extends(DescribeProgramCommand, _super);
8
+ function DescribeProgramCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProgramCommand.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 = "DescribeProgramCommand";
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 = "DescribeProgramCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeProgramRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProgramResponseFilterSensitiveLog,
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
+ DescribeProgramCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeProgramCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProgramCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeProgramCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProgramCommand;
38
+ }($Command));
39
+ export { DescribeProgramCommand };
@@ -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 { DescribeSourceLocationRequestFilterSensitiveLog, DescribeSourceLocationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeSourceLocationCommand, serializeAws_restJson1DescribeSourceLocationCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeSourceLocationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSourceLocationCommand = (function (_super) {
7
+ __extends(DescribeSourceLocationCommand, _super);
8
+ function DescribeSourceLocationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSourceLocationCommand.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 = "DescribeSourceLocationCommand";
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 = "DescribeSourceLocationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSourceLocationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSourceLocationResponseFilterSensitiveLog,
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
+ DescribeSourceLocationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeSourceLocationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSourceLocationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeSourceLocationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSourceLocationCommand;
38
+ }($Command));
39
+ export { DescribeSourceLocationCommand };