@aws-sdk/client-mediapackage 3.1077.0 → 3.1078.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.
- package/dist-cjs/index.js +27 -193
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/ConfigureLogsCommand.js +2 -14
- package/dist-es/commands/CreateChannelCommand.js +2 -14
- package/dist-es/commands/CreateHarvestJobCommand.js +2 -14
- package/dist-es/commands/CreateOriginEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteChannelCommand.js +2 -14
- package/dist-es/commands/DeleteOriginEndpointCommand.js +2 -14
- package/dist-es/commands/DescribeChannelCommand.js +2 -14
- package/dist-es/commands/DescribeHarvestJobCommand.js +2 -14
- package/dist-es/commands/DescribeOriginEndpointCommand.js +2 -14
- package/dist-es/commands/ListChannelsCommand.js +2 -14
- package/dist-es/commands/ListHarvestJobsCommand.js +2 -14
- package/dist-es/commands/ListOriginEndpointsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/RotateChannelCredentialsCommand.js +2 -14
- package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateChannelCommand.js +2 -14
- package/dist-es/commands/UpdateOriginEndpointCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/ConfigureLogsCommand.d.ts +3 -8
- package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
- package/dist-types/commands/CreateHarvestJobCommand.d.ts +3 -8
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteChannelCommand.d.ts +3 -8
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DescribeChannelCommand.d.ts +3 -8
- package/dist-types/commands/DescribeHarvestJobCommand.d.ts +3 -8
- package/dist-types/commands/DescribeOriginEndpointCommand.d.ts +3 -8
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
- package/dist-types/commands/ListHarvestJobsCommand.d.ts +3 -8
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/RotateChannelCredentialsCommand.d.ts +3 -8
- package/dist-types/commands/RotateIngestEndpointCredentialsCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -8
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeHarvestJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- 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,
|
|
4
|
-
|
|
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.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -1043,232 +1044,65 @@ class MediaPackageClient extends Client {
|
|
|
1043
1044
|
}
|
|
1044
1045
|
}
|
|
1045
1046
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
})
|
|
1052
|
-
.s("MediaPackage", "ConfigureLogs", {})
|
|
1053
|
-
.n("MediaPackageClient", "ConfigureLogsCommand")
|
|
1054
|
-
.sc(ConfigureLogs$)
|
|
1055
|
-
.build() {
|
|
1047
|
+
const command = makeBuilder(commonParams, "MediaPackage", "MediaPackageClient", getEndpointPlugin);
|
|
1048
|
+
const _ep0 = {};
|
|
1049
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1050
|
+
|
|
1051
|
+
class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
|
|
1056
1052
|
}
|
|
1057
1053
|
|
|
1058
|
-
class CreateChannelCommand extends
|
|
1059
|
-
.classBuilder()
|
|
1060
|
-
.ep(commonParams)
|
|
1061
|
-
.m(function (Command, cs, config, o) {
|
|
1062
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1063
|
-
})
|
|
1064
|
-
.s("MediaPackage", "CreateChannel", {})
|
|
1065
|
-
.n("MediaPackageClient", "CreateChannelCommand")
|
|
1066
|
-
.sc(CreateChannel$)
|
|
1067
|
-
.build() {
|
|
1054
|
+
class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
|
|
1068
1055
|
}
|
|
1069
1056
|
|
|
1070
|
-
class CreateHarvestJobCommand extends
|
|
1071
|
-
.classBuilder()
|
|
1072
|
-
.ep(commonParams)
|
|
1073
|
-
.m(function (Command, cs, config, o) {
|
|
1074
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1075
|
-
})
|
|
1076
|
-
.s("MediaPackage", "CreateHarvestJob", {})
|
|
1077
|
-
.n("MediaPackageClient", "CreateHarvestJobCommand")
|
|
1078
|
-
.sc(CreateHarvestJob$)
|
|
1079
|
-
.build() {
|
|
1057
|
+
class CreateHarvestJobCommand extends command(_ep0, _mw0, "CreateHarvestJob", CreateHarvestJob$) {
|
|
1080
1058
|
}
|
|
1081
1059
|
|
|
1082
|
-
class CreateOriginEndpointCommand extends
|
|
1083
|
-
.classBuilder()
|
|
1084
|
-
.ep(commonParams)
|
|
1085
|
-
.m(function (Command, cs, config, o) {
|
|
1086
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1087
|
-
})
|
|
1088
|
-
.s("MediaPackage", "CreateOriginEndpoint", {})
|
|
1089
|
-
.n("MediaPackageClient", "CreateOriginEndpointCommand")
|
|
1090
|
-
.sc(CreateOriginEndpoint$)
|
|
1091
|
-
.build() {
|
|
1060
|
+
class CreateOriginEndpointCommand extends command(_ep0, _mw0, "CreateOriginEndpoint", CreateOriginEndpoint$) {
|
|
1092
1061
|
}
|
|
1093
1062
|
|
|
1094
|
-
class DeleteChannelCommand extends
|
|
1095
|
-
.classBuilder()
|
|
1096
|
-
.ep(commonParams)
|
|
1097
|
-
.m(function (Command, cs, config, o) {
|
|
1098
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1099
|
-
})
|
|
1100
|
-
.s("MediaPackage", "DeleteChannel", {})
|
|
1101
|
-
.n("MediaPackageClient", "DeleteChannelCommand")
|
|
1102
|
-
.sc(DeleteChannel$)
|
|
1103
|
-
.build() {
|
|
1063
|
+
class DeleteChannelCommand extends command(_ep0, _mw0, "DeleteChannel", DeleteChannel$) {
|
|
1104
1064
|
}
|
|
1105
1065
|
|
|
1106
|
-
class DeleteOriginEndpointCommand extends
|
|
1107
|
-
.classBuilder()
|
|
1108
|
-
.ep(commonParams)
|
|
1109
|
-
.m(function (Command, cs, config, o) {
|
|
1110
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1111
|
-
})
|
|
1112
|
-
.s("MediaPackage", "DeleteOriginEndpoint", {})
|
|
1113
|
-
.n("MediaPackageClient", "DeleteOriginEndpointCommand")
|
|
1114
|
-
.sc(DeleteOriginEndpoint$)
|
|
1115
|
-
.build() {
|
|
1066
|
+
class DeleteOriginEndpointCommand extends command(_ep0, _mw0, "DeleteOriginEndpoint", DeleteOriginEndpoint$) {
|
|
1116
1067
|
}
|
|
1117
1068
|
|
|
1118
|
-
class DescribeChannelCommand extends
|
|
1119
|
-
.classBuilder()
|
|
1120
|
-
.ep(commonParams)
|
|
1121
|
-
.m(function (Command, cs, config, o) {
|
|
1122
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1123
|
-
})
|
|
1124
|
-
.s("MediaPackage", "DescribeChannel", {})
|
|
1125
|
-
.n("MediaPackageClient", "DescribeChannelCommand")
|
|
1126
|
-
.sc(DescribeChannel$)
|
|
1127
|
-
.build() {
|
|
1069
|
+
class DescribeChannelCommand extends command(_ep0, _mw0, "DescribeChannel", DescribeChannel$) {
|
|
1128
1070
|
}
|
|
1129
1071
|
|
|
1130
|
-
class DescribeHarvestJobCommand extends
|
|
1131
|
-
.classBuilder()
|
|
1132
|
-
.ep(commonParams)
|
|
1133
|
-
.m(function (Command, cs, config, o) {
|
|
1134
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1135
|
-
})
|
|
1136
|
-
.s("MediaPackage", "DescribeHarvestJob", {})
|
|
1137
|
-
.n("MediaPackageClient", "DescribeHarvestJobCommand")
|
|
1138
|
-
.sc(DescribeHarvestJob$)
|
|
1139
|
-
.build() {
|
|
1072
|
+
class DescribeHarvestJobCommand extends command(_ep0, _mw0, "DescribeHarvestJob", DescribeHarvestJob$) {
|
|
1140
1073
|
}
|
|
1141
1074
|
|
|
1142
|
-
class DescribeOriginEndpointCommand extends
|
|
1143
|
-
.classBuilder()
|
|
1144
|
-
.ep(commonParams)
|
|
1145
|
-
.m(function (Command, cs, config, o) {
|
|
1146
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1147
|
-
})
|
|
1148
|
-
.s("MediaPackage", "DescribeOriginEndpoint", {})
|
|
1149
|
-
.n("MediaPackageClient", "DescribeOriginEndpointCommand")
|
|
1150
|
-
.sc(DescribeOriginEndpoint$)
|
|
1151
|
-
.build() {
|
|
1075
|
+
class DescribeOriginEndpointCommand extends command(_ep0, _mw0, "DescribeOriginEndpoint", DescribeOriginEndpoint$) {
|
|
1152
1076
|
}
|
|
1153
1077
|
|
|
1154
|
-
class ListChannelsCommand extends
|
|
1155
|
-
.classBuilder()
|
|
1156
|
-
.ep(commonParams)
|
|
1157
|
-
.m(function (Command, cs, config, o) {
|
|
1158
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1159
|
-
})
|
|
1160
|
-
.s("MediaPackage", "ListChannels", {})
|
|
1161
|
-
.n("MediaPackageClient", "ListChannelsCommand")
|
|
1162
|
-
.sc(ListChannels$)
|
|
1163
|
-
.build() {
|
|
1078
|
+
class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
|
|
1164
1079
|
}
|
|
1165
1080
|
|
|
1166
|
-
class ListHarvestJobsCommand extends
|
|
1167
|
-
.classBuilder()
|
|
1168
|
-
.ep(commonParams)
|
|
1169
|
-
.m(function (Command, cs, config, o) {
|
|
1170
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1171
|
-
})
|
|
1172
|
-
.s("MediaPackage", "ListHarvestJobs", {})
|
|
1173
|
-
.n("MediaPackageClient", "ListHarvestJobsCommand")
|
|
1174
|
-
.sc(ListHarvestJobs$)
|
|
1175
|
-
.build() {
|
|
1081
|
+
class ListHarvestJobsCommand extends command(_ep0, _mw0, "ListHarvestJobs", ListHarvestJobs$) {
|
|
1176
1082
|
}
|
|
1177
1083
|
|
|
1178
|
-
class ListOriginEndpointsCommand extends
|
|
1179
|
-
.classBuilder()
|
|
1180
|
-
.ep(commonParams)
|
|
1181
|
-
.m(function (Command, cs, config, o) {
|
|
1182
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1183
|
-
})
|
|
1184
|
-
.s("MediaPackage", "ListOriginEndpoints", {})
|
|
1185
|
-
.n("MediaPackageClient", "ListOriginEndpointsCommand")
|
|
1186
|
-
.sc(ListOriginEndpoints$)
|
|
1187
|
-
.build() {
|
|
1084
|
+
class ListOriginEndpointsCommand extends command(_ep0, _mw0, "ListOriginEndpoints", ListOriginEndpoints$) {
|
|
1188
1085
|
}
|
|
1189
1086
|
|
|
1190
|
-
class ListTagsForResourceCommand extends
|
|
1191
|
-
.classBuilder()
|
|
1192
|
-
.ep(commonParams)
|
|
1193
|
-
.m(function (Command, cs, config, o) {
|
|
1194
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1195
|
-
})
|
|
1196
|
-
.s("MediaPackage", "ListTagsForResource", {})
|
|
1197
|
-
.n("MediaPackageClient", "ListTagsForResourceCommand")
|
|
1198
|
-
.sc(ListTagsForResource$)
|
|
1199
|
-
.build() {
|
|
1087
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1200
1088
|
}
|
|
1201
1089
|
|
|
1202
|
-
class RotateChannelCredentialsCommand extends
|
|
1203
|
-
.classBuilder()
|
|
1204
|
-
.ep(commonParams)
|
|
1205
|
-
.m(function (Command, cs, config, o) {
|
|
1206
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1207
|
-
})
|
|
1208
|
-
.s("MediaPackage", "RotateChannelCredentials", {})
|
|
1209
|
-
.n("MediaPackageClient", "RotateChannelCredentialsCommand")
|
|
1210
|
-
.sc(RotateChannelCredentials$)
|
|
1211
|
-
.build() {
|
|
1090
|
+
class RotateChannelCredentialsCommand extends command(_ep0, _mw0, "RotateChannelCredentials", RotateChannelCredentials$) {
|
|
1212
1091
|
}
|
|
1213
1092
|
|
|
1214
|
-
class RotateIngestEndpointCredentialsCommand extends
|
|
1215
|
-
.classBuilder()
|
|
1216
|
-
.ep(commonParams)
|
|
1217
|
-
.m(function (Command, cs, config, o) {
|
|
1218
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1219
|
-
})
|
|
1220
|
-
.s("MediaPackage", "RotateIngestEndpointCredentials", {})
|
|
1221
|
-
.n("MediaPackageClient", "RotateIngestEndpointCredentialsCommand")
|
|
1222
|
-
.sc(RotateIngestEndpointCredentials$)
|
|
1223
|
-
.build() {
|
|
1093
|
+
class RotateIngestEndpointCredentialsCommand extends command(_ep0, _mw0, "RotateIngestEndpointCredentials", RotateIngestEndpointCredentials$) {
|
|
1224
1094
|
}
|
|
1225
1095
|
|
|
1226
|
-
class TagResourceCommand extends
|
|
1227
|
-
.classBuilder()
|
|
1228
|
-
.ep(commonParams)
|
|
1229
|
-
.m(function (Command, cs, config, o) {
|
|
1230
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1231
|
-
})
|
|
1232
|
-
.s("MediaPackage", "TagResource", {})
|
|
1233
|
-
.n("MediaPackageClient", "TagResourceCommand")
|
|
1234
|
-
.sc(TagResource$)
|
|
1235
|
-
.build() {
|
|
1096
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1236
1097
|
}
|
|
1237
1098
|
|
|
1238
|
-
class UntagResourceCommand extends
|
|
1239
|
-
.classBuilder()
|
|
1240
|
-
.ep(commonParams)
|
|
1241
|
-
.m(function (Command, cs, config, o) {
|
|
1242
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1243
|
-
})
|
|
1244
|
-
.s("MediaPackage", "UntagResource", {})
|
|
1245
|
-
.n("MediaPackageClient", "UntagResourceCommand")
|
|
1246
|
-
.sc(UntagResource$)
|
|
1247
|
-
.build() {
|
|
1099
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1248
1100
|
}
|
|
1249
1101
|
|
|
1250
|
-
class UpdateChannelCommand extends
|
|
1251
|
-
.classBuilder()
|
|
1252
|
-
.ep(commonParams)
|
|
1253
|
-
.m(function (Command, cs, config, o) {
|
|
1254
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1255
|
-
})
|
|
1256
|
-
.s("MediaPackage", "UpdateChannel", {})
|
|
1257
|
-
.n("MediaPackageClient", "UpdateChannelCommand")
|
|
1258
|
-
.sc(UpdateChannel$)
|
|
1259
|
-
.build() {
|
|
1102
|
+
class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
|
|
1260
1103
|
}
|
|
1261
1104
|
|
|
1262
|
-
class UpdateOriginEndpointCommand extends
|
|
1263
|
-
.classBuilder()
|
|
1264
|
-
.ep(commonParams)
|
|
1265
|
-
.m(function (Command, cs, config, o) {
|
|
1266
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1267
|
-
})
|
|
1268
|
-
.s("MediaPackage", "UpdateOriginEndpoint", {})
|
|
1269
|
-
.n("MediaPackageClient", "UpdateOriginEndpointCommand")
|
|
1270
|
-
.sc(UpdateOriginEndpoint$)
|
|
1271
|
-
.build() {
|
|
1105
|
+
class UpdateOriginEndpointCommand extends command(_ep0, _mw0, "UpdateOriginEndpoint", UpdateOriginEndpoint$) {
|
|
1272
1106
|
}
|
|
1273
1107
|
|
|
1274
1108
|
const paginateListChannels = createPaginator(MediaPackageClient, ListChannelsCommand, "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, "MediaPackage", "MediaPackageClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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("MediaPackage", "ConfigureLogs", {})
|
|
13
|
-
.n("MediaPackageClient", "ConfigureLogsCommand")
|
|
14
|
-
.sc(ConfigureLogs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ConfigureLogsCommand extends command(_ep0, _mw0, "ConfigureLogs", ConfigureLogs$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateChannel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateChannelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "CreateChannel", {})
|
|
13
|
-
.n("MediaPackageClient", "CreateChannelCommand")
|
|
14
|
-
.sc(CreateChannel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateHarvestJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateHarvestJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "CreateHarvestJob", {})
|
|
13
|
-
.n("MediaPackageClient", "CreateHarvestJobCommand")
|
|
14
|
-
.sc(CreateHarvestJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateHarvestJobCommand extends command(_ep0, _mw0, "CreateHarvestJob", CreateHarvestJob$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateOriginEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateOriginEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "CreateOriginEndpoint", {})
|
|
13
|
-
.n("MediaPackageClient", "CreateOriginEndpointCommand")
|
|
14
|
-
.sc(CreateOriginEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateOriginEndpointCommand extends command(_ep0, _mw0, "CreateOriginEndpoint", CreateOriginEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteChannel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteChannelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "DeleteChannel", {})
|
|
13
|
-
.n("MediaPackageClient", "DeleteChannelCommand")
|
|
14
|
-
.sc(DeleteChannel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteChannelCommand extends command(_ep0, _mw0, "DeleteChannel", DeleteChannel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteOriginEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteOriginEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "DeleteOriginEndpoint", {})
|
|
13
|
-
.n("MediaPackageClient", "DeleteOriginEndpointCommand")
|
|
14
|
-
.sc(DeleteOriginEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteOriginEndpointCommand extends command(_ep0, _mw0, "DeleteOriginEndpoint", DeleteOriginEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeChannel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeChannelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "DescribeChannel", {})
|
|
13
|
-
.n("MediaPackageClient", "DescribeChannelCommand")
|
|
14
|
-
.sc(DescribeChannel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeChannelCommand extends command(_ep0, _mw0, "DescribeChannel", DescribeChannel$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeHarvestJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeHarvestJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "DescribeHarvestJob", {})
|
|
13
|
-
.n("MediaPackageClient", "DescribeHarvestJobCommand")
|
|
14
|
-
.sc(DescribeHarvestJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeHarvestJobCommand extends command(_ep0, _mw0, "DescribeHarvestJob", DescribeHarvestJob$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeOriginEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeOriginEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "DescribeOriginEndpoint", {})
|
|
13
|
-
.n("MediaPackageClient", "DescribeOriginEndpointCommand")
|
|
14
|
-
.sc(DescribeOriginEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeOriginEndpointCommand extends command(_ep0, _mw0, "DescribeOriginEndpoint", DescribeOriginEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListChannels$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListChannelsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "ListChannels", {})
|
|
13
|
-
.n("MediaPackageClient", "ListChannelsCommand")
|
|
14
|
-
.sc(ListChannels$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListHarvestJobs$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListHarvestJobsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "ListHarvestJobs", {})
|
|
13
|
-
.n("MediaPackageClient", "ListHarvestJobsCommand")
|
|
14
|
-
.sc(ListHarvestJobs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListHarvestJobsCommand extends command(_ep0, _mw0, "ListHarvestJobs", ListHarvestJobs$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListOriginEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListOriginEndpointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "ListOriginEndpoints", {})
|
|
13
|
-
.n("MediaPackageClient", "ListOriginEndpointsCommand")
|
|
14
|
-
.sc(ListOriginEndpoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListOriginEndpointsCommand extends command(_ep0, _mw0, "ListOriginEndpoints", ListOriginEndpoints$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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("MediaPackage", "ListTagsForResource", {})
|
|
13
|
-
.n("MediaPackageClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RotateChannelCredentials$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RotateChannelCredentialsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "RotateChannelCredentials", {})
|
|
13
|
-
.n("MediaPackageClient", "RotateChannelCredentialsCommand")
|
|
14
|
-
.sc(RotateChannelCredentials$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RotateChannelCredentialsCommand extends command(_ep0, _mw0, "RotateChannelCredentials", RotateChannelCredentials$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RotateIngestEndpointCredentials$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RotateIngestEndpointCredentialsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "RotateIngestEndpointCredentials", {})
|
|
13
|
-
.n("MediaPackageClient", "RotateIngestEndpointCredentialsCommand")
|
|
14
|
-
.sc(RotateIngestEndpointCredentials$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RotateIngestEndpointCredentialsCommand extends command(_ep0, _mw0, "RotateIngestEndpointCredentials", RotateIngestEndpointCredentials$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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("MediaPackage", "TagResource", {})
|
|
13
|
-
.n("MediaPackageClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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("MediaPackage", "UntagResource", {})
|
|
13
|
-
.n("MediaPackageClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateChannel$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateChannelCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MediaPackage", "UpdateChannel", {})
|
|
13
|
-
.n("MediaPackageClient", "UpdateChannelCommand")
|
|
14
|
-
.sc(UpdateChannel$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
|
|
16
4
|
}
|