@aws-sdk/client-mediapackagev2 3.1076.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 +41 -305
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CancelHarvestJobCommand.js +2 -14
- package/dist-es/commands/CreateChannelCommand.js +2 -14
- package/dist-es/commands/CreateChannelGroupCommand.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/DeleteChannelGroupCommand.js +2 -14
- package/dist-es/commands/DeleteChannelPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteOriginEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +2 -14
- package/dist-es/commands/GetChannelCommand.js +2 -14
- package/dist-es/commands/GetChannelGroupCommand.js +2 -14
- package/dist-es/commands/GetChannelPolicyCommand.js +2 -14
- package/dist-es/commands/GetHarvestJobCommand.js +2 -14
- package/dist-es/commands/GetOriginEndpointCommand.js +2 -14
- package/dist-es/commands/GetOriginEndpointPolicyCommand.js +2 -14
- package/dist-es/commands/ListChannelGroupsCommand.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/PutChannelPolicyCommand.js +2 -14
- package/dist-es/commands/PutOriginEndpointPolicyCommand.js +2 -14
- package/dist-es/commands/ResetChannelStateCommand.js +2 -14
- package/dist-es/commands/ResetOriginEndpointStateCommand.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/UpdateChannelGroupCommand.js +2 -14
- package/dist-es/commands/UpdateOriginEndpointCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CancelHarvestJobCommand.d.ts +3 -8
- package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
- package/dist-types/commands/CreateChannelGroupCommand.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/DeleteChannelGroupCommand.d.ts +3 -8
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetChannelCommand.d.ts +3 -8
- package/dist-types/commands/GetChannelGroupCommand.d.ts +3 -8
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetHarvestJobCommand.d.ts +3 -8
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +3 -8
- package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ListChannelGroupsCommand.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/PutChannelPolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ResetChannelStateCommand.d.ts +3 -8
- package/dist-types/commands/ResetOriginEndpointStateCommand.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/UpdateChannelGroupCommand.d.ts +3 -8
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelHarvestJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateChannelGroupCommand.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/DeleteChannelGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteOriginEndpointPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetChannelGroupCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetHarvestJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOriginEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOriginEndpointPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListChannelGroupsCommand.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/PutChannelPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutOriginEndpointPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ResetChannelStateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ResetOriginEndpointStateCommand.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/UpdateChannelGroupCommand.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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
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, createWaiter, checkExceptions, WaiterState, 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");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultMediaPackageV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1303,6 +1305,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1303
1305
|
serviceTarget: "mediapackagev2",
|
|
1304
1306
|
},
|
|
1305
1307
|
serviceId: config?.serviceId ?? "MediaPackageV2",
|
|
1308
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1306
1309
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1307
1310
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1308
1311
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1336,7 +1339,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1336
1339
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1337
1340
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1338
1341
|
}, config),
|
|
1339
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1340
1342
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1341
1343
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1342
1344
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1424,364 +1426,98 @@ class MediaPackageV2Client extends Client {
|
|
|
1424
1426
|
}
|
|
1425
1427
|
}
|
|
1426
1428
|
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
})
|
|
1433
|
-
.s("mediapackagev2", "CancelHarvestJob", {})
|
|
1434
|
-
.n("MediaPackageV2Client", "CancelHarvestJobCommand")
|
|
1435
|
-
.sc(CancelHarvestJob$)
|
|
1436
|
-
.build() {
|
|
1429
|
+
const command = makeBuilder(commonParams, "mediapackagev2", "MediaPackageV2Client", getEndpointPlugin);
|
|
1430
|
+
const _ep0 = {};
|
|
1431
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1432
|
+
|
|
1433
|
+
class CancelHarvestJobCommand extends command(_ep0, _mw0, "CancelHarvestJob", CancelHarvestJob$) {
|
|
1437
1434
|
}
|
|
1438
1435
|
|
|
1439
|
-
class CreateChannelCommand extends
|
|
1440
|
-
.classBuilder()
|
|
1441
|
-
.ep(commonParams)
|
|
1442
|
-
.m(function (Command, cs, config, o) {
|
|
1443
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1444
|
-
})
|
|
1445
|
-
.s("mediapackagev2", "CreateChannel", {})
|
|
1446
|
-
.n("MediaPackageV2Client", "CreateChannelCommand")
|
|
1447
|
-
.sc(CreateChannel$)
|
|
1448
|
-
.build() {
|
|
1436
|
+
class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
|
|
1449
1437
|
}
|
|
1450
1438
|
|
|
1451
|
-
class CreateChannelGroupCommand extends
|
|
1452
|
-
.classBuilder()
|
|
1453
|
-
.ep(commonParams)
|
|
1454
|
-
.m(function (Command, cs, config, o) {
|
|
1455
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1456
|
-
})
|
|
1457
|
-
.s("mediapackagev2", "CreateChannelGroup", {})
|
|
1458
|
-
.n("MediaPackageV2Client", "CreateChannelGroupCommand")
|
|
1459
|
-
.sc(CreateChannelGroup$)
|
|
1460
|
-
.build() {
|
|
1439
|
+
class CreateChannelGroupCommand extends command(_ep0, _mw0, "CreateChannelGroup", CreateChannelGroup$) {
|
|
1461
1440
|
}
|
|
1462
1441
|
|
|
1463
|
-
class CreateHarvestJobCommand extends
|
|
1464
|
-
.classBuilder()
|
|
1465
|
-
.ep(commonParams)
|
|
1466
|
-
.m(function (Command, cs, config, o) {
|
|
1467
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1468
|
-
})
|
|
1469
|
-
.s("mediapackagev2", "CreateHarvestJob", {})
|
|
1470
|
-
.n("MediaPackageV2Client", "CreateHarvestJobCommand")
|
|
1471
|
-
.sc(CreateHarvestJob$)
|
|
1472
|
-
.build() {
|
|
1442
|
+
class CreateHarvestJobCommand extends command(_ep0, _mw0, "CreateHarvestJob", CreateHarvestJob$) {
|
|
1473
1443
|
}
|
|
1474
1444
|
|
|
1475
|
-
class CreateOriginEndpointCommand extends
|
|
1476
|
-
.classBuilder()
|
|
1477
|
-
.ep(commonParams)
|
|
1478
|
-
.m(function (Command, cs, config, o) {
|
|
1479
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1480
|
-
})
|
|
1481
|
-
.s("mediapackagev2", "CreateOriginEndpoint", {})
|
|
1482
|
-
.n("MediaPackageV2Client", "CreateOriginEndpointCommand")
|
|
1483
|
-
.sc(CreateOriginEndpoint$)
|
|
1484
|
-
.build() {
|
|
1445
|
+
class CreateOriginEndpointCommand extends command(_ep0, _mw0, "CreateOriginEndpoint", CreateOriginEndpoint$) {
|
|
1485
1446
|
}
|
|
1486
1447
|
|
|
1487
|
-
class DeleteChannelCommand extends
|
|
1488
|
-
.classBuilder()
|
|
1489
|
-
.ep(commonParams)
|
|
1490
|
-
.m(function (Command, cs, config, o) {
|
|
1491
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1492
|
-
})
|
|
1493
|
-
.s("mediapackagev2", "DeleteChannel", {})
|
|
1494
|
-
.n("MediaPackageV2Client", "DeleteChannelCommand")
|
|
1495
|
-
.sc(DeleteChannel$)
|
|
1496
|
-
.build() {
|
|
1448
|
+
class DeleteChannelCommand extends command(_ep0, _mw0, "DeleteChannel", DeleteChannel$) {
|
|
1497
1449
|
}
|
|
1498
1450
|
|
|
1499
|
-
class DeleteChannelGroupCommand extends
|
|
1500
|
-
.classBuilder()
|
|
1501
|
-
.ep(commonParams)
|
|
1502
|
-
.m(function (Command, cs, config, o) {
|
|
1503
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1504
|
-
})
|
|
1505
|
-
.s("mediapackagev2", "DeleteChannelGroup", {})
|
|
1506
|
-
.n("MediaPackageV2Client", "DeleteChannelGroupCommand")
|
|
1507
|
-
.sc(DeleteChannelGroup$)
|
|
1508
|
-
.build() {
|
|
1451
|
+
class DeleteChannelGroupCommand extends command(_ep0, _mw0, "DeleteChannelGroup", DeleteChannelGroup$) {
|
|
1509
1452
|
}
|
|
1510
1453
|
|
|
1511
|
-
class DeleteChannelPolicyCommand extends
|
|
1512
|
-
.classBuilder()
|
|
1513
|
-
.ep(commonParams)
|
|
1514
|
-
.m(function (Command, cs, config, o) {
|
|
1515
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1516
|
-
})
|
|
1517
|
-
.s("mediapackagev2", "DeleteChannelPolicy", {})
|
|
1518
|
-
.n("MediaPackageV2Client", "DeleteChannelPolicyCommand")
|
|
1519
|
-
.sc(DeleteChannelPolicy$)
|
|
1520
|
-
.build() {
|
|
1454
|
+
class DeleteChannelPolicyCommand extends command(_ep0, _mw0, "DeleteChannelPolicy", DeleteChannelPolicy$) {
|
|
1521
1455
|
}
|
|
1522
1456
|
|
|
1523
|
-
class DeleteOriginEndpointCommand extends
|
|
1524
|
-
.classBuilder()
|
|
1525
|
-
.ep(commonParams)
|
|
1526
|
-
.m(function (Command, cs, config, o) {
|
|
1527
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1528
|
-
})
|
|
1529
|
-
.s("mediapackagev2", "DeleteOriginEndpoint", {})
|
|
1530
|
-
.n("MediaPackageV2Client", "DeleteOriginEndpointCommand")
|
|
1531
|
-
.sc(DeleteOriginEndpoint$)
|
|
1532
|
-
.build() {
|
|
1457
|
+
class DeleteOriginEndpointCommand extends command(_ep0, _mw0, "DeleteOriginEndpoint", DeleteOriginEndpoint$) {
|
|
1533
1458
|
}
|
|
1534
1459
|
|
|
1535
|
-
class DeleteOriginEndpointPolicyCommand extends
|
|
1536
|
-
.classBuilder()
|
|
1537
|
-
.ep(commonParams)
|
|
1538
|
-
.m(function (Command, cs, config, o) {
|
|
1539
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1540
|
-
})
|
|
1541
|
-
.s("mediapackagev2", "DeleteOriginEndpointPolicy", {})
|
|
1542
|
-
.n("MediaPackageV2Client", "DeleteOriginEndpointPolicyCommand")
|
|
1543
|
-
.sc(DeleteOriginEndpointPolicy$)
|
|
1544
|
-
.build() {
|
|
1460
|
+
class DeleteOriginEndpointPolicyCommand extends command(_ep0, _mw0, "DeleteOriginEndpointPolicy", DeleteOriginEndpointPolicy$) {
|
|
1545
1461
|
}
|
|
1546
1462
|
|
|
1547
|
-
class GetChannelCommand extends
|
|
1548
|
-
.classBuilder()
|
|
1549
|
-
.ep(commonParams)
|
|
1550
|
-
.m(function (Command, cs, config, o) {
|
|
1551
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1552
|
-
})
|
|
1553
|
-
.s("mediapackagev2", "GetChannel", {})
|
|
1554
|
-
.n("MediaPackageV2Client", "GetChannelCommand")
|
|
1555
|
-
.sc(GetChannel$)
|
|
1556
|
-
.build() {
|
|
1463
|
+
class GetChannelCommand extends command(_ep0, _mw0, "GetChannel", GetChannel$) {
|
|
1557
1464
|
}
|
|
1558
1465
|
|
|
1559
|
-
class GetChannelGroupCommand extends
|
|
1560
|
-
.classBuilder()
|
|
1561
|
-
.ep(commonParams)
|
|
1562
|
-
.m(function (Command, cs, config, o) {
|
|
1563
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1564
|
-
})
|
|
1565
|
-
.s("mediapackagev2", "GetChannelGroup", {})
|
|
1566
|
-
.n("MediaPackageV2Client", "GetChannelGroupCommand")
|
|
1567
|
-
.sc(GetChannelGroup$)
|
|
1568
|
-
.build() {
|
|
1466
|
+
class GetChannelGroupCommand extends command(_ep0, _mw0, "GetChannelGroup", GetChannelGroup$) {
|
|
1569
1467
|
}
|
|
1570
1468
|
|
|
1571
|
-
class GetChannelPolicyCommand extends
|
|
1572
|
-
.classBuilder()
|
|
1573
|
-
.ep(commonParams)
|
|
1574
|
-
.m(function (Command, cs, config, o) {
|
|
1575
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1576
|
-
})
|
|
1577
|
-
.s("mediapackagev2", "GetChannelPolicy", {})
|
|
1578
|
-
.n("MediaPackageV2Client", "GetChannelPolicyCommand")
|
|
1579
|
-
.sc(GetChannelPolicy$)
|
|
1580
|
-
.build() {
|
|
1469
|
+
class GetChannelPolicyCommand extends command(_ep0, _mw0, "GetChannelPolicy", GetChannelPolicy$) {
|
|
1581
1470
|
}
|
|
1582
1471
|
|
|
1583
|
-
class GetHarvestJobCommand extends
|
|
1584
|
-
.classBuilder()
|
|
1585
|
-
.ep(commonParams)
|
|
1586
|
-
.m(function (Command, cs, config, o) {
|
|
1587
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1588
|
-
})
|
|
1589
|
-
.s("mediapackagev2", "GetHarvestJob", {})
|
|
1590
|
-
.n("MediaPackageV2Client", "GetHarvestJobCommand")
|
|
1591
|
-
.sc(GetHarvestJob$)
|
|
1592
|
-
.build() {
|
|
1472
|
+
class GetHarvestJobCommand extends command(_ep0, _mw0, "GetHarvestJob", GetHarvestJob$) {
|
|
1593
1473
|
}
|
|
1594
1474
|
|
|
1595
|
-
class GetOriginEndpointCommand extends
|
|
1596
|
-
.classBuilder()
|
|
1597
|
-
.ep(commonParams)
|
|
1598
|
-
.m(function (Command, cs, config, o) {
|
|
1599
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1600
|
-
})
|
|
1601
|
-
.s("mediapackagev2", "GetOriginEndpoint", {})
|
|
1602
|
-
.n("MediaPackageV2Client", "GetOriginEndpointCommand")
|
|
1603
|
-
.sc(GetOriginEndpoint$)
|
|
1604
|
-
.build() {
|
|
1475
|
+
class GetOriginEndpointCommand extends command(_ep0, _mw0, "GetOriginEndpoint", GetOriginEndpoint$) {
|
|
1605
1476
|
}
|
|
1606
1477
|
|
|
1607
|
-
class GetOriginEndpointPolicyCommand extends
|
|
1608
|
-
.classBuilder()
|
|
1609
|
-
.ep(commonParams)
|
|
1610
|
-
.m(function (Command, cs, config, o) {
|
|
1611
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1612
|
-
})
|
|
1613
|
-
.s("mediapackagev2", "GetOriginEndpointPolicy", {})
|
|
1614
|
-
.n("MediaPackageV2Client", "GetOriginEndpointPolicyCommand")
|
|
1615
|
-
.sc(GetOriginEndpointPolicy$)
|
|
1616
|
-
.build() {
|
|
1478
|
+
class GetOriginEndpointPolicyCommand extends command(_ep0, _mw0, "GetOriginEndpointPolicy", GetOriginEndpointPolicy$) {
|
|
1617
1479
|
}
|
|
1618
1480
|
|
|
1619
|
-
class ListChannelGroupsCommand extends
|
|
1620
|
-
.classBuilder()
|
|
1621
|
-
.ep(commonParams)
|
|
1622
|
-
.m(function (Command, cs, config, o) {
|
|
1623
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1624
|
-
})
|
|
1625
|
-
.s("mediapackagev2", "ListChannelGroups", {})
|
|
1626
|
-
.n("MediaPackageV2Client", "ListChannelGroupsCommand")
|
|
1627
|
-
.sc(ListChannelGroups$)
|
|
1628
|
-
.build() {
|
|
1481
|
+
class ListChannelGroupsCommand extends command(_ep0, _mw0, "ListChannelGroups", ListChannelGroups$) {
|
|
1629
1482
|
}
|
|
1630
1483
|
|
|
1631
|
-
class ListChannelsCommand extends
|
|
1632
|
-
.classBuilder()
|
|
1633
|
-
.ep(commonParams)
|
|
1634
|
-
.m(function (Command, cs, config, o) {
|
|
1635
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1636
|
-
})
|
|
1637
|
-
.s("mediapackagev2", "ListChannels", {})
|
|
1638
|
-
.n("MediaPackageV2Client", "ListChannelsCommand")
|
|
1639
|
-
.sc(ListChannels$)
|
|
1640
|
-
.build() {
|
|
1484
|
+
class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
|
|
1641
1485
|
}
|
|
1642
1486
|
|
|
1643
|
-
class ListHarvestJobsCommand extends
|
|
1644
|
-
.classBuilder()
|
|
1645
|
-
.ep(commonParams)
|
|
1646
|
-
.m(function (Command, cs, config, o) {
|
|
1647
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1648
|
-
})
|
|
1649
|
-
.s("mediapackagev2", "ListHarvestJobs", {})
|
|
1650
|
-
.n("MediaPackageV2Client", "ListHarvestJobsCommand")
|
|
1651
|
-
.sc(ListHarvestJobs$)
|
|
1652
|
-
.build() {
|
|
1487
|
+
class ListHarvestJobsCommand extends command(_ep0, _mw0, "ListHarvestJobs", ListHarvestJobs$) {
|
|
1653
1488
|
}
|
|
1654
1489
|
|
|
1655
|
-
class ListOriginEndpointsCommand extends
|
|
1656
|
-
.classBuilder()
|
|
1657
|
-
.ep(commonParams)
|
|
1658
|
-
.m(function (Command, cs, config, o) {
|
|
1659
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1660
|
-
})
|
|
1661
|
-
.s("mediapackagev2", "ListOriginEndpoints", {})
|
|
1662
|
-
.n("MediaPackageV2Client", "ListOriginEndpointsCommand")
|
|
1663
|
-
.sc(ListOriginEndpoints$)
|
|
1664
|
-
.build() {
|
|
1490
|
+
class ListOriginEndpointsCommand extends command(_ep0, _mw0, "ListOriginEndpoints", ListOriginEndpoints$) {
|
|
1665
1491
|
}
|
|
1666
1492
|
|
|
1667
|
-
class ListTagsForResourceCommand extends
|
|
1668
|
-
.classBuilder()
|
|
1669
|
-
.ep(commonParams)
|
|
1670
|
-
.m(function (Command, cs, config, o) {
|
|
1671
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1672
|
-
})
|
|
1673
|
-
.s("mediapackagev2", "ListTagsForResource", {})
|
|
1674
|
-
.n("MediaPackageV2Client", "ListTagsForResourceCommand")
|
|
1675
|
-
.sc(ListTagsForResource$)
|
|
1676
|
-
.build() {
|
|
1493
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1677
1494
|
}
|
|
1678
1495
|
|
|
1679
|
-
class PutChannelPolicyCommand extends
|
|
1680
|
-
.classBuilder()
|
|
1681
|
-
.ep(commonParams)
|
|
1682
|
-
.m(function (Command, cs, config, o) {
|
|
1683
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1684
|
-
})
|
|
1685
|
-
.s("mediapackagev2", "PutChannelPolicy", {})
|
|
1686
|
-
.n("MediaPackageV2Client", "PutChannelPolicyCommand")
|
|
1687
|
-
.sc(PutChannelPolicy$)
|
|
1688
|
-
.build() {
|
|
1496
|
+
class PutChannelPolicyCommand extends command(_ep0, _mw0, "PutChannelPolicy", PutChannelPolicy$) {
|
|
1689
1497
|
}
|
|
1690
1498
|
|
|
1691
|
-
class PutOriginEndpointPolicyCommand extends
|
|
1692
|
-
.classBuilder()
|
|
1693
|
-
.ep(commonParams)
|
|
1694
|
-
.m(function (Command, cs, config, o) {
|
|
1695
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1696
|
-
})
|
|
1697
|
-
.s("mediapackagev2", "PutOriginEndpointPolicy", {})
|
|
1698
|
-
.n("MediaPackageV2Client", "PutOriginEndpointPolicyCommand")
|
|
1699
|
-
.sc(PutOriginEndpointPolicy$)
|
|
1700
|
-
.build() {
|
|
1499
|
+
class PutOriginEndpointPolicyCommand extends command(_ep0, _mw0, "PutOriginEndpointPolicy", PutOriginEndpointPolicy$) {
|
|
1701
1500
|
}
|
|
1702
1501
|
|
|
1703
|
-
class ResetChannelStateCommand extends
|
|
1704
|
-
.classBuilder()
|
|
1705
|
-
.ep(commonParams)
|
|
1706
|
-
.m(function (Command, cs, config, o) {
|
|
1707
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1708
|
-
})
|
|
1709
|
-
.s("mediapackagev2", "ResetChannelState", {})
|
|
1710
|
-
.n("MediaPackageV2Client", "ResetChannelStateCommand")
|
|
1711
|
-
.sc(ResetChannelState$)
|
|
1712
|
-
.build() {
|
|
1502
|
+
class ResetChannelStateCommand extends command(_ep0, _mw0, "ResetChannelState", ResetChannelState$) {
|
|
1713
1503
|
}
|
|
1714
1504
|
|
|
1715
|
-
class ResetOriginEndpointStateCommand extends
|
|
1716
|
-
.classBuilder()
|
|
1717
|
-
.ep(commonParams)
|
|
1718
|
-
.m(function (Command, cs, config, o) {
|
|
1719
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1720
|
-
})
|
|
1721
|
-
.s("mediapackagev2", "ResetOriginEndpointState", {})
|
|
1722
|
-
.n("MediaPackageV2Client", "ResetOriginEndpointStateCommand")
|
|
1723
|
-
.sc(ResetOriginEndpointState$)
|
|
1724
|
-
.build() {
|
|
1505
|
+
class ResetOriginEndpointStateCommand extends command(_ep0, _mw0, "ResetOriginEndpointState", ResetOriginEndpointState$) {
|
|
1725
1506
|
}
|
|
1726
1507
|
|
|
1727
|
-
class TagResourceCommand extends
|
|
1728
|
-
.classBuilder()
|
|
1729
|
-
.ep(commonParams)
|
|
1730
|
-
.m(function (Command, cs, config, o) {
|
|
1731
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1732
|
-
})
|
|
1733
|
-
.s("mediapackagev2", "TagResource", {})
|
|
1734
|
-
.n("MediaPackageV2Client", "TagResourceCommand")
|
|
1735
|
-
.sc(TagResource$)
|
|
1736
|
-
.build() {
|
|
1508
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1737
1509
|
}
|
|
1738
1510
|
|
|
1739
|
-
class UntagResourceCommand extends
|
|
1740
|
-
.classBuilder()
|
|
1741
|
-
.ep(commonParams)
|
|
1742
|
-
.m(function (Command, cs, config, o) {
|
|
1743
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1744
|
-
})
|
|
1745
|
-
.s("mediapackagev2", "UntagResource", {})
|
|
1746
|
-
.n("MediaPackageV2Client", "UntagResourceCommand")
|
|
1747
|
-
.sc(UntagResource$)
|
|
1748
|
-
.build() {
|
|
1511
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1749
1512
|
}
|
|
1750
1513
|
|
|
1751
|
-
class UpdateChannelCommand extends
|
|
1752
|
-
.classBuilder()
|
|
1753
|
-
.ep(commonParams)
|
|
1754
|
-
.m(function (Command, cs, config, o) {
|
|
1755
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1756
|
-
})
|
|
1757
|
-
.s("mediapackagev2", "UpdateChannel", {})
|
|
1758
|
-
.n("MediaPackageV2Client", "UpdateChannelCommand")
|
|
1759
|
-
.sc(UpdateChannel$)
|
|
1760
|
-
.build() {
|
|
1514
|
+
class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
|
|
1761
1515
|
}
|
|
1762
1516
|
|
|
1763
|
-
class UpdateChannelGroupCommand extends
|
|
1764
|
-
.classBuilder()
|
|
1765
|
-
.ep(commonParams)
|
|
1766
|
-
.m(function (Command, cs, config, o) {
|
|
1767
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1768
|
-
})
|
|
1769
|
-
.s("mediapackagev2", "UpdateChannelGroup", {})
|
|
1770
|
-
.n("MediaPackageV2Client", "UpdateChannelGroupCommand")
|
|
1771
|
-
.sc(UpdateChannelGroup$)
|
|
1772
|
-
.build() {
|
|
1517
|
+
class UpdateChannelGroupCommand extends command(_ep0, _mw0, "UpdateChannelGroup", UpdateChannelGroup$) {
|
|
1773
1518
|
}
|
|
1774
1519
|
|
|
1775
|
-
class UpdateOriginEndpointCommand extends
|
|
1776
|
-
.classBuilder()
|
|
1777
|
-
.ep(commonParams)
|
|
1778
|
-
.m(function (Command, cs, config, o) {
|
|
1779
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1780
|
-
})
|
|
1781
|
-
.s("mediapackagev2", "UpdateOriginEndpoint", {})
|
|
1782
|
-
.n("MediaPackageV2Client", "UpdateOriginEndpointCommand")
|
|
1783
|
-
.sc(UpdateOriginEndpoint$)
|
|
1784
|
-
.build() {
|
|
1520
|
+
class UpdateOriginEndpointCommand extends command(_ep0, _mw0, "UpdateOriginEndpoint", UpdateOriginEndpoint$) {
|
|
1785
1521
|
}
|
|
1786
1522
|
|
|
1787
1523
|
const paginateListChannelGroups = createPaginator(MediaPackageV2Client, ListChannelGroupsCommand, "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, "mediapackagev2", "MediaPackageV2Client", 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 { CancelHarvestJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelHarvestJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("mediapackagev2", "CancelHarvestJob", {})
|
|
13
|
-
.n("MediaPackageV2Client", "CancelHarvestJobCommand")
|
|
14
|
-
.sc(CancelHarvestJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelHarvestJobCommand extends command(_ep0, _mw0, "CancelHarvestJob", CancelHarvestJob$) {
|
|
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("mediapackagev2", "CreateChannel", {})
|
|
13
|
-
.n("MediaPackageV2Client", "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 { CreateChannelGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateChannelGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("mediapackagev2", "CreateChannelGroup", {})
|
|
13
|
-
.n("MediaPackageV2Client", "CreateChannelGroupCommand")
|
|
14
|
-
.sc(CreateChannelGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateChannelGroupCommand extends command(_ep0, _mw0, "CreateChannelGroup", CreateChannelGroup$) {
|
|
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("mediapackagev2", "CreateHarvestJob", {})
|
|
13
|
-
.n("MediaPackageV2Client", "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("mediapackagev2", "CreateOriginEndpoint", {})
|
|
13
|
-
.n("MediaPackageV2Client", "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("mediapackagev2", "DeleteChannel", {})
|
|
13
|
-
.n("MediaPackageV2Client", "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 { DeleteChannelGroup$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteChannelGroupCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("mediapackagev2", "DeleteChannelGroup", {})
|
|
13
|
-
.n("MediaPackageV2Client", "DeleteChannelGroupCommand")
|
|
14
|
-
.sc(DeleteChannelGroup$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteChannelGroupCommand extends command(_ep0, _mw0, "DeleteChannelGroup", DeleteChannelGroup$) {
|
|
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 { DeleteChannelPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteChannelPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("mediapackagev2", "DeleteChannelPolicy", {})
|
|
13
|
-
.n("MediaPackageV2Client", "DeleteChannelPolicyCommand")
|
|
14
|
-
.sc(DeleteChannelPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteChannelPolicyCommand extends command(_ep0, _mw0, "DeleteChannelPolicy", DeleteChannelPolicy$) {
|
|
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("mediapackagev2", "DeleteOriginEndpoint", {})
|
|
13
|
-
.n("MediaPackageV2Client", "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 { DeleteOriginEndpointPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteOriginEndpointPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("mediapackagev2", "DeleteOriginEndpointPolicy", {})
|
|
13
|
-
.n("MediaPackageV2Client", "DeleteOriginEndpointPolicyCommand")
|
|
14
|
-
.sc(DeleteOriginEndpointPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteOriginEndpointPolicyCommand extends command(_ep0, _mw0, "DeleteOriginEndpointPolicy", DeleteOriginEndpointPolicy$) {
|
|
16
4
|
}
|