@aws-sdk/client-mediapackage-vod 3.478.0 → 3.484.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 (73) hide show
  1. package/dist-cjs/commands/ConfigureLogsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateAssetCommand.js +18 -41
  3. package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +18 -41
  4. package/dist-cjs/commands/CreatePackagingGroupCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteAssetCommand.js +18 -41
  6. package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +18 -41
  7. package/dist-cjs/commands/DeletePackagingGroupCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeAssetCommand.js +18 -41
  9. package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +18 -41
  10. package/dist-cjs/commands/DescribePackagingGroupCommand.js +18 -41
  11. package/dist-cjs/commands/ListAssetsCommand.js +18 -41
  12. package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +18 -41
  13. package/dist-cjs/commands/ListPackagingGroupsCommand.js +18 -41
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  15. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  16. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  17. package/dist-cjs/commands/UpdatePackagingGroupCommand.js +18 -41
  18. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  19. package/dist-es/commands/ConfigureLogsCommand.js +18 -41
  20. package/dist-es/commands/CreateAssetCommand.js +18 -41
  21. package/dist-es/commands/CreatePackagingConfigurationCommand.js +18 -41
  22. package/dist-es/commands/CreatePackagingGroupCommand.js +18 -41
  23. package/dist-es/commands/DeleteAssetCommand.js +18 -41
  24. package/dist-es/commands/DeletePackagingConfigurationCommand.js +18 -41
  25. package/dist-es/commands/DeletePackagingGroupCommand.js +18 -41
  26. package/dist-es/commands/DescribeAssetCommand.js +18 -41
  27. package/dist-es/commands/DescribePackagingConfigurationCommand.js +18 -41
  28. package/dist-es/commands/DescribePackagingGroupCommand.js +18 -41
  29. package/dist-es/commands/ListAssetsCommand.js +18 -41
  30. package/dist-es/commands/ListPackagingConfigurationsCommand.js +18 -41
  31. package/dist-es/commands/ListPackagingGroupsCommand.js +18 -41
  32. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  33. package/dist-es/commands/TagResourceCommand.js +18 -41
  34. package/dist-es/commands/UntagResourceCommand.js +18 -41
  35. package/dist-es/commands/UpdatePackagingGroupCommand.js +18 -41
  36. package/dist-es/endpoint/EndpointParameters.js +6 -0
  37. package/dist-types/commands/ConfigureLogsCommand.d.ts +6 -21
  38. package/dist-types/commands/CreateAssetCommand.d.ts +6 -21
  39. package/dist-types/commands/CreatePackagingConfigurationCommand.d.ts +6 -21
  40. package/dist-types/commands/CreatePackagingGroupCommand.d.ts +6 -21
  41. package/dist-types/commands/DeleteAssetCommand.d.ts +6 -21
  42. package/dist-types/commands/DeletePackagingConfigurationCommand.d.ts +6 -21
  43. package/dist-types/commands/DeletePackagingGroupCommand.d.ts +6 -21
  44. package/dist-types/commands/DescribeAssetCommand.d.ts +6 -21
  45. package/dist-types/commands/DescribePackagingConfigurationCommand.d.ts +6 -21
  46. package/dist-types/commands/DescribePackagingGroupCommand.d.ts +6 -21
  47. package/dist-types/commands/ListAssetsCommand.d.ts +6 -21
  48. package/dist-types/commands/ListPackagingConfigurationsCommand.d.ts +6 -21
  49. package/dist-types/commands/ListPackagingGroupsCommand.d.ts +6 -21
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  51. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  52. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  53. package/dist-types/commands/UpdatePackagingGroupCommand.d.ts +6 -21
  54. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  55. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +12 -24
  64. package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  73. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListAssetsCommand, se_ListAssetsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAssetsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListAssetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "ListAssetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "ListAssets",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListAssetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAssetsCommand(output, context);
46
- }
7
+ export class ListAssetsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "ListAssets", {})
19
+ .n("MediaPackageVodClient", "ListAssetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAssetsCommand)
22
+ .de(de_ListAssetsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListPackagingConfigurationsCommand, se_ListPackagingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListPackagingConfigurationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPackagingConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "ListPackagingConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "ListPackagingConfigurations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListPackagingConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPackagingConfigurationsCommand(output, context);
46
- }
7
+ export class ListPackagingConfigurationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "ListPackagingConfigurations", {})
19
+ .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPackagingConfigurationsCommand)
22
+ .de(de_ListPackagingConfigurationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListPackagingGroupsCommand, se_ListPackagingGroupsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListPackagingGroupsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPackagingGroupsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "ListPackagingGroupsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "ListPackagingGroups",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListPackagingGroupsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListPackagingGroupsCommand(output, context);
46
- }
7
+ export class ListPackagingGroupsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "ListPackagingGroups", {})
19
+ .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPackagingGroupsCommand)
22
+ .de(de_ListPackagingGroupsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "ListTagsForResource", {})
19
+ .n("MediaPackageVodClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "TagResource", {})
19
+ .n("MediaPackageVodClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "UntagResource", {})
19
+ .n("MediaPackageVodClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdatePackagingGroupCommand, se_UpdatePackagingGroupCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdatePackagingGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePackagingGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageVodClient";
26
- const commandName = "UpdatePackagingGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaPackageVod",
35
- operation: "UpdatePackagingGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdatePackagingGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdatePackagingGroupCommand(output, context);
46
- }
7
+ export class UpdatePackagingGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaPackageVod", "UpdatePackagingGroup", {})
19
+ .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdatePackagingGroupCommand)
22
+ .de(de_UpdatePackagingGroupCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "mediapackage-vod",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
5
4
  import { ConfigureLogsRequest, ConfigureLogsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ConfigureLogsCommandInput extends ConfigureLogsRequest {
21
20
  */
22
21
  export interface ConfigureLogsCommandOutput extends ConfigureLogsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ConfigureLogsCommand_base: {
24
+ new (input: ConfigureLogsCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsCommandInput, ConfigureLogsCommandOutput, MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * Changes the packaging group's properities to configure log subscription
@@ -85,23 +88,5 @@ export interface ConfigureLogsCommandOutput extends ConfigureLogsResponse, __Met
85
88
  * <p>Base exception class for all service exceptions from MediaPackageVod service.</p>
86
89
  *
87
90
  */
88
- export declare class ConfigureLogsCommand extends $Command<ConfigureLogsCommandInput, ConfigureLogsCommandOutput, MediaPackageVodClientResolvedConfig> {
89
- readonly input: ConfigureLogsCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: ConfigureLogsCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureLogsCommandInput, ConfigureLogsCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class ConfigureLogsCommand extends ConfigureLogsCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
5
4
  import { CreateAssetRequest, CreateAssetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAssetCommandInput extends CreateAssetRequest {
21
20
  */
22
21
  export interface CreateAssetCommandOutput extends CreateAssetResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateAssetCommand_base: {
24
+ new (input: CreateAssetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAssetCommandInput, CreateAssetCommandOutput, MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * Creates a new MediaPackage VOD Asset resource.
@@ -92,23 +95,5 @@ export interface CreateAssetCommandOutput extends CreateAssetResponse, __Metadat
92
95
  * <p>Base exception class for all service exceptions from MediaPackageVod service.</p>
93
96
  *
94
97
  */
95
- export declare class CreateAssetCommand extends $Command<CreateAssetCommandInput, CreateAssetCommandOutput, MediaPackageVodClientResolvedConfig> {
96
- readonly input: CreateAssetCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: CreateAssetCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssetCommandInput, CreateAssetCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class CreateAssetCommand extends CreateAssetCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
5
4
  import { CreatePackagingConfigurationRequest, CreatePackagingConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePackagingConfigurationCommandInput extends CreatePackagin
21
20
  */
22
21
  export interface CreatePackagingConfigurationCommandOutput extends CreatePackagingConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreatePackagingConfigurationCommand_base: {
24
+ new (input: CreatePackagingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput, MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * Creates a new MediaPackage VOD PackagingConfiguration resource.
@@ -335,23 +338,5 @@ export interface CreatePackagingConfigurationCommandOutput extends CreatePackagi
335
338
  * <p>Base exception class for all service exceptions from MediaPackageVod service.</p>
336
339
  *
337
340
  */
338
- export declare class CreatePackagingConfigurationCommand extends $Command<CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput, MediaPackageVodClientResolvedConfig> {
339
- readonly input: CreatePackagingConfigurationCommandInput;
340
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
341
- /**
342
- * @public
343
- */
344
- constructor(input: CreatePackagingConfigurationCommandInput);
345
- /**
346
- * @internal
347
- */
348
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput>;
349
- /**
350
- * @internal
351
- */
352
- private serialize;
353
- /**
354
- * @internal
355
- */
356
- private deserialize;
341
+ export declare class CreatePackagingConfigurationCommand extends CreatePackagingConfigurationCommand_base {
357
342
  }