@aws-sdk/client-mediatailor 3.533.0 → 3.536.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 +17 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +15 -0
- package/dist-types/MediaTailor.d.ts +4 -1
- package/dist-types/MediaTailorClient.d.ts +1 -1
- package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +2 -1
- package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +8 -1
- package/dist-types/commands/CreateLiveSourceCommand.d.ts +2 -1
- package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +2 -1
- package/dist-types/commands/CreateProgramCommand.d.ts +114 -3
- package/dist-types/commands/CreateSourceLocationCommand.d.ts +2 -1
- package/dist-types/commands/CreateVodSourceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +2 -1
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLiveSourceCommand.d.ts +2 -1
- package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProgramCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSourceLocationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteVodSourceCommand.d.ts +2 -1
- package/dist-types/commands/DescribeChannelCommand.d.ts +5 -1
- package/dist-types/commands/DescribeLiveSourceCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProgramCommand.d.ts +58 -2
- package/dist-types/commands/DescribeSourceLocationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVodSourceCommand.d.ts +2 -1
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetChannelScheduleCommand.d.ts +7 -2
- package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +2 -1
- package/dist-types/commands/ListAlertsCommand.d.ts +2 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +5 -1
- package/dist-types/commands/ListLiveSourcesCommand.d.ts +2 -1
- package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +2 -1
- package/dist-types/commands/ListSourceLocationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListVodSourcesCommand.d.ts +2 -1
- package/dist-types/commands/PutChannelPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/StartChannelCommand.d.ts +2 -1
- package/dist-types/commands/StopChannelCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -1
- package/dist-types/commands/UpdateLiveSourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProgramCommand.d.ts +114 -3
- package/dist-types/commands/UpdateSourceLocationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateVodSourceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +691 -563
- package/dist-types/ts3.4/MediaTailor.d.ts +3 -0
- package/dist-types/ts3.4/commands/ConfigureLogsForChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateLiveSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateProgramCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -3
- package/package.json +40 -40
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";
|
|
@@ -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";
|
|
@@ -204,6 +204,7 @@ export interface MediaTailor {
|
|
|
204
204
|
/**
|
|
205
205
|
* @see {@link ListChannelsCommand}
|
|
206
206
|
*/
|
|
207
|
+
listChannels(): Promise<ListChannelsCommandOutput>;
|
|
207
208
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
208
209
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
209
210
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
@@ -216,6 +217,7 @@ export interface MediaTailor {
|
|
|
216
217
|
/**
|
|
217
218
|
* @see {@link ListPlaybackConfigurationsCommand}
|
|
218
219
|
*/
|
|
220
|
+
listPlaybackConfigurations(): Promise<ListPlaybackConfigurationsCommandOutput>;
|
|
219
221
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlaybackConfigurationsCommandOutput>;
|
|
220
222
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void): void;
|
|
221
223
|
listPlaybackConfigurations(args: ListPlaybackConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void): void;
|
|
@@ -228,6 +230,7 @@ export interface MediaTailor {
|
|
|
228
230
|
/**
|
|
229
231
|
* @see {@link ListSourceLocationsCommand}
|
|
230
232
|
*/
|
|
233
|
+
listSourceLocations(): Promise<ListSourceLocationsCommandOutput>;
|
|
231
234
|
listSourceLocations(args: ListSourceLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceLocationsCommandOutput>;
|
|
232
235
|
listSourceLocations(args: ListSourceLocationsCommandInput, cb: (err: any, data?: ListSourceLocationsCommandOutput) => void): void;
|
|
233
236
|
listSourceLocations(args: ListSourceLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceLocationsCommandOutput) => void): void;
|
|
@@ -311,9 +314,9 @@ export interface MediaTailor {
|
|
|
311
314
|
updateVodSource(args: UpdateVodSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVodSourceCommandOutput) => void): void;
|
|
312
315
|
}
|
|
313
316
|
/**
|
|
314
|
-
* @public
|
|
315
317
|
* <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p>
|
|
316
318
|
* <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
|
|
319
|
+
* @public
|
|
317
320
|
*/
|
|
318
321
|
export declare class MediaTailor extends MediaTailorClient implements MediaTailor {
|
|
319
322
|
}
|
|
@@ -195,9 +195,9 @@ export type MediaTailorClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
195
195
|
export interface MediaTailorClientResolvedConfig extends MediaTailorClientResolvedConfigType {
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
* @public
|
|
199
198
|
* <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p>
|
|
200
199
|
* <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
|
|
200
|
+
* @public
|
|
201
201
|
*/
|
|
202
202
|
export declare class MediaTailorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MediaTailorClientResolvedConfig> {
|
|
203
203
|
/**
|
|
@@ -22,10 +22,10 @@ export interface ConfigureLogsForChannelCommandOutput extends ConfigureLogsForCh
|
|
|
22
22
|
}
|
|
23
23
|
declare const ConfigureLogsForChannelCommand_base: {
|
|
24
24
|
new (input: ConfigureLogsForChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForChannelCommandInput, ConfigureLogsForChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ConfigureLogsForChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForChannelCommandInput, ConfigureLogsForChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Configures Amazon CloudWatch log settings for a channel.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -59,6 +59,7 @@ declare const ConfigureLogsForChannelCommand_base: {
|
|
|
59
59
|
* @throws {@link MediaTailorServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
61
61
|
*
|
|
62
|
+
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class ConfigureLogsForChannelCommand extends ConfigureLogsForChannelCommand_base {
|
|
64
65
|
}
|
|
@@ -22,10 +22,10 @@ export interface ConfigureLogsForPlaybackConfigurationCommandOutput extends Conf
|
|
|
22
22
|
}
|
|
23
23
|
declare const ConfigureLogsForPlaybackConfigurationCommand_base: {
|
|
24
24
|
new (input: ConfigureLogsForPlaybackConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ConfigureLogsForPlaybackConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Amazon CloudWatch log settings for a playback configuration.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -55,6 +55,7 @@ declare const ConfigureLogsForPlaybackConfigurationCommand_base: {
|
|
|
55
55
|
* @throws {@link MediaTailorServiceException}
|
|
56
56
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
57
57
|
*
|
|
58
|
+
* @public
|
|
58
59
|
*/
|
|
59
60
|
export declare class ConfigureLogsForPlaybackConfigurationCommand extends ConfigureLogsForPlaybackConfigurationCommand_base {
|
|
60
61
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateChannelCommand_base: {
|
|
24
24
|
new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -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
|
* ```
|
|
@@ -118,6 +124,7 @@ declare const CreateChannelCommand_base: {
|
|
|
118
124
|
* @throws {@link MediaTailorServiceException}
|
|
119
125
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
120
126
|
*
|
|
127
|
+
* @public
|
|
121
128
|
*/
|
|
122
129
|
export declare class CreateChannelCommand extends CreateChannelCommand_base {
|
|
123
130
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateLiveSourceCommandOutput extends CreateLiveSourceResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateLiveSourceCommand_base: {
|
|
24
24
|
new (input: CreateLiveSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLiveSourceCommandInput, CreateLiveSourceCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateLiveSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLiveSourceCommandInput, CreateLiveSourceCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>The live source configuration.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,6 +78,7 @@ declare const CreateLiveSourceCommand_base: {
|
|
|
78
78
|
* @throws {@link MediaTailorServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class CreateLiveSourceCommand extends CreateLiveSourceCommand_base {
|
|
83
84
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreatePrefetchScheduleCommandOutput extends CreatePrefetchSched
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreatePrefetchScheduleCommand_base: {
|
|
24
24
|
new (input: CreatePrefetchScheduleCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePrefetchScheduleCommandInput, CreatePrefetchScheduleCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreatePrefetchScheduleCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePrefetchScheduleCommandInput, CreatePrefetchScheduleCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Using ad prefetching</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -92,6 +92,7 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
92
92
|
* @throws {@link MediaTailorServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
94
94
|
*
|
|
95
|
+
* @public
|
|
95
96
|
*/
|
|
96
97
|
export declare class CreatePrefetchScheduleCommand extends CreatePrefetchScheduleCommand_base {
|
|
97
98
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateProgramCommandOutput extends CreateProgramResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateProgramCommand_base: {
|
|
24
24
|
new (input: CreateProgramCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProgramCommandInput, CreateProgramCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateProgramCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProgramCommandInput, CreateProgramCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a program within a channel. For information about programs, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-programs.html">Working with programs</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -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
|
* ```
|
|
@@ -152,6 +262,7 @@ declare const CreateProgramCommand_base: {
|
|
|
152
262
|
* @throws {@link MediaTailorServiceException}
|
|
153
263
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
154
264
|
*
|
|
265
|
+
* @public
|
|
155
266
|
*/
|
|
156
267
|
export declare class CreateProgramCommand extends CreateProgramCommand_base {
|
|
157
268
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateSourceLocationCommandOutput extends CreateSourceLocationR
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateSourceLocationCommand_base: {
|
|
24
24
|
new (input: CreateSourceLocationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateSourceLocationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a source location. A source location is a container for sources. For more information about source locations, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-source-locations.html">Working with source locations</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -102,6 +102,7 @@ declare const CreateSourceLocationCommand_base: {
|
|
|
102
102
|
* @throws {@link MediaTailorServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
104
104
|
*
|
|
105
|
+
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class CreateSourceLocationCommand extends CreateSourceLocationCommand_base {
|
|
107
108
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateVodSourceCommandOutput extends CreateVodSourceResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateVodSourceCommand_base: {
|
|
24
24
|
new (input: CreateVodSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVodSourceCommandInput, CreateVodSourceCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateVodSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVodSourceCommandInput, CreateVodSourceCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>The VOD source configuration parameters.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,6 +78,7 @@ declare const CreateVodSourceCommand_base: {
|
|
|
78
78
|
* @throws {@link MediaTailorServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class CreateVodSourceCommand extends CreateVodSourceCommand_base {
|
|
83
84
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteChannelCommand_base: {
|
|
24
24
|
new (input: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelCommandInput, DeleteChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelCommandInput, DeleteChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -51,6 +51,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
51
51
|
* @throws {@link MediaTailorServiceException}
|
|
52
52
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
53
53
|
*
|
|
54
|
+
* @public
|
|
54
55
|
*/
|
|
55
56
|
export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
|
|
56
57
|
}
|