@aws-sdk/client-mediapackage-vod 3.928.0 → 3.929.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 (38) hide show
  1. package/dist-cjs/index.js +2032 -1109
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaPackageVodClient.js +2 -0
  4. package/dist-es/commands/ConfigureLogsCommand.js +3 -9
  5. package/dist-es/commands/CreateAssetCommand.js +3 -9
  6. package/dist-es/commands/CreatePackagingConfigurationCommand.js +3 -9
  7. package/dist-es/commands/CreatePackagingGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteAssetCommand.js +3 -9
  9. package/dist-es/commands/DeletePackagingConfigurationCommand.js +3 -9
  10. package/dist-es/commands/DeletePackagingGroupCommand.js +3 -9
  11. package/dist-es/commands/DescribeAssetCommand.js +3 -9
  12. package/dist-es/commands/DescribePackagingConfigurationCommand.js +3 -9
  13. package/dist-es/commands/DescribePackagingGroupCommand.js +3 -9
  14. package/dist-es/commands/ListAssetsCommand.js +3 -9
  15. package/dist-es/commands/ListPackagingConfigurationsCommand.js +3 -9
  16. package/dist-es/commands/ListPackagingGroupsCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/TagResourceCommand.js +3 -9
  19. package/dist-es/commands/UntagResourceCommand.js +3 -9
  20. package/dist-es/commands/UpdatePackagingGroupCommand.js +3 -9
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +1990 -0
  23. package/dist-types/MediaPackageVodClient.d.ts +10 -1
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +89 -0
  29. package/dist-types/ts3.4/MediaPackageVodClient.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +94 -0
  35. package/package.json +2 -2
  36. package/dist-es/protocols/Aws_restJson1.js +0 -981
  37. package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mediapackagevod" }),
28
30
  serviceId: config?.serviceId ?? "MediaPackage Vod",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class MediaPackageVodClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ConfigureLogsCommand, se_ConfigureLogsCommand } from "../protocols/Aws_restJson1";
4
+ import { ConfigureLogs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfigureLogsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "ConfigureLogs", {})
17
13
  .n("MediaPackageVodClient", "ConfigureLogsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfigureLogsCommand)
20
- .de(de_ConfigureLogsCommand)
14
+ .sc(ConfigureLogs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAssetCommand, se_CreateAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAssetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "CreateAsset", {})
17
13
  .n("MediaPackageVodClient", "CreateAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAssetCommand)
20
- .de(de_CreateAssetCommand)
14
+ .sc(CreateAsset)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePackagingConfigurationCommand, se_CreatePackagingConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreatePackagingConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePackagingConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "CreatePackagingConfiguration", {})
17
13
  .n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePackagingConfigurationCommand)
20
- .de(de_CreatePackagingConfigurationCommand)
14
+ .sc(CreatePackagingConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePackagingGroupCommand, se_CreatePackagingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePackagingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePackagingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "CreatePackagingGroup", {})
17
13
  .n("MediaPackageVodClient", "CreatePackagingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePackagingGroupCommand)
20
- .de(de_CreatePackagingGroupCommand)
14
+ .sc(CreatePackagingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAssetCommand, se_DeleteAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DeleteAsset", {})
17
13
  .n("MediaPackageVodClient", "DeleteAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssetCommand)
20
- .de(de_DeleteAssetCommand)
14
+ .sc(DeleteAsset)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeletePackagingConfigurationCommand, se_DeletePackagingConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeletePackagingConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePackagingConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DeletePackagingConfiguration", {})
17
13
  .n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePackagingConfigurationCommand)
20
- .de(de_DeletePackagingConfigurationCommand)
14
+ .sc(DeletePackagingConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeletePackagingGroupCommand, se_DeletePackagingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePackagingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePackagingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DeletePackagingGroup", {})
17
13
  .n("MediaPackageVodClient", "DeletePackagingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePackagingGroupCommand)
20
- .de(de_DeletePackagingGroupCommand)
14
+ .sc(DeletePackagingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeAssetCommand, se_DescribeAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAssetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DescribeAsset", {})
17
13
  .n("MediaPackageVodClient", "DescribeAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAssetCommand)
20
- .de(de_DescribeAssetCommand)
14
+ .sc(DescribeAsset)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribePackagingConfigurationCommand, se_DescribePackagingConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribePackagingConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePackagingConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DescribePackagingConfiguration", {})
17
13
  .n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePackagingConfigurationCommand)
20
- .de(de_DescribePackagingConfigurationCommand)
14
+ .sc(DescribePackagingConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribePackagingGroupCommand, se_DescribePackagingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribePackagingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePackagingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "DescribePackagingGroup", {})
17
13
  .n("MediaPackageVodClient", "DescribePackagingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePackagingGroupCommand)
20
- .de(de_DescribePackagingGroupCommand)
14
+ .sc(DescribePackagingGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssetsCommand, se_ListAssetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAssets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "ListAssets", {})
17
13
  .n("MediaPackageVodClient", "ListAssetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssetsCommand)
20
- .de(de_ListAssetsCommand)
14
+ .sc(ListAssets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPackagingConfigurationsCommand, se_ListPackagingConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListPackagingConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPackagingConfigurationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "ListPackagingConfigurations", {})
17
13
  .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPackagingConfigurationsCommand)
20
- .de(de_ListPackagingConfigurationsCommand)
14
+ .sc(ListPackagingConfigurations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPackagingGroupsCommand, se_ListPackagingGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPackagingGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPackagingGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "ListPackagingGroups", {})
17
13
  .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPackagingGroupsCommand)
20
- .de(de_ListPackagingGroupsCommand)
14
+ .sc(ListPackagingGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "ListTagsForResource", {})
17
13
  .n("MediaPackageVodClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "TagResource", {})
17
13
  .n("MediaPackageVodClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "UntagResource", {})
17
13
  .n("MediaPackageVodClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdatePackagingGroupCommand, se_UpdatePackagingGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdatePackagingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePackagingGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("MediaPackageVod", "UpdatePackagingGroup", {})
17
13
  .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePackagingGroupCommand)
20
- .de(de_UpdatePackagingGroupCommand)
14
+ .sc(UpdatePackagingGroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mediapackagevod" }),
25
27
  serviceId: config?.serviceId ?? "MediaPackage Vod",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,