@aws-sdk/client-mediapackage-vod 3.1077.0 → 3.1079.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 (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ConfigureLogsCommand.js +2 -14
  4. package/dist-es/commands/CreateAssetCommand.js +2 -14
  5. package/dist-es/commands/CreatePackagingConfigurationCommand.js +2 -14
  6. package/dist-es/commands/CreatePackagingGroupCommand.js +2 -14
  7. package/dist-es/commands/DeleteAssetCommand.js +2 -14
  8. package/dist-es/commands/DeletePackagingConfigurationCommand.js +2 -14
  9. package/dist-es/commands/DeletePackagingGroupCommand.js +2 -14
  10. package/dist-es/commands/DescribeAssetCommand.js +2 -14
  11. package/dist-es/commands/DescribePackagingConfigurationCommand.js +2 -14
  12. package/dist-es/commands/DescribePackagingGroupCommand.js +2 -14
  13. package/dist-es/commands/ListAssetsCommand.js +2 -14
  14. package/dist-es/commands/ListPackagingConfigurationsCommand.js +2 -14
  15. package/dist-es/commands/ListPackagingGroupsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/TagResourceCommand.js +2 -14
  18. package/dist-es/commands/UntagResourceCommand.js +2 -14
  19. package/dist-es/commands/UpdatePackagingGroupCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-types/commandBuilder.d.ts +18 -0
  22. package/dist-types/commands/ConfigureLogsCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateAssetCommand.d.ts +3 -8
  24. package/dist-types/commands/CreatePackagingConfigurationCommand.d.ts +3 -8
  25. package/dist-types/commands/CreatePackagingGroupCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteAssetCommand.d.ts +3 -8
  27. package/dist-types/commands/DeletePackagingConfigurationCommand.d.ts +3 -8
  28. package/dist-types/commands/DeletePackagingGroupCommand.d.ts +3 -8
  29. package/dist-types/commands/DescribeAssetCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribePackagingConfigurationCommand.d.ts +3 -8
  31. package/dist-types/commands/DescribePackagingGroupCommand.d.ts +3 -8
  32. package/dist-types/commands/ListAssetsCommand.d.ts +3 -8
  33. package/dist-types/commands/ListPackagingConfigurationsCommand.d.ts +3 -8
  34. package/dist-types/commands/ListPackagingGroupsCommand.d.ts +3 -8
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdatePackagingGroupCommand.d.ts +3 -8
  39. package/dist-types/index.d.ts +1 -0
  40. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  41. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -958,208 +959,59 @@ class MediaPackageVodClient extends Client {
958
959
  }
959
960
  }
960
961
 
961
- class ConfigureLogsCommand extends Command
962
- .classBuilder()
963
- .ep(commonParams)
964
- .m(function (Command, cs, config, o) {
965
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
966
- })
967
- .s("MediaPackageVod", "ConfigureLogs", {})
968
- .n("MediaPackageVodClient", "ConfigureLogsCommand")
969
- .sc(ConfigureLogs$)
970
- .build() {
962
+ const command = makeBuilder(commonParams, "MediaPackageVod", "MediaPackageVodClient", getEndpointPlugin);
963
+ const _ep0 = {};
964
+ const _mw0 = (Command, cs, config, o) => [];
965
+
966
+ class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
971
967
  }
972
968
 
973
- class CreateAssetCommand extends Command
974
- .classBuilder()
975
- .ep(commonParams)
976
- .m(function (Command, cs, config, o) {
977
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
978
- })
979
- .s("MediaPackageVod", "CreateAsset", {})
980
- .n("MediaPackageVodClient", "CreateAssetCommand")
981
- .sc(CreateAsset$)
982
- .build() {
969
+ class CreateAssetCommand extends command(_ep0, _mw0, "CreateAsset", CreateAsset$) {
983
970
  }
984
971
 
985
- class CreatePackagingConfigurationCommand extends Command
986
- .classBuilder()
987
- .ep(commonParams)
988
- .m(function (Command, cs, config, o) {
989
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
990
- })
991
- .s("MediaPackageVod", "CreatePackagingConfiguration", {})
992
- .n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
993
- .sc(CreatePackagingConfiguration$)
994
- .build() {
972
+ class CreatePackagingConfigurationCommand extends command(_ep0, _mw0, "CreatePackagingConfiguration", CreatePackagingConfiguration$) {
995
973
  }
996
974
 
997
- class CreatePackagingGroupCommand extends Command
998
- .classBuilder()
999
- .ep(commonParams)
1000
- .m(function (Command, cs, config, o) {
1001
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1002
- })
1003
- .s("MediaPackageVod", "CreatePackagingGroup", {})
1004
- .n("MediaPackageVodClient", "CreatePackagingGroupCommand")
1005
- .sc(CreatePackagingGroup$)
1006
- .build() {
975
+ class CreatePackagingGroupCommand extends command(_ep0, _mw0, "CreatePackagingGroup", CreatePackagingGroup$) {
1007
976
  }
1008
977
 
1009
- class DeleteAssetCommand extends Command
1010
- .classBuilder()
1011
- .ep(commonParams)
1012
- .m(function (Command, cs, config, o) {
1013
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
- })
1015
- .s("MediaPackageVod", "DeleteAsset", {})
1016
- .n("MediaPackageVodClient", "DeleteAssetCommand")
1017
- .sc(DeleteAsset$)
1018
- .build() {
978
+ class DeleteAssetCommand extends command(_ep0, _mw0, "DeleteAsset", DeleteAsset$) {
1019
979
  }
1020
980
 
1021
- class DeletePackagingConfigurationCommand extends Command
1022
- .classBuilder()
1023
- .ep(commonParams)
1024
- .m(function (Command, cs, config, o) {
1025
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
- })
1027
- .s("MediaPackageVod", "DeletePackagingConfiguration", {})
1028
- .n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
1029
- .sc(DeletePackagingConfiguration$)
1030
- .build() {
981
+ class DeletePackagingConfigurationCommand extends command(_ep0, _mw0, "DeletePackagingConfiguration", DeletePackagingConfiguration$) {
1031
982
  }
1032
983
 
1033
- class DeletePackagingGroupCommand extends Command
1034
- .classBuilder()
1035
- .ep(commonParams)
1036
- .m(function (Command, cs, config, o) {
1037
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1038
- })
1039
- .s("MediaPackageVod", "DeletePackagingGroup", {})
1040
- .n("MediaPackageVodClient", "DeletePackagingGroupCommand")
1041
- .sc(DeletePackagingGroup$)
1042
- .build() {
984
+ class DeletePackagingGroupCommand extends command(_ep0, _mw0, "DeletePackagingGroup", DeletePackagingGroup$) {
1043
985
  }
1044
986
 
1045
- class DescribeAssetCommand extends Command
1046
- .classBuilder()
1047
- .ep(commonParams)
1048
- .m(function (Command, cs, config, o) {
1049
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
- })
1051
- .s("MediaPackageVod", "DescribeAsset", {})
1052
- .n("MediaPackageVodClient", "DescribeAssetCommand")
1053
- .sc(DescribeAsset$)
1054
- .build() {
987
+ class DescribeAssetCommand extends command(_ep0, _mw0, "DescribeAsset", DescribeAsset$) {
1055
988
  }
1056
989
 
1057
- class DescribePackagingConfigurationCommand extends Command
1058
- .classBuilder()
1059
- .ep(commonParams)
1060
- .m(function (Command, cs, config, o) {
1061
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1062
- })
1063
- .s("MediaPackageVod", "DescribePackagingConfiguration", {})
1064
- .n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
1065
- .sc(DescribePackagingConfiguration$)
1066
- .build() {
990
+ class DescribePackagingConfigurationCommand extends command(_ep0, _mw0, "DescribePackagingConfiguration", DescribePackagingConfiguration$) {
1067
991
  }
1068
992
 
1069
- class DescribePackagingGroupCommand extends Command
1070
- .classBuilder()
1071
- .ep(commonParams)
1072
- .m(function (Command, cs, config, o) {
1073
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1074
- })
1075
- .s("MediaPackageVod", "DescribePackagingGroup", {})
1076
- .n("MediaPackageVodClient", "DescribePackagingGroupCommand")
1077
- .sc(DescribePackagingGroup$)
1078
- .build() {
993
+ class DescribePackagingGroupCommand extends command(_ep0, _mw0, "DescribePackagingGroup", DescribePackagingGroup$) {
1079
994
  }
1080
995
 
1081
- class ListAssetsCommand extends Command
1082
- .classBuilder()
1083
- .ep(commonParams)
1084
- .m(function (Command, cs, config, o) {
1085
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1086
- })
1087
- .s("MediaPackageVod", "ListAssets", {})
1088
- .n("MediaPackageVodClient", "ListAssetsCommand")
1089
- .sc(ListAssets$)
1090
- .build() {
996
+ class ListAssetsCommand extends command(_ep0, _mw0, "ListAssets", ListAssets$) {
1091
997
  }
1092
998
 
1093
- class ListPackagingConfigurationsCommand extends Command
1094
- .classBuilder()
1095
- .ep(commonParams)
1096
- .m(function (Command, cs, config, o) {
1097
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1098
- })
1099
- .s("MediaPackageVod", "ListPackagingConfigurations", {})
1100
- .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
1101
- .sc(ListPackagingConfigurations$)
1102
- .build() {
999
+ class ListPackagingConfigurationsCommand extends command(_ep0, _mw0, "ListPackagingConfigurations", ListPackagingConfigurations$) {
1103
1000
  }
1104
1001
 
1105
- class ListPackagingGroupsCommand extends Command
1106
- .classBuilder()
1107
- .ep(commonParams)
1108
- .m(function (Command, cs, config, o) {
1109
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1110
- })
1111
- .s("MediaPackageVod", "ListPackagingGroups", {})
1112
- .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
1113
- .sc(ListPackagingGroups$)
1114
- .build() {
1002
+ class ListPackagingGroupsCommand extends command(_ep0, _mw0, "ListPackagingGroups", ListPackagingGroups$) {
1115
1003
  }
1116
1004
 
1117
- class ListTagsForResourceCommand extends Command
1118
- .classBuilder()
1119
- .ep(commonParams)
1120
- .m(function (Command, cs, config, o) {
1121
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1122
- })
1123
- .s("MediaPackageVod", "ListTagsForResource", {})
1124
- .n("MediaPackageVodClient", "ListTagsForResourceCommand")
1125
- .sc(ListTagsForResource$)
1126
- .build() {
1005
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1127
1006
  }
1128
1007
 
1129
- class TagResourceCommand extends Command
1130
- .classBuilder()
1131
- .ep(commonParams)
1132
- .m(function (Command, cs, config, o) {
1133
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1134
- })
1135
- .s("MediaPackageVod", "TagResource", {})
1136
- .n("MediaPackageVodClient", "TagResourceCommand")
1137
- .sc(TagResource$)
1138
- .build() {
1008
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1139
1009
  }
1140
1010
 
1141
- class UntagResourceCommand extends Command
1142
- .classBuilder()
1143
- .ep(commonParams)
1144
- .m(function (Command, cs, config, o) {
1145
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
- })
1147
- .s("MediaPackageVod", "UntagResource", {})
1148
- .n("MediaPackageVodClient", "UntagResourceCommand")
1149
- .sc(UntagResource$)
1150
- .build() {
1011
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1151
1012
  }
1152
1013
 
1153
- class UpdatePackagingGroupCommand extends Command
1154
- .classBuilder()
1155
- .ep(commonParams)
1156
- .m(function (Command, cs, config, o) {
1157
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
- })
1159
- .s("MediaPackageVod", "UpdatePackagingGroup", {})
1160
- .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
1161
- .sc(UpdatePackagingGroup$)
1162
- .build() {
1014
+ class UpdatePackagingGroupCommand extends command(_ep0, _mw0, "UpdatePackagingGroup", UpdatePackagingGroup$) {
1163
1015
  }
1164
1016
 
1165
1017
  const paginateListAssets = createPaginator(MediaPackageVodClient, ListAssetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "MediaPackageVod", "MediaPackageVodClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ConfigureLogs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ConfigureLogsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "ConfigureLogs", {})
13
- .n("MediaPackageVodClient", "ConfigureLogsCommand")
14
- .sc(ConfigureLogs$)
15
- .build() {
3
+ export class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAsset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAssetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "CreateAsset", {})
13
- .n("MediaPackageVodClient", "CreateAssetCommand")
14
- .sc(CreateAsset$)
15
- .build() {
3
+ export class CreateAssetCommand extends command(_ep0, _mw0, "CreateAsset", CreateAsset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePackagingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePackagingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "CreatePackagingConfiguration", {})
13
- .n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
14
- .sc(CreatePackagingConfiguration$)
15
- .build() {
3
+ export class CreatePackagingConfigurationCommand extends command(_ep0, _mw0, "CreatePackagingConfiguration", CreatePackagingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePackagingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePackagingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "CreatePackagingGroup", {})
13
- .n("MediaPackageVodClient", "CreatePackagingGroupCommand")
14
- .sc(CreatePackagingGroup$)
15
- .build() {
3
+ export class CreatePackagingGroupCommand extends command(_ep0, _mw0, "CreatePackagingGroup", CreatePackagingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteAsset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAssetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DeleteAsset", {})
13
- .n("MediaPackageVodClient", "DeleteAssetCommand")
14
- .sc(DeleteAsset$)
15
- .build() {
3
+ export class DeleteAssetCommand extends command(_ep0, _mw0, "DeleteAsset", DeleteAsset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeletePackagingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePackagingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DeletePackagingConfiguration", {})
13
- .n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
14
- .sc(DeletePackagingConfiguration$)
15
- .build() {
3
+ export class DeletePackagingConfigurationCommand extends command(_ep0, _mw0, "DeletePackagingConfiguration", DeletePackagingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeletePackagingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePackagingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DeletePackagingGroup", {})
13
- .n("MediaPackageVodClient", "DeletePackagingGroupCommand")
14
- .sc(DeletePackagingGroup$)
15
- .build() {
3
+ export class DeletePackagingGroupCommand extends command(_ep0, _mw0, "DeletePackagingGroup", DeletePackagingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAsset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAssetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DescribeAsset", {})
13
- .n("MediaPackageVodClient", "DescribeAssetCommand")
14
- .sc(DescribeAsset$)
15
- .build() {
3
+ export class DescribeAssetCommand extends command(_ep0, _mw0, "DescribeAsset", DescribeAsset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribePackagingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribePackagingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DescribePackagingConfiguration", {})
13
- .n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
14
- .sc(DescribePackagingConfiguration$)
15
- .build() {
3
+ export class DescribePackagingConfigurationCommand extends command(_ep0, _mw0, "DescribePackagingConfiguration", DescribePackagingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribePackagingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribePackagingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "DescribePackagingGroup", {})
13
- .n("MediaPackageVodClient", "DescribePackagingGroupCommand")
14
- .sc(DescribePackagingGroup$)
15
- .build() {
3
+ export class DescribePackagingGroupCommand extends command(_ep0, _mw0, "DescribePackagingGroup", DescribePackagingGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAssets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "ListAssets", {})
13
- .n("MediaPackageVodClient", "ListAssetsCommand")
14
- .sc(ListAssets$)
15
- .build() {
3
+ export class ListAssetsCommand extends command(_ep0, _mw0, "ListAssets", ListAssets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPackagingConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPackagingConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "ListPackagingConfigurations", {})
13
- .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
14
- .sc(ListPackagingConfigurations$)
15
- .build() {
3
+ export class ListPackagingConfigurationsCommand extends command(_ep0, _mw0, "ListPackagingConfigurations", ListPackagingConfigurations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPackagingGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPackagingGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "ListPackagingGroups", {})
13
- .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
14
- .sc(ListPackagingGroups$)
15
- .build() {
3
+ export class ListPackagingGroupsCommand extends command(_ep0, _mw0, "ListPackagingGroups", ListPackagingGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "ListTagsForResource", {})
13
- .n("MediaPackageVodClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "TagResource", {})
13
- .n("MediaPackageVodClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "UntagResource", {})
13
- .n("MediaPackageVodClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdatePackagingGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePackagingGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("MediaPackageVod", "UpdatePackagingGroup", {})
13
- .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
14
- .sc(UpdatePackagingGroup$)
15
- .build() {
3
+ export class UpdatePackagingGroupCommand extends command(_ep0, _mw0, "UpdatePackagingGroup", UpdatePackagingGroup$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MediaPackageVodClient";
2
2
  export * from "./MediaPackageVod";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MediaPackageVodClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];