@aws-sdk/client-mediapackage 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 (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaPackage.js +85 -78
  4. package/dist-es/MediaPackageClient.js +28 -22
  5. package/dist-es/commands/ConfigureLogsCommand.js +28 -21
  6. package/dist-es/commands/CreateChannelCommand.js +28 -21
  7. package/dist-es/commands/CreateHarvestJobCommand.js +28 -21
  8. package/dist-es/commands/CreateOriginEndpointCommand.js +28 -21
  9. package/dist-es/commands/DeleteChannelCommand.js +28 -21
  10. package/dist-es/commands/DeleteOriginEndpointCommand.js +28 -21
  11. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  12. package/dist-es/commands/DescribeHarvestJobCommand.js +28 -21
  13. package/dist-es/commands/DescribeOriginEndpointCommand.js +28 -21
  14. package/dist-es/commands/ListChannelsCommand.js +28 -21
  15. package/dist-es/commands/ListHarvestJobsCommand.js +28 -21
  16. package/dist-es/commands/ListOriginEndpointsCommand.js +28 -21
  17. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  18. package/dist-es/commands/RotateChannelCredentialsCommand.js +28 -21
  19. package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +28 -21
  20. package/dist-es/commands/TagResourceCommand.js +29 -22
  21. package/dist-es/commands/UntagResourceCommand.js +29 -22
  22. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  23. package/dist-es/commands/UpdateOriginEndpointCommand.js +28 -21
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/MediaPackageServiceException.js +10 -5
  26. package/dist-es/models/models_0.js +132 -249
  27. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  28. package/dist-es/pagination/ListHarvestJobsPaginator.js +68 -25
  29. package/dist-es/pagination/ListOriginEndpointsPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_restJson1.js +2343 -1853
  31. package/dist-es/runtimeConfig.browser.js +12 -26
  32. package/dist-es/runtimeConfig.js +12 -30
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. 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 { CreateOriginEndpointRequestFilterSensitiveLog, CreateOriginEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateOriginEndpointCommand, serializeAws_restJson1CreateOriginEndpointCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateOriginEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateOriginEndpointCommand = (function (_super) {
7
+ __extends(CreateOriginEndpointCommand, _super);
8
+ function CreateOriginEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateOriginEndpointCommand.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 = "MediaPackageClient";
15
- const commandName = "CreateOriginEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "CreateOriginEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateOriginEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateOriginEndpointResponseFilterSensitiveLog,
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
+ CreateOriginEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateOriginEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateOriginEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateOriginEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateOriginEndpointCommand;
38
+ }($Command));
39
+ export { CreateOriginEndpointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelRequestFilterSensitiveLog, DeleteChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelCommand = (function (_super) {
7
+ __extends(DeleteChannelCommand, _super);
8
+ function DeleteChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaPackageClient";
15
- const commandName = "DeleteChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "DeleteChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteChannelResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelCommand;
38
+ }($Command));
39
+ export { DeleteChannelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteOriginEndpointRequestFilterSensitiveLog, DeleteOriginEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteOriginEndpointCommand, serializeAws_restJson1DeleteOriginEndpointCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteOriginEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteOriginEndpointCommand = (function (_super) {
7
+ __extends(DeleteOriginEndpointCommand, _super);
8
+ function DeleteOriginEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteOriginEndpointCommand.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 = "MediaPackageClient";
15
- const commandName = "DeleteOriginEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "DeleteOriginEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteOriginEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteOriginEndpointResponseFilterSensitiveLog,
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
+ DeleteOriginEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteOriginEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteOriginEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteOriginEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteOriginEndpointCommand;
38
+ }($Command));
39
+ export { DeleteOriginEndpointCommand };
@@ -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 = "MediaPackageClient";
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 = "MediaPackageClient";
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 { DescribeHarvestJobRequestFilterSensitiveLog, DescribeHarvestJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeHarvestJobCommand, serializeAws_restJson1DescribeHarvestJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeHarvestJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeHarvestJobCommand = (function (_super) {
7
+ __extends(DescribeHarvestJobCommand, _super);
8
+ function DescribeHarvestJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeHarvestJobCommand.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 = "MediaPackageClient";
15
- const commandName = "DescribeHarvestJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "DescribeHarvestJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeHarvestJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeHarvestJobResponseFilterSensitiveLog,
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
+ DescribeHarvestJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeHarvestJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeHarvestJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeHarvestJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeHarvestJobCommand;
38
+ }($Command));
39
+ export { DescribeHarvestJobCommand };
@@ -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 { DescribeOriginEndpointRequestFilterSensitiveLog, DescribeOriginEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeOriginEndpointCommand, serializeAws_restJson1DescribeOriginEndpointCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeOriginEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeOriginEndpointCommand = (function (_super) {
7
+ __extends(DescribeOriginEndpointCommand, _super);
8
+ function DescribeOriginEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOriginEndpointCommand.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 = "MediaPackageClient";
15
- const commandName = "DescribeOriginEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "DescribeOriginEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeOriginEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeOriginEndpointResponseFilterSensitiveLog,
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
+ DescribeOriginEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeOriginEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOriginEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeOriginEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOriginEndpointCommand;
38
+ }($Command));
39
+ export { DescribeOriginEndpointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsCommand = (function (_super) {
7
+ __extends(ListChannelsCommand, _super);
8
+ function ListChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MediaPackageClient";
15
- const commandName = "ListChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "ListChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsCommand;
38
+ }($Command));
39
+ export { ListChannelsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListHarvestJobsRequestFilterSensitiveLog, ListHarvestJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListHarvestJobsCommand, serializeAws_restJson1ListHarvestJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListHarvestJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListHarvestJobsCommand = (function (_super) {
7
+ __extends(ListHarvestJobsCommand, _super);
8
+ function ListHarvestJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListHarvestJobsCommand.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 = "MediaPackageClient";
15
- const commandName = "ListHarvestJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "ListHarvestJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListHarvestJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListHarvestJobsResponseFilterSensitiveLog,
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
+ ListHarvestJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListHarvestJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListHarvestJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListHarvestJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListHarvestJobsCommand;
38
+ }($Command));
39
+ export { ListHarvestJobsCommand };
@@ -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 { ListOriginEndpointsRequestFilterSensitiveLog, ListOriginEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListOriginEndpointsCommand, serializeAws_restJson1ListOriginEndpointsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOriginEndpointsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOriginEndpointsCommand = (function (_super) {
7
+ __extends(ListOriginEndpointsCommand, _super);
8
+ function ListOriginEndpointsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOriginEndpointsCommand.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 = "MediaPackageClient";
15
- const commandName = "ListOriginEndpointsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "ListOriginEndpointsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOriginEndpointsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOriginEndpointsResponseFilterSensitiveLog,
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
+ ListOriginEndpointsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListOriginEndpointsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOriginEndpointsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOriginEndpointsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOriginEndpointsCommand;
38
+ }($Command));
39
+ export { ListOriginEndpointsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "MediaPackageClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };