@aws-sdk/client-mediatailor 3.535.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +17 -4
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +15 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -0
- package/dist-types/commands/CreateProgramCommand.d.ts +112 -2
- package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProgramCommand.d.ts +56 -1
- package/dist-types/commands/GetChannelScheduleCommand.d.ts +5 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -0
- package/dist-types/commands/UpdateProgramCommand.d.ts +112 -2
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +139 -11
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +31 -3
- package/package.json +5 -5
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -305,6 +305,7 @@ var OriginManifestType = {
|
|
|
305
305
|
SINGLE_PERIOD: "SINGLE_PERIOD"
|
|
306
306
|
};
|
|
307
307
|
var ScheduleEntryType = {
|
|
308
|
+
ALTERNATE_MEDIA: "ALTERNATE_MEDIA",
|
|
308
309
|
FILLER_SLATE: "FILLER_SLATE",
|
|
309
310
|
PROGRAM: "PROGRAM"
|
|
310
311
|
};
|
|
@@ -391,6 +392,7 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
391
392
|
let body;
|
|
392
393
|
body = JSON.stringify(
|
|
393
394
|
(0, import_smithy_client.take)(input, {
|
|
395
|
+
Audiences: (_) => (0, import_smithy_client._json)(_),
|
|
394
396
|
FillerSlate: (_) => (0, import_smithy_client._json)(_),
|
|
395
397
|
Outputs: (_) => (0, import_smithy_client._json)(_),
|
|
396
398
|
PlaybackMode: [],
|
|
@@ -451,6 +453,7 @@ var se_CreateProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
451
453
|
body = JSON.stringify(
|
|
452
454
|
(0, import_smithy_client.take)(input, {
|
|
453
455
|
AdBreaks: (_) => (0, import_smithy_client._json)(_),
|
|
456
|
+
AudienceMedia: (_) => (0, import_smithy_client._json)(_),
|
|
454
457
|
LiveSourceName: [],
|
|
455
458
|
ScheduleConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
456
459
|
SourceLocationName: [],
|
|
@@ -639,7 +642,8 @@ var se_GetChannelScheduleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
639
642
|
const query = (0, import_smithy_client.map)({
|
|
640
643
|
[_dM]: [, input[_DM]],
|
|
641
644
|
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
642
|
-
[_nT]: [, input[_NT]]
|
|
645
|
+
[_nT]: [, input[_NT]],
|
|
646
|
+
[_a]: [, input[_A]]
|
|
643
647
|
});
|
|
644
648
|
let body;
|
|
645
649
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -869,6 +873,7 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
869
873
|
let body;
|
|
870
874
|
body = JSON.stringify(
|
|
871
875
|
(0, import_smithy_client.take)(input, {
|
|
876
|
+
Audiences: (_) => (0, import_smithy_client._json)(_),
|
|
872
877
|
FillerSlate: (_) => (0, import_smithy_client._json)(_),
|
|
873
878
|
Outputs: (_) => (0, import_smithy_client._json)(_),
|
|
874
879
|
TimeShiftConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
@@ -906,6 +911,7 @@ var se_UpdateProgramCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
906
911
|
body = JSON.stringify(
|
|
907
912
|
(0, import_smithy_client.take)(input, {
|
|
908
913
|
AdBreaks: (_) => (0, import_smithy_client._json)(_),
|
|
914
|
+
AudienceMedia: (_) => (0, import_smithy_client._json)(_),
|
|
909
915
|
ScheduleConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
910
916
|
})
|
|
911
917
|
);
|
|
@@ -988,6 +994,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
988
994
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
989
995
|
const doc = (0, import_smithy_client.take)(data, {
|
|
990
996
|
Arn: import_smithy_client.expectString,
|
|
997
|
+
Audiences: import_smithy_client._json,
|
|
991
998
|
ChannelName: import_smithy_client.expectString,
|
|
992
999
|
ChannelState: import_smithy_client.expectString,
|
|
993
1000
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1052,6 +1059,7 @@ var de_CreateProgramCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1052
1059
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1053
1060
|
AdBreaks: import_smithy_client._json,
|
|
1054
1061
|
Arn: import_smithy_client.expectString,
|
|
1062
|
+
AudienceMedia: import_smithy_client._json,
|
|
1055
1063
|
ChannelName: import_smithy_client.expectString,
|
|
1056
1064
|
ClipRange: import_smithy_client._json,
|
|
1057
1065
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1197,6 +1205,7 @@ var de_DescribeChannelCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1197
1205
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1198
1206
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1199
1207
|
Arn: import_smithy_client.expectString,
|
|
1208
|
+
Audiences: import_smithy_client._json,
|
|
1200
1209
|
ChannelName: import_smithy_client.expectString,
|
|
1201
1210
|
ChannelState: import_smithy_client.expectString,
|
|
1202
1211
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1243,6 +1252,7 @@ var de_DescribeProgramCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1243
1252
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1244
1253
|
AdBreaks: import_smithy_client._json,
|
|
1245
1254
|
Arn: import_smithy_client.expectString,
|
|
1255
|
+
AudienceMedia: import_smithy_client._json,
|
|
1246
1256
|
ChannelName: import_smithy_client.expectString,
|
|
1247
1257
|
ClipRange: import_smithy_client._json,
|
|
1248
1258
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1590,6 +1600,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1590
1600
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1591
1601
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1592
1602
|
Arn: import_smithy_client.expectString,
|
|
1603
|
+
Audiences: import_smithy_client._json,
|
|
1593
1604
|
ChannelName: import_smithy_client.expectString,
|
|
1594
1605
|
ChannelState: import_smithy_client.expectString,
|
|
1595
1606
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1635,6 +1646,7 @@ var de_UpdateProgramCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1635
1646
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1636
1647
|
AdBreaks: import_smithy_client._json,
|
|
1637
1648
|
Arn: import_smithy_client.expectString,
|
|
1649
|
+
AudienceMedia: import_smithy_client._json,
|
|
1638
1650
|
ChannelName: import_smithy_client.expectString,
|
|
1639
1651
|
ClipRange: import_smithy_client._json,
|
|
1640
1652
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1804,6 +1816,7 @@ var de_Alert = /* @__PURE__ */ __name((output, context) => {
|
|
|
1804
1816
|
var de_Channel = /* @__PURE__ */ __name((output, context) => {
|
|
1805
1817
|
return (0, import_smithy_client.take)(output, {
|
|
1806
1818
|
Arn: import_smithy_client.expectString,
|
|
1819
|
+
Audiences: import_smithy_client._json,
|
|
1807
1820
|
ChannelName: import_smithy_client.expectString,
|
|
1808
1821
|
ChannelState: import_smithy_client.expectString,
|
|
1809
1822
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1887,6 +1900,7 @@ var de_ScheduleEntry = /* @__PURE__ */ __name((output, context) => {
|
|
|
1887
1900
|
ApproximateDurationSeconds: import_smithy_client.expectLong,
|
|
1888
1901
|
ApproximateStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1889
1902
|
Arn: import_smithy_client.expectString,
|
|
1903
|
+
Audiences: import_smithy_client._json,
|
|
1890
1904
|
ChannelName: import_smithy_client.expectString,
|
|
1891
1905
|
LiveSourceName: import_smithy_client.expectString,
|
|
1892
1906
|
ProgramName: import_smithy_client.expectString,
|
|
@@ -1926,11 +1940,13 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1926
1940
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1927
1941
|
cfId: output.headers["x-amz-cf-id"]
|
|
1928
1942
|
}), "deserializeMetadata");
|
|
1943
|
+
var _A = "Audience";
|
|
1929
1944
|
var _DM = "DurationMinutes";
|
|
1930
1945
|
var _MR = "MaxResults";
|
|
1931
1946
|
var _NT = "NextToken";
|
|
1932
1947
|
var _RA = "ResourceArn";
|
|
1933
1948
|
var _TK = "TagKeys";
|
|
1949
|
+
var _a = "audience";
|
|
1934
1950
|
var _dM = "durationMinutes";
|
|
1935
1951
|
var _mR = "maxResults";
|
|
1936
1952
|
var _nT = "nextToken";
|
|
@@ -2765,9 +2781,6 @@ var paginateListSourceLocations = (0, import_core.createPaginator)(MediaTailorCl
|
|
|
2765
2781
|
// src/pagination/ListVodSourcesPaginator.ts
|
|
2766
2782
|
|
|
2767
2783
|
var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient, ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2768
|
-
|
|
2769
|
-
// src/index.ts
|
|
2770
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2771
2784
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2772
2785
|
|
|
2773
2786
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -40,6 +40,7 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
40
40
|
b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
41
41
|
let body;
|
|
42
42
|
body = JSON.stringify(take(input, {
|
|
43
|
+
Audiences: (_) => _json(_),
|
|
43
44
|
FillerSlate: (_) => _json(_),
|
|
44
45
|
Outputs: (_) => _json(_),
|
|
45
46
|
PlaybackMode: [],
|
|
@@ -94,6 +95,7 @@ export const se_CreateProgramCommand = async (input, context) => {
|
|
|
94
95
|
let body;
|
|
95
96
|
body = JSON.stringify(take(input, {
|
|
96
97
|
AdBreaks: (_) => _json(_),
|
|
98
|
+
AudienceMedia: (_) => _json(_),
|
|
97
99
|
LiveSourceName: [],
|
|
98
100
|
ScheduleConfiguration: (_) => _json(_),
|
|
99
101
|
SourceLocationName: [],
|
|
@@ -278,6 +280,7 @@ export const se_GetChannelScheduleCommand = async (input, context) => {
|
|
|
278
280
|
[_dM]: [, input[_DM]],
|
|
279
281
|
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
280
282
|
[_nT]: [, input[_NT]],
|
|
283
|
+
[_a]: [, input[_A]],
|
|
281
284
|
});
|
|
282
285
|
let body;
|
|
283
286
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -498,6 +501,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
498
501
|
b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
499
502
|
let body;
|
|
500
503
|
body = JSON.stringify(take(input, {
|
|
504
|
+
Audiences: (_) => _json(_),
|
|
501
505
|
FillerSlate: (_) => _json(_),
|
|
502
506
|
Outputs: (_) => _json(_),
|
|
503
507
|
TimeShiftConfiguration: (_) => _json(_),
|
|
@@ -531,6 +535,7 @@ export const se_UpdateProgramCommand = async (input, context) => {
|
|
|
531
535
|
let body;
|
|
532
536
|
body = JSON.stringify(take(input, {
|
|
533
537
|
AdBreaks: (_) => _json(_),
|
|
538
|
+
AudienceMedia: (_) => _json(_),
|
|
534
539
|
ScheduleConfiguration: (_) => _json(_),
|
|
535
540
|
}));
|
|
536
541
|
b.m("PUT").h(headers).b(body);
|
|
@@ -608,6 +613,7 @@ export const de_CreateChannelCommand = async (output, context) => {
|
|
|
608
613
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
609
614
|
const doc = take(data, {
|
|
610
615
|
Arn: __expectString,
|
|
616
|
+
Audiences: _json,
|
|
611
617
|
ChannelName: __expectString,
|
|
612
618
|
ChannelState: __expectString,
|
|
613
619
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -672,6 +678,7 @@ export const de_CreateProgramCommand = async (output, context) => {
|
|
|
672
678
|
const doc = take(data, {
|
|
673
679
|
AdBreaks: _json,
|
|
674
680
|
Arn: __expectString,
|
|
681
|
+
AudienceMedia: _json,
|
|
675
682
|
ChannelName: __expectString,
|
|
676
683
|
ClipRange: _json,
|
|
677
684
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -817,6 +824,7 @@ export const de_DescribeChannelCommand = async (output, context) => {
|
|
|
817
824
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
818
825
|
const doc = take(data, {
|
|
819
826
|
Arn: __expectString,
|
|
827
|
+
Audiences: _json,
|
|
820
828
|
ChannelName: __expectString,
|
|
821
829
|
ChannelState: __expectString,
|
|
822
830
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -863,6 +871,7 @@ export const de_DescribeProgramCommand = async (output, context) => {
|
|
|
863
871
|
const doc = take(data, {
|
|
864
872
|
AdBreaks: _json,
|
|
865
873
|
Arn: __expectString,
|
|
874
|
+
AudienceMedia: _json,
|
|
866
875
|
ChannelName: __expectString,
|
|
867
876
|
ClipRange: _json,
|
|
868
877
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1210,6 +1219,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
|
|
|
1210
1219
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1211
1220
|
const doc = take(data, {
|
|
1212
1221
|
Arn: __expectString,
|
|
1222
|
+
Audiences: _json,
|
|
1213
1223
|
ChannelName: __expectString,
|
|
1214
1224
|
ChannelState: __expectString,
|
|
1215
1225
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1255,6 +1265,7 @@ export const de_UpdateProgramCommand = async (output, context) => {
|
|
|
1255
1265
|
const doc = take(data, {
|
|
1256
1266
|
AdBreaks: _json,
|
|
1257
1267
|
Arn: __expectString,
|
|
1268
|
+
AudienceMedia: _json,
|
|
1258
1269
|
ChannelName: __expectString,
|
|
1259
1270
|
ClipRange: _json,
|
|
1260
1271
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1442,6 +1453,7 @@ const de_Alert = (output, context) => {
|
|
|
1442
1453
|
const de_Channel = (output, context) => {
|
|
1443
1454
|
return take(output, {
|
|
1444
1455
|
Arn: __expectString,
|
|
1456
|
+
Audiences: _json,
|
|
1445
1457
|
ChannelName: __expectString,
|
|
1446
1458
|
ChannelState: __expectString,
|
|
1447
1459
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1525,6 +1537,7 @@ const de_ScheduleEntry = (output, context) => {
|
|
|
1525
1537
|
ApproximateDurationSeconds: __expectLong,
|
|
1526
1538
|
ApproximateStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1527
1539
|
Arn: __expectString,
|
|
1540
|
+
Audiences: _json,
|
|
1528
1541
|
ChannelName: __expectString,
|
|
1529
1542
|
LiveSourceName: __expectString,
|
|
1530
1543
|
ProgramName: __expectString,
|
|
@@ -1570,11 +1583,13 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1570
1583
|
value !== "" &&
|
|
1571
1584
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1572
1585
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1586
|
+
const _A = "Audience";
|
|
1573
1587
|
const _DM = "DurationMinutes";
|
|
1574
1588
|
const _MR = "MaxResults";
|
|
1575
1589
|
const _NT = "NextToken";
|
|
1576
1590
|
const _RA = "ResourceArn";
|
|
1577
1591
|
const _TK = "TagKeys";
|
|
1592
|
+
const _a = "audience";
|
|
1578
1593
|
const _dM = "durationMinutes";
|
|
1579
1594
|
const _mR = "maxResults";
|
|
1580
1595
|
const _nT = "nextToken";
|
|
@@ -65,6 +65,9 @@ declare const CreateChannelCommand_base: {
|
|
|
65
65
|
* TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
66
66
|
* MaxTimeDelaySeconds: Number("int"), // required
|
|
67
67
|
* },
|
|
68
|
+
* Audiences: [ // Audiences
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
68
71
|
* };
|
|
69
72
|
* const command = new CreateChannelCommand(input);
|
|
70
73
|
* const response = await client.send(command);
|
|
@@ -105,6 +108,9 @@ declare const CreateChannelCommand_base: {
|
|
|
105
108
|
* // TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
106
109
|
* // MaxTimeDelaySeconds: Number("int"), // required
|
|
107
110
|
* // },
|
|
111
|
+
* // Audiences: [ // Audiences
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
108
114
|
* // };
|
|
109
115
|
*
|
|
110
116
|
* ```
|
|
@@ -82,11 +82,66 @@ declare const CreateProgramCommand_base: {
|
|
|
82
82
|
* Type: "STRING_VALUE", // required
|
|
83
83
|
* },
|
|
84
84
|
* ClipRange: { // ClipRange
|
|
85
|
-
* EndOffsetMillis: Number("long"),
|
|
85
|
+
* EndOffsetMillis: Number("long"),
|
|
86
|
+
* StartOffsetMillis: Number("long"),
|
|
86
87
|
* },
|
|
87
88
|
* },
|
|
88
89
|
* SourceLocationName: "STRING_VALUE", // required
|
|
89
90
|
* VodSourceName: "STRING_VALUE",
|
|
91
|
+
* AudienceMedia: [ // __listOfAudienceMedia
|
|
92
|
+
* { // AudienceMedia
|
|
93
|
+
* Audience: "STRING_VALUE",
|
|
94
|
+
* AlternateMedia: [ // __listOfAlternateMedia
|
|
95
|
+
* { // AlternateMedia
|
|
96
|
+
* SourceLocationName: "STRING_VALUE",
|
|
97
|
+
* LiveSourceName: "STRING_VALUE",
|
|
98
|
+
* VodSourceName: "STRING_VALUE",
|
|
99
|
+
* ClipRange: {
|
|
100
|
+
* EndOffsetMillis: Number("long"),
|
|
101
|
+
* StartOffsetMillis: Number("long"),
|
|
102
|
+
* },
|
|
103
|
+
* ScheduledStartTimeMillis: Number("long"),
|
|
104
|
+
* AdBreaks: [
|
|
105
|
+
* {
|
|
106
|
+
* MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
|
|
107
|
+
* OffsetMillis: Number("long"), // required
|
|
108
|
+
* Slate: {
|
|
109
|
+
* SourceLocationName: "STRING_VALUE",
|
|
110
|
+
* VodSourceName: "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* SpliceInsertMessage: {
|
|
113
|
+
* AvailNum: Number("int"),
|
|
114
|
+
* AvailsExpected: Number("int"),
|
|
115
|
+
* SpliceEventId: Number("int"),
|
|
116
|
+
* UniqueProgramId: Number("int"),
|
|
117
|
+
* },
|
|
118
|
+
* TimeSignalMessage: {
|
|
119
|
+
* SegmentationDescriptors: [
|
|
120
|
+
* {
|
|
121
|
+
* SegmentationEventId: Number("int"),
|
|
122
|
+
* SegmentationUpidType: Number("int"),
|
|
123
|
+
* SegmentationUpid: "STRING_VALUE",
|
|
124
|
+
* SegmentationTypeId: Number("int"),
|
|
125
|
+
* SegmentNum: Number("int"),
|
|
126
|
+
* SegmentsExpected: Number("int"),
|
|
127
|
+
* SubSegmentNum: Number("int"),
|
|
128
|
+
* SubSegmentsExpected: Number("int"),
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* },
|
|
132
|
+
* AdBreakMetadata: [
|
|
133
|
+
* {
|
|
134
|
+
* Key: "STRING_VALUE", // required
|
|
135
|
+
* Value: "STRING_VALUE", // required
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* DurationMillis: Number("long"),
|
|
141
|
+
* },
|
|
142
|
+
* ],
|
|
143
|
+
* },
|
|
144
|
+
* ],
|
|
90
145
|
* };
|
|
91
146
|
* const command = new CreateProgramCommand(input);
|
|
92
147
|
* const response = await client.send(command);
|
|
@@ -136,9 +191,64 @@ declare const CreateProgramCommand_base: {
|
|
|
136
191
|
* // SourceLocationName: "STRING_VALUE",
|
|
137
192
|
* // VodSourceName: "STRING_VALUE",
|
|
138
193
|
* // ClipRange: { // ClipRange
|
|
139
|
-
* // EndOffsetMillis: Number("long"),
|
|
194
|
+
* // EndOffsetMillis: Number("long"),
|
|
195
|
+
* // StartOffsetMillis: Number("long"),
|
|
140
196
|
* // },
|
|
141
197
|
* // DurationMillis: Number("long"),
|
|
198
|
+
* // AudienceMedia: [ // __listOfAudienceMedia
|
|
199
|
+
* // { // AudienceMedia
|
|
200
|
+
* // Audience: "STRING_VALUE",
|
|
201
|
+
* // AlternateMedia: [ // __listOfAlternateMedia
|
|
202
|
+
* // { // AlternateMedia
|
|
203
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
204
|
+
* // LiveSourceName: "STRING_VALUE",
|
|
205
|
+
* // VodSourceName: "STRING_VALUE",
|
|
206
|
+
* // ClipRange: {
|
|
207
|
+
* // EndOffsetMillis: Number("long"),
|
|
208
|
+
* // StartOffsetMillis: Number("long"),
|
|
209
|
+
* // },
|
|
210
|
+
* // ScheduledStartTimeMillis: Number("long"),
|
|
211
|
+
* // AdBreaks: [
|
|
212
|
+
* // {
|
|
213
|
+
* // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
|
|
214
|
+
* // OffsetMillis: Number("long"), // required
|
|
215
|
+
* // Slate: {
|
|
216
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
217
|
+
* // VodSourceName: "STRING_VALUE",
|
|
218
|
+
* // },
|
|
219
|
+
* // SpliceInsertMessage: {
|
|
220
|
+
* // AvailNum: Number("int"),
|
|
221
|
+
* // AvailsExpected: Number("int"),
|
|
222
|
+
* // SpliceEventId: Number("int"),
|
|
223
|
+
* // UniqueProgramId: Number("int"),
|
|
224
|
+
* // },
|
|
225
|
+
* // TimeSignalMessage: {
|
|
226
|
+
* // SegmentationDescriptors: [
|
|
227
|
+
* // {
|
|
228
|
+
* // SegmentationEventId: Number("int"),
|
|
229
|
+
* // SegmentationUpidType: Number("int"),
|
|
230
|
+
* // SegmentationUpid: "STRING_VALUE",
|
|
231
|
+
* // SegmentationTypeId: Number("int"),
|
|
232
|
+
* // SegmentNum: Number("int"),
|
|
233
|
+
* // SegmentsExpected: Number("int"),
|
|
234
|
+
* // SubSegmentNum: Number("int"),
|
|
235
|
+
* // SubSegmentsExpected: Number("int"),
|
|
236
|
+
* // },
|
|
237
|
+
* // ],
|
|
238
|
+
* // },
|
|
239
|
+
* // AdBreakMetadata: [
|
|
240
|
+
* // {
|
|
241
|
+
* // Key: "STRING_VALUE", // required
|
|
242
|
+
* // Value: "STRING_VALUE", // required
|
|
243
|
+
* // },
|
|
244
|
+
* // ],
|
|
245
|
+
* // },
|
|
246
|
+
* // ],
|
|
247
|
+
* // DurationMillis: Number("long"),
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // },
|
|
251
|
+
* // ],
|
|
142
252
|
* // };
|
|
143
253
|
*
|
|
144
254
|
* ```
|
|
@@ -80,6 +80,9 @@ declare const DescribeChannelCommand_base: {
|
|
|
80
80
|
* // TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
81
81
|
* // MaxTimeDelaySeconds: Number("int"), // required
|
|
82
82
|
* // },
|
|
83
|
+
* // Audiences: [ // Audiences
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
83
86
|
* // };
|
|
84
87
|
*
|
|
85
88
|
* ```
|
|
@@ -85,9 +85,64 @@ declare const DescribeProgramCommand_base: {
|
|
|
85
85
|
* // SourceLocationName: "STRING_VALUE",
|
|
86
86
|
* // VodSourceName: "STRING_VALUE",
|
|
87
87
|
* // ClipRange: { // ClipRange
|
|
88
|
-
* // EndOffsetMillis: Number("long"),
|
|
88
|
+
* // EndOffsetMillis: Number("long"),
|
|
89
|
+
* // StartOffsetMillis: Number("long"),
|
|
89
90
|
* // },
|
|
90
91
|
* // DurationMillis: Number("long"),
|
|
92
|
+
* // AudienceMedia: [ // __listOfAudienceMedia
|
|
93
|
+
* // { // AudienceMedia
|
|
94
|
+
* // Audience: "STRING_VALUE",
|
|
95
|
+
* // AlternateMedia: [ // __listOfAlternateMedia
|
|
96
|
+
* // { // AlternateMedia
|
|
97
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
98
|
+
* // LiveSourceName: "STRING_VALUE",
|
|
99
|
+
* // VodSourceName: "STRING_VALUE",
|
|
100
|
+
* // ClipRange: {
|
|
101
|
+
* // EndOffsetMillis: Number("long"),
|
|
102
|
+
* // StartOffsetMillis: Number("long"),
|
|
103
|
+
* // },
|
|
104
|
+
* // ScheduledStartTimeMillis: Number("long"),
|
|
105
|
+
* // AdBreaks: [
|
|
106
|
+
* // {
|
|
107
|
+
* // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
|
|
108
|
+
* // OffsetMillis: Number("long"), // required
|
|
109
|
+
* // Slate: {
|
|
110
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
111
|
+
* // VodSourceName: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // SpliceInsertMessage: {
|
|
114
|
+
* // AvailNum: Number("int"),
|
|
115
|
+
* // AvailsExpected: Number("int"),
|
|
116
|
+
* // SpliceEventId: Number("int"),
|
|
117
|
+
* // UniqueProgramId: Number("int"),
|
|
118
|
+
* // },
|
|
119
|
+
* // TimeSignalMessage: {
|
|
120
|
+
* // SegmentationDescriptors: [
|
|
121
|
+
* // {
|
|
122
|
+
* // SegmentationEventId: Number("int"),
|
|
123
|
+
* // SegmentationUpidType: Number("int"),
|
|
124
|
+
* // SegmentationUpid: "STRING_VALUE",
|
|
125
|
+
* // SegmentationTypeId: Number("int"),
|
|
126
|
+
* // SegmentNum: Number("int"),
|
|
127
|
+
* // SegmentsExpected: Number("int"),
|
|
128
|
+
* // SubSegmentNum: Number("int"),
|
|
129
|
+
* // SubSegmentsExpected: Number("int"),
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // },
|
|
133
|
+
* // AdBreakMetadata: [
|
|
134
|
+
* // {
|
|
135
|
+
* // Key: "STRING_VALUE", // required
|
|
136
|
+
* // Value: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // DurationMillis: Number("long"),
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
91
146
|
* // };
|
|
92
147
|
*
|
|
93
148
|
* ```
|
|
@@ -38,6 +38,7 @@ declare const GetChannelScheduleCommand_base: {
|
|
|
38
38
|
* DurationMinutes: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
|
+
* Audience: "STRING_VALUE",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new GetChannelScheduleCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -58,9 +59,12 @@ declare const GetChannelScheduleCommand_base: {
|
|
|
58
59
|
* // VodSourceName: "STRING_VALUE",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
|
-
* // ScheduleEntryType: "PROGRAM" || "FILLER_SLATE",
|
|
62
|
+
* // ScheduleEntryType: "PROGRAM" || "FILLER_SLATE" || "ALTERNATE_MEDIA",
|
|
62
63
|
* // SourceLocationName: "STRING_VALUE", // required
|
|
63
64
|
* // VodSourceName: "STRING_VALUE",
|
|
65
|
+
* // Audiences: [ // Audiences
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
64
68
|
* // },
|
|
65
69
|
* // ],
|
|
66
70
|
* // NextToken: "STRING_VALUE",
|
|
@@ -60,6 +60,9 @@ declare const UpdateChannelCommand_base: {
|
|
|
60
60
|
* TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
61
61
|
* MaxTimeDelaySeconds: Number("int"), // required
|
|
62
62
|
* },
|
|
63
|
+
* Audiences: [ // Audiences
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
63
66
|
* };
|
|
64
67
|
* const command = new UpdateChannelCommand(input);
|
|
65
68
|
* const response = await client.send(command);
|
|
@@ -100,6 +103,9 @@ declare const UpdateChannelCommand_base: {
|
|
|
100
103
|
* // TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
101
104
|
* // MaxTimeDelaySeconds: Number("int"), // required
|
|
102
105
|
* // },
|
|
106
|
+
* // Audiences: [ // Audiences
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
103
109
|
* // };
|
|
104
110
|
*
|
|
105
111
|
* ```
|
|
@@ -78,9 +78,64 @@ declare const UpdateProgramCommand_base: {
|
|
|
78
78
|
* DurationMillis: Number("long"),
|
|
79
79
|
* },
|
|
80
80
|
* ClipRange: { // ClipRange
|
|
81
|
-
* EndOffsetMillis: Number("long"),
|
|
81
|
+
* EndOffsetMillis: Number("long"),
|
|
82
|
+
* StartOffsetMillis: Number("long"),
|
|
82
83
|
* },
|
|
83
84
|
* },
|
|
85
|
+
* AudienceMedia: [ // __listOfAudienceMedia
|
|
86
|
+
* { // AudienceMedia
|
|
87
|
+
* Audience: "STRING_VALUE",
|
|
88
|
+
* AlternateMedia: [ // __listOfAlternateMedia
|
|
89
|
+
* { // AlternateMedia
|
|
90
|
+
* SourceLocationName: "STRING_VALUE",
|
|
91
|
+
* LiveSourceName: "STRING_VALUE",
|
|
92
|
+
* VodSourceName: "STRING_VALUE",
|
|
93
|
+
* ClipRange: {
|
|
94
|
+
* EndOffsetMillis: Number("long"),
|
|
95
|
+
* StartOffsetMillis: Number("long"),
|
|
96
|
+
* },
|
|
97
|
+
* ScheduledStartTimeMillis: Number("long"),
|
|
98
|
+
* AdBreaks: [
|
|
99
|
+
* {
|
|
100
|
+
* MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
|
|
101
|
+
* OffsetMillis: Number("long"), // required
|
|
102
|
+
* Slate: {
|
|
103
|
+
* SourceLocationName: "STRING_VALUE",
|
|
104
|
+
* VodSourceName: "STRING_VALUE",
|
|
105
|
+
* },
|
|
106
|
+
* SpliceInsertMessage: {
|
|
107
|
+
* AvailNum: Number("int"),
|
|
108
|
+
* AvailsExpected: Number("int"),
|
|
109
|
+
* SpliceEventId: Number("int"),
|
|
110
|
+
* UniqueProgramId: Number("int"),
|
|
111
|
+
* },
|
|
112
|
+
* TimeSignalMessage: {
|
|
113
|
+
* SegmentationDescriptors: [
|
|
114
|
+
* {
|
|
115
|
+
* SegmentationEventId: Number("int"),
|
|
116
|
+
* SegmentationUpidType: Number("int"),
|
|
117
|
+
* SegmentationUpid: "STRING_VALUE",
|
|
118
|
+
* SegmentationTypeId: Number("int"),
|
|
119
|
+
* SegmentNum: Number("int"),
|
|
120
|
+
* SegmentsExpected: Number("int"),
|
|
121
|
+
* SubSegmentNum: Number("int"),
|
|
122
|
+
* SubSegmentsExpected: Number("int"),
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
125
|
+
* },
|
|
126
|
+
* AdBreakMetadata: [
|
|
127
|
+
* {
|
|
128
|
+
* Key: "STRING_VALUE", // required
|
|
129
|
+
* Value: "STRING_VALUE", // required
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* DurationMillis: Number("long"),
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* ],
|
|
84
139
|
* };
|
|
85
140
|
* const command = new UpdateProgramCommand(input);
|
|
86
141
|
* const response = await client.send(command);
|
|
@@ -129,10 +184,65 @@ declare const UpdateProgramCommand_base: {
|
|
|
129
184
|
* // VodSourceName: "STRING_VALUE",
|
|
130
185
|
* // LiveSourceName: "STRING_VALUE",
|
|
131
186
|
* // ClipRange: { // ClipRange
|
|
132
|
-
* // EndOffsetMillis: Number("long"),
|
|
187
|
+
* // EndOffsetMillis: Number("long"),
|
|
188
|
+
* // StartOffsetMillis: Number("long"),
|
|
133
189
|
* // },
|
|
134
190
|
* // DurationMillis: Number("long"),
|
|
135
191
|
* // ScheduledStartTime: new Date("TIMESTAMP"),
|
|
192
|
+
* // AudienceMedia: [ // __listOfAudienceMedia
|
|
193
|
+
* // { // AudienceMedia
|
|
194
|
+
* // Audience: "STRING_VALUE",
|
|
195
|
+
* // AlternateMedia: [ // __listOfAlternateMedia
|
|
196
|
+
* // { // AlternateMedia
|
|
197
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
198
|
+
* // LiveSourceName: "STRING_VALUE",
|
|
199
|
+
* // VodSourceName: "STRING_VALUE",
|
|
200
|
+
* // ClipRange: {
|
|
201
|
+
* // EndOffsetMillis: Number("long"),
|
|
202
|
+
* // StartOffsetMillis: Number("long"),
|
|
203
|
+
* // },
|
|
204
|
+
* // ScheduledStartTimeMillis: Number("long"),
|
|
205
|
+
* // AdBreaks: [
|
|
206
|
+
* // {
|
|
207
|
+
* // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
|
|
208
|
+
* // OffsetMillis: Number("long"), // required
|
|
209
|
+
* // Slate: {
|
|
210
|
+
* // SourceLocationName: "STRING_VALUE",
|
|
211
|
+
* // VodSourceName: "STRING_VALUE",
|
|
212
|
+
* // },
|
|
213
|
+
* // SpliceInsertMessage: {
|
|
214
|
+
* // AvailNum: Number("int"),
|
|
215
|
+
* // AvailsExpected: Number("int"),
|
|
216
|
+
* // SpliceEventId: Number("int"),
|
|
217
|
+
* // UniqueProgramId: Number("int"),
|
|
218
|
+
* // },
|
|
219
|
+
* // TimeSignalMessage: {
|
|
220
|
+
* // SegmentationDescriptors: [
|
|
221
|
+
* // {
|
|
222
|
+
* // SegmentationEventId: Number("int"),
|
|
223
|
+
* // SegmentationUpidType: Number("int"),
|
|
224
|
+
* // SegmentationUpid: "STRING_VALUE",
|
|
225
|
+
* // SegmentationTypeId: Number("int"),
|
|
226
|
+
* // SegmentNum: Number("int"),
|
|
227
|
+
* // SegmentsExpected: Number("int"),
|
|
228
|
+
* // SubSegmentNum: Number("int"),
|
|
229
|
+
* // SubSegmentsExpected: Number("int"),
|
|
230
|
+
* // },
|
|
231
|
+
* // ],
|
|
232
|
+
* // },
|
|
233
|
+
* // AdBreakMetadata: [
|
|
234
|
+
* // {
|
|
235
|
+
* // Key: "STRING_VALUE", // required
|
|
236
|
+
* // Value: "STRING_VALUE", // required
|
|
237
|
+
* // },
|
|
238
|
+
* // ],
|
|
239
|
+
* // },
|
|
240
|
+
* // ],
|
|
241
|
+
* // DurationMillis: Number("long"),
|
|
242
|
+
* // },
|
|
243
|
+
* // ],
|
|
244
|
+
* // },
|
|
245
|
+
* // ],
|
|
136
246
|
* // };
|
|
137
247
|
*
|
|
138
248
|
* ```
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,5 +12,4 @@ export { MediaTailorExtensionConfiguration } from "./extensionConfiguration";
|
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
14
|
export * from "./models";
|
|
15
|
-
import "@aws-sdk/util-endpoints";
|
|
16
15
|
export { MediaTailorServiceException } from "./models/MediaTailorServiceException";
|
|
@@ -219,6 +219,79 @@ export interface Alert {
|
|
|
219
219
|
*/
|
|
220
220
|
Category?: AlertCategory;
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>Clip range configuration for the VOD source associated with the program.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export interface ClipRange {
|
|
227
|
+
/**
|
|
228
|
+
* <p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
EndOffsetMillis?: number;
|
|
232
|
+
/**
|
|
233
|
+
* <p>The start offset of the clip range, in milliseconds. This offset truncates the start at the number of milliseconds into the duration of the VOD source.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
StartOffsetMillis?: number;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* <p>A playlist of media (VOD and/or live) to be played instead of the default media on a particular program.</p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export interface AlternateMedia {
|
|
243
|
+
/**
|
|
244
|
+
* <p>The name of the source location for alternateMedia.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
SourceLocationName?: string;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The name of the live source for alternateMedia.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
LiveSourceName?: string;
|
|
253
|
+
/**
|
|
254
|
+
* <p>The name of the VOD source for alternateMedia.</p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
VodSourceName?: string;
|
|
258
|
+
/**
|
|
259
|
+
* <p>Clip range configuration for the VOD source associated with the program.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
ClipRange?: ClipRange;
|
|
263
|
+
/**
|
|
264
|
+
* <p>The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
ScheduledStartTimeMillis?: number;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Ad break configuration parameters defined in AlternateMedia.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
AdBreaks?: AdBreak[];
|
|
273
|
+
/**
|
|
274
|
+
* <p>The duration of the alternateMedia in milliseconds.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
DurationMillis?: number;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* <p>An AudienceMedia object contains an Audience and a list of AlternateMedia.</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export interface AudienceMedia {
|
|
284
|
+
/**
|
|
285
|
+
* <p>The Audience defined in AudienceMedia.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
Audience?: string;
|
|
289
|
+
/**
|
|
290
|
+
* <p>The list of AlternateMedia defined in AudienceMedia.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
AlternateMedia?: AlternateMedia[];
|
|
294
|
+
}
|
|
222
295
|
/**
|
|
223
296
|
* @public
|
|
224
297
|
* @enum
|
|
@@ -422,6 +495,11 @@ export interface Channel {
|
|
|
422
495
|
* @public
|
|
423
496
|
*/
|
|
424
497
|
LogConfiguration: LogConfigurationForChannel | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* <p>The list of audiences defined in channel.</p>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
Audiences?: string[];
|
|
425
503
|
}
|
|
426
504
|
/**
|
|
427
505
|
* @public
|
|
@@ -883,6 +961,7 @@ export interface ScheduleAdBreak {
|
|
|
883
961
|
* @enum
|
|
884
962
|
*/
|
|
885
963
|
export declare const ScheduleEntryType: {
|
|
964
|
+
readonly ALTERNATE_MEDIA: "ALTERNATE_MEDIA";
|
|
886
965
|
readonly FILLER_SLATE: "FILLER_SLATE";
|
|
887
966
|
readonly PROGRAM: "PROGRAM";
|
|
888
967
|
};
|
|
@@ -945,6 +1024,11 @@ export interface ScheduleEntry {
|
|
|
945
1024
|
* @public
|
|
946
1025
|
*/
|
|
947
1026
|
VodSourceName?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>The list of audiences defined in ScheduleEntry.</p>
|
|
1029
|
+
* @public
|
|
1030
|
+
*/
|
|
1031
|
+
Audiences?: string[];
|
|
948
1032
|
}
|
|
949
1033
|
/**
|
|
950
1034
|
* <p>The segment delivery configuration settings.</p>
|
|
@@ -1364,6 +1448,11 @@ export interface CreateChannelRequest {
|
|
|
1364
1448
|
* @public
|
|
1365
1449
|
*/
|
|
1366
1450
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
1451
|
+
/**
|
|
1452
|
+
* <p>The list of audiences defined in channel.</p>
|
|
1453
|
+
* @public
|
|
1454
|
+
*/
|
|
1455
|
+
Audiences?: string[];
|
|
1367
1456
|
}
|
|
1368
1457
|
/**
|
|
1369
1458
|
* @public
|
|
@@ -1438,6 +1527,11 @@ export interface CreateChannelResponse {
|
|
|
1438
1527
|
* @public
|
|
1439
1528
|
*/
|
|
1440
1529
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>The list of audiences defined in channel.</p>
|
|
1532
|
+
* @public
|
|
1533
|
+
*/
|
|
1534
|
+
Audiences?: string[];
|
|
1441
1535
|
}
|
|
1442
1536
|
/**
|
|
1443
1537
|
* @public
|
|
@@ -1530,6 +1624,11 @@ export interface DescribeChannelResponse {
|
|
|
1530
1624
|
* @public
|
|
1531
1625
|
*/
|
|
1532
1626
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
1627
|
+
/**
|
|
1628
|
+
* <p>The list of audiences defined in channel.</p>
|
|
1629
|
+
* @public
|
|
1630
|
+
*/
|
|
1631
|
+
Audiences?: string[];
|
|
1533
1632
|
}
|
|
1534
1633
|
/**
|
|
1535
1634
|
* @public
|
|
@@ -1558,6 +1657,11 @@ export interface GetChannelScheduleRequest {
|
|
|
1558
1657
|
* @public
|
|
1559
1658
|
*/
|
|
1560
1659
|
NextToken?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* <p>The single audience for GetChannelScheduleRequest.</p>
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
Audience?: string;
|
|
1561
1665
|
}
|
|
1562
1666
|
/**
|
|
1563
1667
|
* @public
|
|
@@ -1604,17 +1708,6 @@ export interface ListChannelsResponse {
|
|
|
1604
1708
|
*/
|
|
1605
1709
|
NextToken?: string;
|
|
1606
1710
|
}
|
|
1607
|
-
/**
|
|
1608
|
-
* <p>Clip range configuration for the VOD source associated with the program.</p>
|
|
1609
|
-
* @public
|
|
1610
|
-
*/
|
|
1611
|
-
export interface ClipRange {
|
|
1612
|
-
/**
|
|
1613
|
-
* <p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>
|
|
1614
|
-
* @public
|
|
1615
|
-
*/
|
|
1616
|
-
EndOffsetMillis: number | undefined;
|
|
1617
|
-
}
|
|
1618
1711
|
/**
|
|
1619
1712
|
* @public
|
|
1620
1713
|
* @enum
|
|
@@ -1721,6 +1814,11 @@ export interface CreateProgramRequest {
|
|
|
1721
1814
|
* @public
|
|
1722
1815
|
*/
|
|
1723
1816
|
VodSourceName?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* <p>The list of AudienceMedia defined in program.</p>
|
|
1819
|
+
* @public
|
|
1820
|
+
*/
|
|
1821
|
+
AudienceMedia?: AudienceMedia[];
|
|
1724
1822
|
}
|
|
1725
1823
|
/**
|
|
1726
1824
|
* @public
|
|
@@ -1781,6 +1879,11 @@ export interface CreateProgramResponse {
|
|
|
1781
1879
|
* @public
|
|
1782
1880
|
*/
|
|
1783
1881
|
DurationMillis?: number;
|
|
1882
|
+
/**
|
|
1883
|
+
* <p>The list of AudienceMedia defined in program.</p>
|
|
1884
|
+
* @public
|
|
1885
|
+
*/
|
|
1886
|
+
AudienceMedia?: AudienceMedia[];
|
|
1784
1887
|
}
|
|
1785
1888
|
/**
|
|
1786
1889
|
* @public
|
|
@@ -1876,6 +1979,11 @@ export interface DescribeProgramResponse {
|
|
|
1876
1979
|
* @public
|
|
1877
1980
|
*/
|
|
1878
1981
|
DurationMillis?: number;
|
|
1982
|
+
/**
|
|
1983
|
+
* <p>The list of AudienceMedia defined in program.</p>
|
|
1984
|
+
* @public
|
|
1985
|
+
*/
|
|
1986
|
+
AudienceMedia?: AudienceMedia[];
|
|
1879
1987
|
}
|
|
1880
1988
|
/**
|
|
1881
1989
|
* <p>Program transition configuration.</p>
|
|
@@ -1933,6 +2041,11 @@ export interface UpdateProgramRequest {
|
|
|
1933
2041
|
* @public
|
|
1934
2042
|
*/
|
|
1935
2043
|
ScheduleConfiguration: UpdateProgramScheduleConfiguration | undefined;
|
|
2044
|
+
/**
|
|
2045
|
+
* <p>The list of AudienceMedia defined in program.</p>
|
|
2046
|
+
* @public
|
|
2047
|
+
*/
|
|
2048
|
+
AudienceMedia?: AudienceMedia[];
|
|
1936
2049
|
}
|
|
1937
2050
|
/**
|
|
1938
2051
|
* @public
|
|
@@ -1993,6 +2106,11 @@ export interface UpdateProgramResponse {
|
|
|
1993
2106
|
* @public
|
|
1994
2107
|
*/
|
|
1995
2108
|
ScheduledStartTime?: Date;
|
|
2109
|
+
/**
|
|
2110
|
+
* <p>The list of AudienceMedia defined in program.</p>
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
AudienceMedia?: AudienceMedia[];
|
|
1996
2114
|
}
|
|
1997
2115
|
/**
|
|
1998
2116
|
* @public
|
|
@@ -2052,6 +2170,11 @@ export interface UpdateChannelRequest {
|
|
|
2052
2170
|
* @public
|
|
2053
2171
|
*/
|
|
2054
2172
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
2173
|
+
/**
|
|
2174
|
+
* <p>The list of audiences defined in channel.</p>
|
|
2175
|
+
* @public
|
|
2176
|
+
*/
|
|
2177
|
+
Audiences?: string[];
|
|
2055
2178
|
}
|
|
2056
2179
|
/**
|
|
2057
2180
|
* @public
|
|
@@ -2120,6 +2243,11 @@ export interface UpdateChannelResponse {
|
|
|
2120
2243
|
* @public
|
|
2121
2244
|
*/
|
|
2122
2245
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
2246
|
+
/**
|
|
2247
|
+
* <p>The list of audiences defined in channel.</p>
|
|
2248
|
+
* @public
|
|
2249
|
+
*/
|
|
2250
|
+
Audiences?: string[];
|
|
2123
2251
|
}
|
|
2124
2252
|
/**
|
|
2125
2253
|
* <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
|
|
@@ -6,5 +6,4 @@ export { MediaTailorExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./models";
|
|
9
|
-
import "@aws-sdk/util-endpoints";
|
|
10
9
|
export { MediaTailorServiceException } from "./models/MediaTailorServiceException";
|
|
@@ -54,6 +54,23 @@ export interface Alert {
|
|
|
54
54
|
ResourceArn: string | undefined;
|
|
55
55
|
Category?: AlertCategory;
|
|
56
56
|
}
|
|
57
|
+
export interface ClipRange {
|
|
58
|
+
EndOffsetMillis?: number;
|
|
59
|
+
StartOffsetMillis?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface AlternateMedia {
|
|
62
|
+
SourceLocationName?: string;
|
|
63
|
+
LiveSourceName?: string;
|
|
64
|
+
VodSourceName?: string;
|
|
65
|
+
ClipRange?: ClipRange;
|
|
66
|
+
ScheduledStartTimeMillis?: number;
|
|
67
|
+
AdBreaks?: AdBreak[];
|
|
68
|
+
DurationMillis?: number;
|
|
69
|
+
}
|
|
70
|
+
export interface AudienceMedia {
|
|
71
|
+
Audience?: string;
|
|
72
|
+
AlternateMedia?: AlternateMedia[];
|
|
73
|
+
}
|
|
57
74
|
export declare const Operator: {
|
|
58
75
|
readonly EQUALS: "EQUALS";
|
|
59
76
|
};
|
|
@@ -103,6 +120,7 @@ export interface Channel {
|
|
|
103
120
|
Tags?: Record<string, string>;
|
|
104
121
|
Tier: string | undefined;
|
|
105
122
|
LogConfiguration: LogConfigurationForChannel | undefined;
|
|
123
|
+
Audiences?: string[];
|
|
106
124
|
}
|
|
107
125
|
export declare const Type: {
|
|
108
126
|
readonly DASH: "DASH";
|
|
@@ -220,6 +238,7 @@ export interface ScheduleAdBreak {
|
|
|
220
238
|
VodSourceName?: string;
|
|
221
239
|
}
|
|
222
240
|
export declare const ScheduleEntryType: {
|
|
241
|
+
readonly ALTERNATE_MEDIA: "ALTERNATE_MEDIA";
|
|
223
242
|
readonly FILLER_SLATE: "FILLER_SLATE";
|
|
224
243
|
readonly PROGRAM: "PROGRAM";
|
|
225
244
|
};
|
|
@@ -236,6 +255,7 @@ export interface ScheduleEntry {
|
|
|
236
255
|
ScheduleEntryType?: ScheduleEntryType;
|
|
237
256
|
SourceLocationName: string | undefined;
|
|
238
257
|
VodSourceName?: string;
|
|
258
|
+
Audiences?: string[];
|
|
239
259
|
}
|
|
240
260
|
export interface SegmentDeliveryConfiguration {
|
|
241
261
|
BaseUrl?: string;
|
|
@@ -343,6 +363,7 @@ export interface CreateChannelRequest {
|
|
|
343
363
|
Tags?: Record<string, string>;
|
|
344
364
|
Tier?: Tier;
|
|
345
365
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
366
|
+
Audiences?: string[];
|
|
346
367
|
}
|
|
347
368
|
export declare const ChannelState: {
|
|
348
369
|
readonly RUNNING: "RUNNING";
|
|
@@ -361,6 +382,7 @@ export interface CreateChannelResponse {
|
|
|
361
382
|
Tags?: Record<string, string>;
|
|
362
383
|
Tier?: string;
|
|
363
384
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
385
|
+
Audiences?: string[];
|
|
364
386
|
}
|
|
365
387
|
export interface DeleteChannelRequest {
|
|
366
388
|
ChannelName: string | undefined;
|
|
@@ -382,12 +404,14 @@ export interface DescribeChannelResponse {
|
|
|
382
404
|
Tier?: string;
|
|
383
405
|
LogConfiguration: LogConfigurationForChannel | undefined;
|
|
384
406
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
407
|
+
Audiences?: string[];
|
|
385
408
|
}
|
|
386
409
|
export interface GetChannelScheduleRequest {
|
|
387
410
|
ChannelName: string | undefined;
|
|
388
411
|
DurationMinutes?: string;
|
|
389
412
|
MaxResults?: number;
|
|
390
413
|
NextToken?: string;
|
|
414
|
+
Audience?: string;
|
|
391
415
|
}
|
|
392
416
|
export interface GetChannelScheduleResponse {
|
|
393
417
|
Items?: ScheduleEntry[];
|
|
@@ -401,9 +425,6 @@ export interface ListChannelsResponse {
|
|
|
401
425
|
Items?: Channel[];
|
|
402
426
|
NextToken?: string;
|
|
403
427
|
}
|
|
404
|
-
export interface ClipRange {
|
|
405
|
-
EndOffsetMillis: number | undefined;
|
|
406
|
-
}
|
|
407
428
|
export declare const RelativePosition: {
|
|
408
429
|
readonly AFTER_PROGRAM: "AFTER_PROGRAM";
|
|
409
430
|
readonly BEFORE_PROGRAM: "BEFORE_PROGRAM";
|
|
@@ -429,6 +450,7 @@ export interface CreateProgramRequest {
|
|
|
429
450
|
ScheduleConfiguration: ScheduleConfiguration | undefined;
|
|
430
451
|
SourceLocationName: string | undefined;
|
|
431
452
|
VodSourceName?: string;
|
|
453
|
+
AudienceMedia?: AudienceMedia[];
|
|
432
454
|
}
|
|
433
455
|
export interface CreateProgramResponse {
|
|
434
456
|
AdBreaks?: AdBreak[];
|
|
@@ -442,6 +464,7 @@ export interface CreateProgramResponse {
|
|
|
442
464
|
VodSourceName?: string;
|
|
443
465
|
ClipRange?: ClipRange;
|
|
444
466
|
DurationMillis?: number;
|
|
467
|
+
AudienceMedia?: AudienceMedia[];
|
|
445
468
|
}
|
|
446
469
|
export interface DeleteProgramRequest {
|
|
447
470
|
ChannelName: string | undefined;
|
|
@@ -464,6 +487,7 @@ export interface DescribeProgramResponse {
|
|
|
464
487
|
VodSourceName?: string;
|
|
465
488
|
ClipRange?: ClipRange;
|
|
466
489
|
DurationMillis?: number;
|
|
490
|
+
AudienceMedia?: AudienceMedia[];
|
|
467
491
|
}
|
|
468
492
|
export interface UpdateProgramTransition {
|
|
469
493
|
ScheduledStartTimeMillis?: number;
|
|
@@ -478,6 +502,7 @@ export interface UpdateProgramRequest {
|
|
|
478
502
|
ChannelName: string | undefined;
|
|
479
503
|
ProgramName: string | undefined;
|
|
480
504
|
ScheduleConfiguration: UpdateProgramScheduleConfiguration | undefined;
|
|
505
|
+
AudienceMedia?: AudienceMedia[];
|
|
481
506
|
}
|
|
482
507
|
export interface UpdateProgramResponse {
|
|
483
508
|
AdBreaks?: AdBreak[];
|
|
@@ -491,6 +516,7 @@ export interface UpdateProgramResponse {
|
|
|
491
516
|
ClipRange?: ClipRange;
|
|
492
517
|
DurationMillis?: number;
|
|
493
518
|
ScheduledStartTime?: Date;
|
|
519
|
+
AudienceMedia?: AudienceMedia[];
|
|
494
520
|
}
|
|
495
521
|
export interface StartChannelRequest {
|
|
496
522
|
ChannelName: string | undefined;
|
|
@@ -505,6 +531,7 @@ export interface UpdateChannelRequest {
|
|
|
505
531
|
FillerSlate?: SlateSource;
|
|
506
532
|
Outputs: RequestOutputItem[] | undefined;
|
|
507
533
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
534
|
+
Audiences?: string[];
|
|
508
535
|
}
|
|
509
536
|
export interface UpdateChannelResponse {
|
|
510
537
|
Arn?: string;
|
|
@@ -518,6 +545,7 @@ export interface UpdateChannelResponse {
|
|
|
518
545
|
Tags?: Record<string, string>;
|
|
519
546
|
Tier?: string;
|
|
520
547
|
TimeShiftConfiguration?: TimeShiftConfiguration;
|
|
548
|
+
Audiences?: string[];
|
|
521
549
|
}
|
|
522
550
|
export interface ConfigureLogsForPlaybackConfigurationRequest {
|
|
523
551
|
PercentEnabled: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediatailor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediatailor",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|