@aws-sdk/client-mediapackage-vod 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaPackageVod.js +77 -70
  4. package/dist-es/MediaPackageVodClient.js +28 -22
  5. package/dist-es/commands/ConfigureLogsCommand.js +28 -21
  6. package/dist-es/commands/CreateAssetCommand.js +28 -21
  7. package/dist-es/commands/CreatePackagingConfigurationCommand.js +28 -21
  8. package/dist-es/commands/CreatePackagingGroupCommand.js +28 -21
  9. package/dist-es/commands/DeleteAssetCommand.js +28 -21
  10. package/dist-es/commands/DeletePackagingConfigurationCommand.js +28 -21
  11. package/dist-es/commands/DeletePackagingGroupCommand.js +28 -21
  12. package/dist-es/commands/DescribeAssetCommand.js +28 -21
  13. package/dist-es/commands/DescribePackagingConfigurationCommand.js +28 -21
  14. package/dist-es/commands/DescribePackagingGroupCommand.js +28 -21
  15. package/dist-es/commands/ListAssetsCommand.js +28 -21
  16. package/dist-es/commands/ListPackagingConfigurationsCommand.js +28 -21
  17. package/dist-es/commands/ListPackagingGroupsCommand.js +28 -21
  18. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  19. package/dist-es/commands/TagResourceCommand.js +29 -22
  20. package/dist-es/commands/UntagResourceCommand.js +29 -22
  21. package/dist-es/commands/UpdatePackagingGroupCommand.js +28 -21
  22. package/dist-es/endpoints.js +8 -8
  23. package/dist-es/models/MediaPackageVodServiceException.js +10 -5
  24. package/dist-es/models/models_0.js +124 -225
  25. package/dist-es/pagination/ListAssetsPaginator.js +68 -25
  26. package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +68 -25
  27. package/dist-es/pagination/ListPackagingGroupsPaginator.js +68 -25
  28. package/dist-es/protocols/Aws_restJson1.js +1997 -1530
  29. package/dist-es/runtimeConfig.browser.js +12 -26
  30. package/dist-es/runtimeConfig.js +12 -30
  31. package/dist-es/runtimeConfig.native.js +5 -8
  32. package/dist-es/runtimeConfig.shared.js +11 -8
  33. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePackagingGroupRequestFilterSensitiveLog, CreatePackagingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreatePackagingGroupCommand, serializeAws_restJson1CreatePackagingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class CreatePackagingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePackagingGroupCommand = (function (_super) {
7
+ __extends(CreatePackagingGroupCommand, _super);
8
+ function CreatePackagingGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePackagingGroupCommand.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 = "MediaPackageVodClient";
15
- const commandName = "CreatePackagingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "CreatePackagingGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePackagingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePackagingGroupResponseFilterSensitiveLog,
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
+ CreatePackagingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreatePackagingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePackagingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreatePackagingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePackagingGroupCommand;
38
+ }($Command));
39
+ export { CreatePackagingGroupCommand };
@@ -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 { DeleteAssetRequestFilterSensitiveLog, DeleteAssetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAssetCommand, serializeAws_restJson1DeleteAssetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAssetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAssetCommand = (function (_super) {
7
+ __extends(DeleteAssetCommand, _super);
8
+ function DeleteAssetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAssetCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DeleteAssetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DeleteAssetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAssetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteAssetResponseFilterSensitiveLog,
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
+ DeleteAssetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteAssetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAssetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAssetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAssetCommand;
38
+ }($Command));
39
+ export { DeleteAssetCommand };
@@ -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 { DeletePackagingConfigurationRequestFilterSensitiveLog, DeletePackagingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePackagingConfigurationCommand, serializeAws_restJson1DeletePackagingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePackagingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePackagingConfigurationCommand = (function (_super) {
7
+ __extends(DeletePackagingConfigurationCommand, _super);
8
+ function DeletePackagingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePackagingConfigurationCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DeletePackagingConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DeletePackagingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePackagingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePackagingConfigurationResponseFilterSensitiveLog,
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
+ DeletePackagingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePackagingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePackagingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePackagingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePackagingConfigurationCommand;
38
+ }($Command));
39
+ export { DeletePackagingConfigurationCommand };
@@ -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 { DeletePackagingGroupRequestFilterSensitiveLog, DeletePackagingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePackagingGroupCommand, serializeAws_restJson1DeletePackagingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePackagingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePackagingGroupCommand = (function (_super) {
7
+ __extends(DeletePackagingGroupCommand, _super);
8
+ function DeletePackagingGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePackagingGroupCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DeletePackagingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DeletePackagingGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePackagingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePackagingGroupResponseFilterSensitiveLog,
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
+ DeletePackagingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePackagingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePackagingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePackagingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePackagingGroupCommand;
38
+ }($Command));
39
+ export { DeletePackagingGroupCommand };
@@ -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 { DescribeAssetRequestFilterSensitiveLog, DescribeAssetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeAssetCommand, serializeAws_restJson1DescribeAssetCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeAssetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAssetCommand = (function (_super) {
7
+ __extends(DescribeAssetCommand, _super);
8
+ function DescribeAssetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAssetCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DescribeAssetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DescribeAssetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAssetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAssetResponseFilterSensitiveLog,
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
+ DescribeAssetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeAssetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAssetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeAssetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAssetCommand;
38
+ }($Command));
39
+ export { DescribeAssetCommand };
@@ -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 { DescribePackagingConfigurationRequestFilterSensitiveLog, DescribePackagingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribePackagingConfigurationCommand, serializeAws_restJson1DescribePackagingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribePackagingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePackagingConfigurationCommand = (function (_super) {
7
+ __extends(DescribePackagingConfigurationCommand, _super);
8
+ function DescribePackagingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePackagingConfigurationCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DescribePackagingConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DescribePackagingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePackagingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePackagingConfigurationResponseFilterSensitiveLog,
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
+ DescribePackagingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribePackagingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePackagingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribePackagingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePackagingConfigurationCommand;
38
+ }($Command));
39
+ export { DescribePackagingConfigurationCommand };
@@ -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 { DescribePackagingGroupRequestFilterSensitiveLog, DescribePackagingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribePackagingGroupCommand, serializeAws_restJson1DescribePackagingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribePackagingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePackagingGroupCommand = (function (_super) {
7
+ __extends(DescribePackagingGroupCommand, _super);
8
+ function DescribePackagingGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePackagingGroupCommand.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 = "MediaPackageVodClient";
15
- const commandName = "DescribePackagingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "DescribePackagingGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePackagingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePackagingGroupResponseFilterSensitiveLog,
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
+ DescribePackagingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribePackagingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePackagingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribePackagingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePackagingGroupCommand;
38
+ }($Command));
39
+ export { DescribePackagingGroupCommand };
@@ -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 { ListAssetsRequestFilterSensitiveLog, ListAssetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAssetsCommand, serializeAws_restJson1ListAssetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAssetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAssetsCommand = (function (_super) {
7
+ __extends(ListAssetsCommand, _super);
8
+ function ListAssetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAssetsCommand.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 = "MediaPackageVodClient";
15
- const commandName = "ListAssetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "ListAssetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAssetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAssetsResponseFilterSensitiveLog,
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
+ ListAssetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAssetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAssetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAssetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAssetsCommand;
38
+ }($Command));
39
+ export { ListAssetsCommand };
@@ -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 { ListPackagingConfigurationsRequestFilterSensitiveLog, ListPackagingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackagingConfigurationsCommand, serializeAws_restJson1ListPackagingConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackagingConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackagingConfigurationsCommand = (function (_super) {
7
+ __extends(ListPackagingConfigurationsCommand, _super);
8
+ function ListPackagingConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackagingConfigurationsCommand.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 = "MediaPackageVodClient";
15
- const commandName = "ListPackagingConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "ListPackagingConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackagingConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackagingConfigurationsResponseFilterSensitiveLog,
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
+ ListPackagingConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackagingConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackagingConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackagingConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackagingConfigurationsCommand;
38
+ }($Command));
39
+ export { ListPackagingConfigurationsCommand };
@@ -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 { ListPackagingGroupsRequestFilterSensitiveLog, ListPackagingGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPackagingGroupsCommand, serializeAws_restJson1ListPackagingGroupsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPackagingGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPackagingGroupsCommand = (function (_super) {
7
+ __extends(ListPackagingGroupsCommand, _super);
8
+ function ListPackagingGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPackagingGroupsCommand.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 = "MediaPackageVodClient";
15
- const commandName = "ListPackagingGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaPackageVodClient";
18
+ var commandName = "ListPackagingGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPackagingGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPackagingGroupsResponseFilterSensitiveLog,
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
+ ListPackagingGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPackagingGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPackagingGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPackagingGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPackagingGroupsCommand;
38
+ }($Command));
39
+ export { ListPackagingGroupsCommand };