@aws-sdk/client-mediatailor 3.185.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +16 -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 { DeleteLiveSourceRequestFilterSensitiveLog, DeleteLiveSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteLiveSourceCommand, serializeAws_restJson1DeleteLiveSourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteLiveSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLiveSourceCommand.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 = "DeleteLiveSourceCommand";
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 = "DeleteLiveSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLiveSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLiveSourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteLiveSourceCommand(input, context);
33
- };
34
- DeleteLiveSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteLiveSourceCommand(output, context);
36
- };
37
- return DeleteLiveSourceCommand;
38
- }($Command));
39
- export { DeleteLiveSourceCommand };
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 { DeletePlaybackConfigurationRequestFilterSensitiveLog, DeletePlaybackConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeletePlaybackConfigurationCommand, serializeAws_restJson1DeletePlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeletePlaybackConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePlaybackConfigurationCommand.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 = "DeletePlaybackConfigurationCommand";
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 = "DeletePlaybackConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePlaybackConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePlaybackConfigurationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeletePlaybackConfigurationCommand(input, context);
33
- };
34
- DeletePlaybackConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePlaybackConfigurationCommand(output, context);
36
- };
37
- return DeletePlaybackConfigurationCommand;
38
- }($Command));
39
- export { DeletePlaybackConfigurationCommand };
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 { DeletePrefetchScheduleRequestFilterSensitiveLog, DeletePrefetchScheduleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeletePrefetchScheduleCommand, serializeAws_restJson1DeletePrefetchScheduleCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeletePrefetchScheduleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePrefetchScheduleCommand.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 = "DeletePrefetchScheduleCommand";
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 = "DeletePrefetchScheduleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePrefetchScheduleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePrefetchScheduleResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeletePrefetchScheduleCommand(input, context);
33
- };
34
- DeletePrefetchScheduleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePrefetchScheduleCommand(output, context);
36
- };
37
- return DeletePrefetchScheduleCommand;
38
- }($Command));
39
- export { DeletePrefetchScheduleCommand };
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 { DeleteProgramRequestFilterSensitiveLog, DeleteProgramResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteProgramCommand, serializeAws_restJson1DeleteProgramCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteProgramCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteProgramCommand.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 = "DeleteProgramCommand";
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 = "DeleteProgramCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteProgramRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteProgramResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteProgramCommand(input, context);
33
- };
34
- DeleteProgramCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteProgramCommand(output, context);
36
- };
37
- return DeleteProgramCommand;
38
- }($Command));
39
- export { DeleteProgramCommand };
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 { DeleteSourceLocationRequestFilterSensitiveLog, DeleteSourceLocationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteSourceLocationCommand, serializeAws_restJson1DeleteSourceLocationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteSourceLocationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSourceLocationCommand.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 = "DeleteSourceLocationCommand";
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 = "DeleteSourceLocationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSourceLocationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSourceLocationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteSourceLocationCommand(input, context);
33
- };
34
- DeleteSourceLocationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteSourceLocationCommand(output, context);
36
- };
37
- return DeleteSourceLocationCommand;
38
- }($Command));
39
- export { DeleteSourceLocationCommand };
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 { DeleteVodSourceRequestFilterSensitiveLog, DeleteVodSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteVodSourceCommand, serializeAws_restJson1DeleteVodSourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteVodSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteVodSourceCommand.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 = "DeleteVodSourceCommand";
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 = "DeleteVodSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteVodSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteVodSourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteVodSourceCommand(input, context);
33
- };
34
- DeleteVodSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteVodSourceCommand(output, context);
36
- };
37
- return DeleteVodSourceCommand;
38
- }($Command));
39
- export { DeleteVodSourceCommand };
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 { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelCommand.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 = "DescribeChannelCommand";
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 = "DescribeChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelCommand(input, context);
33
- };
34
- DescribeChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelCommand(output, context);
36
- };
37
- return DescribeChannelCommand;
38
- }($Command));
39
- export { DescribeChannelCommand };
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 { DescribeLiveSourceRequestFilterSensitiveLog, DescribeLiveSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeLiveSourceCommand, serializeAws_restJson1DescribeLiveSourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeLiveSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLiveSourceCommand.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 = "DescribeLiveSourceCommand";
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 = "DescribeLiveSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLiveSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLiveSourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeLiveSourceCommand(input, context);
33
- };
34
- DescribeLiveSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeLiveSourceCommand(output, context);
36
- };
37
- return DescribeLiveSourceCommand;
38
- }($Command));
39
- export { DescribeLiveSourceCommand };
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 { DescribeProgramRequestFilterSensitiveLog, DescribeProgramResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeProgramCommand, serializeAws_restJson1DescribeProgramCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeProgramCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeProgramCommand.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 = "DescribeProgramCommand";
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 = "DescribeProgramCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeProgramRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeProgramResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeProgramCommand(input, context);
33
- };
34
- DescribeProgramCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeProgramCommand(output, context);
36
- };
37
- return DescribeProgramCommand;
38
- }($Command));
39
- export { DescribeProgramCommand };
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 { DescribeSourceLocationRequestFilterSensitiveLog, DescribeSourceLocationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeSourceLocationCommand, serializeAws_restJson1DescribeSourceLocationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeSourceLocationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSourceLocationCommand.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 = "DescribeSourceLocationCommand";
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 = "DescribeSourceLocationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSourceLocationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSourceLocationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeSourceLocationCommand(input, context);
33
- };
34
- DescribeSourceLocationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeSourceLocationCommand(output, context);
36
- };
37
- return DescribeSourceLocationCommand;
38
- }($Command));
39
- export { DescribeSourceLocationCommand };
31
+ }
32
+ }