@aws-sdk/client-mediapackagev2 3.592.0 → 3.597.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +27 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +11 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +10 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +9 -4
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +1 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +172 -5
- package/dist-types/ts3.4/models/models_0.d.ts +30 -1
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -41,11 +41,13 @@ __export(src_exports, {
|
|
|
41
41
|
DeleteOriginEndpointCommand: () => DeleteOriginEndpointCommand,
|
|
42
42
|
DeleteOriginEndpointPolicyCommand: () => DeleteOriginEndpointPolicyCommand,
|
|
43
43
|
DrmSystem: () => DrmSystem,
|
|
44
|
+
EndpointErrorCondition: () => EndpointErrorCondition,
|
|
44
45
|
GetChannelCommand: () => GetChannelCommand,
|
|
45
46
|
GetChannelGroupCommand: () => GetChannelGroupCommand,
|
|
46
47
|
GetChannelPolicyCommand: () => GetChannelPolicyCommand,
|
|
47
48
|
GetOriginEndpointCommand: () => GetOriginEndpointCommand,
|
|
48
49
|
GetOriginEndpointPolicyCommand: () => GetOriginEndpointPolicyCommand,
|
|
50
|
+
InputType: () => InputType,
|
|
49
51
|
InternalServerException: () => InternalServerException,
|
|
50
52
|
ListChannelGroupsCommand: () => ListChannelGroupsCommand,
|
|
51
53
|
ListChannelsCommand: () => ListChannelsCommand,
|
|
@@ -365,10 +367,12 @@ var ValidationExceptionType = {
|
|
|
365
367
|
NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
|
|
366
368
|
NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
|
|
367
369
|
NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
|
|
370
|
+
ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
|
|
368
371
|
PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
|
|
369
372
|
ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
|
|
370
373
|
ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
|
|
371
374
|
ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
|
|
375
|
+
SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
|
|
372
376
|
TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
|
|
373
377
|
TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
|
|
374
378
|
UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
|
|
@@ -425,6 +429,10 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends MediaP
|
|
|
425
429
|
};
|
|
426
430
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
427
431
|
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
432
|
+
var InputType = {
|
|
433
|
+
CMAF: "CMAF",
|
|
434
|
+
HLS: "HLS"
|
|
435
|
+
};
|
|
428
436
|
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MediaPackageV2ServiceException {
|
|
429
437
|
/**
|
|
430
438
|
* @internal
|
|
@@ -467,6 +475,12 @@ var DashUtcTimingMode = {
|
|
|
467
475
|
HTTP_XSDATE: "HTTP_XSDATE",
|
|
468
476
|
UTC_DIRECT: "UTC_DIRECT"
|
|
469
477
|
};
|
|
478
|
+
var EndpointErrorCondition = {
|
|
479
|
+
INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST",
|
|
480
|
+
MISSING_DRM_KEY: "MISSING_DRM_KEY",
|
|
481
|
+
SLATE_INPUT: "SLATE_INPUT",
|
|
482
|
+
STALE_MANIFEST: "STALE_MANIFEST"
|
|
483
|
+
};
|
|
470
484
|
var CmafEncryptionMethod = {
|
|
471
485
|
CBCS: "CBCS",
|
|
472
486
|
CENC: "CENC"
|
|
@@ -526,6 +540,7 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
526
540
|
(0, import_smithy_client.take)(input, {
|
|
527
541
|
ChannelName: [],
|
|
528
542
|
Description: [],
|
|
543
|
+
InputType: [],
|
|
529
544
|
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
530
545
|
})
|
|
531
546
|
);
|
|
@@ -565,6 +580,7 @@ var se_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
565
580
|
ContainerType: [],
|
|
566
581
|
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
567
582
|
Description: [],
|
|
583
|
+
ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
568
584
|
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
569
585
|
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
570
586
|
OriginEndpointName: [],
|
|
@@ -843,6 +859,7 @@ var se_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
843
859
|
ContainerType: [],
|
|
844
860
|
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
845
861
|
Description: [],
|
|
862
|
+
ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
846
863
|
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
847
864
|
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
848
865
|
Segment: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -868,6 +885,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
868
885
|
Description: import_smithy_client.expectString,
|
|
869
886
|
ETag: import_smithy_client.expectString,
|
|
870
887
|
IngestEndpoints: import_smithy_client._json,
|
|
888
|
+
InputType: import_smithy_client.expectString,
|
|
871
889
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
872
890
|
Tags: import_smithy_client._json
|
|
873
891
|
});
|
|
@@ -912,6 +930,7 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
912
930
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
913
931
|
Description: import_smithy_client.expectString,
|
|
914
932
|
ETag: import_smithy_client.expectString,
|
|
933
|
+
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
915
934
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
916
935
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
917
936
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -989,6 +1008,7 @@ var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
989
1008
|
Description: import_smithy_client.expectString,
|
|
990
1009
|
ETag: import_smithy_client.expectString,
|
|
991
1010
|
IngestEndpoints: import_smithy_client._json,
|
|
1011
|
+
InputType: import_smithy_client.expectString,
|
|
992
1012
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
993
1013
|
Tags: import_smithy_client._json
|
|
994
1014
|
});
|
|
@@ -1049,6 +1069,7 @@ var de_GetOriginEndpointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1049
1069
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
1050
1070
|
Description: import_smithy_client.expectString,
|
|
1051
1071
|
ETag: import_smithy_client.expectString,
|
|
1072
|
+
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1052
1073
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
1053
1074
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
1054
1075
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1192,6 +1213,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1192
1213
|
Description: import_smithy_client.expectString,
|
|
1193
1214
|
ETag: import_smithy_client.expectString,
|
|
1194
1215
|
IngestEndpoints: import_smithy_client._json,
|
|
1216
|
+
InputType: import_smithy_client.expectString,
|
|
1195
1217
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1196
1218
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1197
1219
|
});
|
|
@@ -1236,6 +1258,7 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1236
1258
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
1237
1259
|
Description: import_smithy_client.expectString,
|
|
1238
1260
|
ETag: import_smithy_client.expectString,
|
|
1261
|
+
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1239
1262
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
1240
1263
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
1241
1264
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1465,6 +1488,7 @@ var de_ChannelListConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
1465
1488
|
ChannelName: import_smithy_client.expectString,
|
|
1466
1489
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1467
1490
|
Description: import_smithy_client.expectString,
|
|
1491
|
+
InputType: import_smithy_client.expectString,
|
|
1468
1492
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1469
1493
|
});
|
|
1470
1494
|
}, "de_ChannelListConfiguration");
|
|
@@ -1541,6 +1565,7 @@ var de_OriginEndpointListConfiguration = /* @__PURE__ */ __name((output, context
|
|
|
1541
1565
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1542
1566
|
DashManifests: import_smithy_client._json,
|
|
1543
1567
|
Description: import_smithy_client.expectString,
|
|
1568
|
+
ForceEndpointErrorConfiguration: import_smithy_client._json,
|
|
1544
1569
|
HlsManifests: import_smithy_client._json,
|
|
1545
1570
|
LowLatencyHlsManifests: import_smithy_client._json,
|
|
1546
1571
|
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -2042,12 +2067,14 @@ var paginateListOriginEndpoints = (0, import_core.createPaginator)(MediaPackageV
|
|
|
2042
2067
|
ValidationException,
|
|
2043
2068
|
ResourceTypeNotFound,
|
|
2044
2069
|
ResourceNotFoundException,
|
|
2070
|
+
InputType,
|
|
2045
2071
|
ServiceQuotaExceededException,
|
|
2046
2072
|
ContainerType,
|
|
2047
2073
|
DashDrmSignaling,
|
|
2048
2074
|
DashPeriodTrigger,
|
|
2049
2075
|
DashSegmentTemplateFormat,
|
|
2050
2076
|
DashUtcTimingMode,
|
|
2077
|
+
EndpointErrorCondition,
|
|
2051
2078
|
CmafEncryptionMethod,
|
|
2052
2079
|
TsEncryptionMethod,
|
|
2053
2080
|
DrmSystem,
|
|
@@ -95,10 +95,12 @@ export const ValidationExceptionType = {
|
|
|
95
95
|
NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
|
|
96
96
|
NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
|
|
97
97
|
NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
|
|
98
|
+
ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
|
|
98
99
|
PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
|
|
99
100
|
ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
|
|
100
101
|
ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
|
|
101
102
|
ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
|
|
103
|
+
SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
|
|
102
104
|
TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
|
|
103
105
|
TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
|
|
104
106
|
UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
|
|
@@ -145,6 +147,10 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
145
147
|
this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
|
|
146
148
|
}
|
|
147
149
|
}
|
|
150
|
+
export const InputType = {
|
|
151
|
+
CMAF: "CMAF",
|
|
152
|
+
HLS: "HLS",
|
|
153
|
+
};
|
|
148
154
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
149
155
|
constructor(opts) {
|
|
150
156
|
super({
|
|
@@ -182,6 +188,12 @@ export const DashUtcTimingMode = {
|
|
|
182
188
|
HTTP_XSDATE: "HTTP_XSDATE",
|
|
183
189
|
UTC_DIRECT: "UTC_DIRECT",
|
|
184
190
|
};
|
|
191
|
+
export const EndpointErrorCondition = {
|
|
192
|
+
INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST",
|
|
193
|
+
MISSING_DRM_KEY: "MISSING_DRM_KEY",
|
|
194
|
+
SLATE_INPUT: "SLATE_INPUT",
|
|
195
|
+
STALE_MANIFEST: "STALE_MANIFEST",
|
|
196
|
+
};
|
|
185
197
|
export const CmafEncryptionMethod = {
|
|
186
198
|
CBCS: "CBCS",
|
|
187
199
|
CENC: "CENC",
|
|
@@ -15,6 +15,7 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
15
15
|
body = JSON.stringify(take(input, {
|
|
16
16
|
ChannelName: [],
|
|
17
17
|
Description: [],
|
|
18
|
+
InputType: [],
|
|
18
19
|
tags: [, (_) => _json(_), `Tags`],
|
|
19
20
|
}));
|
|
20
21
|
b.m("POST").h(headers).b(body);
|
|
@@ -50,6 +51,7 @@ export const se_CreateOriginEndpointCommand = async (input, context) => {
|
|
|
50
51
|
ContainerType: [],
|
|
51
52
|
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
52
53
|
Description: [],
|
|
54
|
+
ForceEndpointErrorConfiguration: (_) => _json(_),
|
|
53
55
|
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
54
56
|
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
55
57
|
OriginEndpointName: [],
|
|
@@ -316,6 +318,7 @@ export const se_UpdateOriginEndpointCommand = async (input, context) => {
|
|
|
316
318
|
ContainerType: [],
|
|
317
319
|
DashManifests: (_) => se_CreateDashManifests(_, context),
|
|
318
320
|
Description: [],
|
|
321
|
+
ForceEndpointErrorConfiguration: (_) => _json(_),
|
|
319
322
|
HlsManifests: (_) => se_CreateHlsManifests(_, context),
|
|
320
323
|
LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
|
|
321
324
|
Segment: (_) => _json(_),
|
|
@@ -340,6 +343,7 @@ export const de_CreateChannelCommand = async (output, context) => {
|
|
|
340
343
|
Description: __expectString,
|
|
341
344
|
ETag: __expectString,
|
|
342
345
|
IngestEndpoints: _json,
|
|
346
|
+
InputType: __expectString,
|
|
343
347
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
344
348
|
Tags: _json,
|
|
345
349
|
});
|
|
@@ -384,6 +388,7 @@ export const de_CreateOriginEndpointCommand = async (output, context) => {
|
|
|
384
388
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
385
389
|
Description: __expectString,
|
|
386
390
|
ETag: __expectString,
|
|
391
|
+
ForceEndpointErrorConfiguration: _json,
|
|
387
392
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
388
393
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
389
394
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -461,6 +466,7 @@ export const de_GetChannelCommand = async (output, context) => {
|
|
|
461
466
|
Description: __expectString,
|
|
462
467
|
ETag: __expectString,
|
|
463
468
|
IngestEndpoints: _json,
|
|
469
|
+
InputType: __expectString,
|
|
464
470
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
465
471
|
Tags: _json,
|
|
466
472
|
});
|
|
@@ -521,6 +527,7 @@ export const de_GetOriginEndpointCommand = async (output, context) => {
|
|
|
521
527
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
522
528
|
Description: __expectString,
|
|
523
529
|
ETag: __expectString,
|
|
530
|
+
ForceEndpointErrorConfiguration: _json,
|
|
524
531
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
525
532
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
526
533
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -664,6 +671,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
|
|
|
664
671
|
Description: __expectString,
|
|
665
672
|
ETag: __expectString,
|
|
666
673
|
IngestEndpoints: _json,
|
|
674
|
+
InputType: __expectString,
|
|
667
675
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
668
676
|
Tags: [, _json, `tags`],
|
|
669
677
|
});
|
|
@@ -708,6 +716,7 @@ export const de_UpdateOriginEndpointCommand = async (output, context) => {
|
|
|
708
716
|
DashManifests: (_) => de_GetDashManifests(_, context),
|
|
709
717
|
Description: __expectString,
|
|
710
718
|
ETag: __expectString,
|
|
719
|
+
ForceEndpointErrorConfiguration: _json,
|
|
711
720
|
HlsManifests: (_) => de_GetHlsManifests(_, context),
|
|
712
721
|
LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
|
|
713
722
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -947,6 +956,7 @@ const de_ChannelListConfiguration = (output, context) => {
|
|
|
947
956
|
ChannelName: __expectString,
|
|
948
957
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
949
958
|
Description: __expectString,
|
|
959
|
+
InputType: __expectString,
|
|
950
960
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
951
961
|
});
|
|
952
962
|
};
|
|
@@ -1029,6 +1039,7 @@ const de_OriginEndpointListConfiguration = (output, context) => {
|
|
|
1029
1039
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1030
1040
|
DashManifests: _json,
|
|
1031
1041
|
Description: __expectString,
|
|
1042
|
+
ForceEndpointErrorConfiguration: _json,
|
|
1032
1043
|
HlsManifests: _json,
|
|
1033
1044
|
LowLatencyHlsManifests: _json,
|
|
1034
1045
|
ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -38,6 +38,7 @@ declare const CreateChannelCommand_base: {
|
|
|
38
38
|
* ChannelGroupName: "STRING_VALUE", // required
|
|
39
39
|
* ChannelName: "STRING_VALUE", // required
|
|
40
40
|
* ClientToken: "STRING_VALUE",
|
|
41
|
+
* InputType: "HLS" || "CMAF",
|
|
41
42
|
* Description: "STRING_VALUE",
|
|
42
43
|
* Tags: { // TagMap
|
|
43
44
|
* "<keys>": "STRING_VALUE",
|
|
@@ -58,6 +59,7 @@ declare const CreateChannelCommand_base: {
|
|
|
58
59
|
* // Url: "STRING_VALUE",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
62
|
+
* // InputType: "HLS" || "CMAF",
|
|
61
63
|
* // ETag: "STRING_VALUE",
|
|
62
64
|
* // Tags: { // TagMap
|
|
63
65
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -135,6 +135,11 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
137
137
|
* ],
|
|
138
|
+
* ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
139
|
+
* EndpointErrorConditions: [ // EndpointErrorConditions
|
|
140
|
+
* "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
138
143
|
* Tags: { // TagMap
|
|
139
144
|
* "<keys>": "STRING_VALUE",
|
|
140
145
|
* },
|
|
@@ -247,6 +252,11 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
247
252
|
* // },
|
|
248
253
|
* // },
|
|
249
254
|
* // ],
|
|
255
|
+
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
256
|
+
* // EndpointErrorConditions: [ // EndpointErrorConditions
|
|
257
|
+
* // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
258
|
+
* // ],
|
|
259
|
+
* // },
|
|
250
260
|
* // ETag: "STRING_VALUE",
|
|
251
261
|
* // Tags: { // TagMap
|
|
252
262
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -119,10 +119,6 @@ declare const GetOriginEndpointCommand_base: {
|
|
|
119
119
|
* // },
|
|
120
120
|
* // },
|
|
121
121
|
* // ],
|
|
122
|
-
* // ETag: "STRING_VALUE",
|
|
123
|
-
* // Tags: { // TagMap
|
|
124
|
-
* // "<keys>": "STRING_VALUE",
|
|
125
|
-
* // },
|
|
126
122
|
* // DashManifests: [ // GetDashManifests
|
|
127
123
|
* // { // GetDashManifestConfiguration
|
|
128
124
|
* // ManifestName: "STRING_VALUE", // required
|
|
@@ -151,6 +147,15 @@ declare const GetOriginEndpointCommand_base: {
|
|
|
151
147
|
* // },
|
|
152
148
|
* // },
|
|
153
149
|
* // ],
|
|
150
|
+
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
151
|
+
* // EndpointErrorConditions: [ // EndpointErrorConditions
|
|
152
|
+
* // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
155
|
+
* // ETag: "STRING_VALUE",
|
|
156
|
+
* // Tags: { // TagMap
|
|
157
|
+
* // "<keys>": "STRING_VALUE",
|
|
158
|
+
* // },
|
|
154
159
|
* // };
|
|
155
160
|
*
|
|
156
161
|
* ```
|
|
@@ -50,6 +50,7 @@ declare const ListChannelsCommand_base: {
|
|
|
50
50
|
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
51
51
|
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
|
+
* // InputType: "HLS" || "CMAF",
|
|
53
54
|
* // },
|
|
54
55
|
* // ],
|
|
55
56
|
* // NextToken: "STRING_VALUE",
|
|
@@ -73,6 +73,11 @@ declare const ListOriginEndpointsCommand_base: {
|
|
|
73
73
|
* // Url: "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
76
|
+
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
77
|
+
* // EndpointErrorConditions: [ // EndpointErrorConditions
|
|
78
|
+
* // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
76
81
|
* // },
|
|
77
82
|
* // ],
|
|
78
83
|
* // NextToken: "STRING_VALUE",
|
|
@@ -135,6 +135,11 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
137
137
|
* ],
|
|
138
|
+
* ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
139
|
+
* EndpointErrorConditions: [ // EndpointErrorConditions
|
|
140
|
+
* "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
138
143
|
* ETag: "STRING_VALUE",
|
|
139
144
|
* };
|
|
140
145
|
* const command = new UpdateOriginEndpointCommand(input);
|
|
@@ -217,6 +222,11 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
217
222
|
* // },
|
|
218
223
|
* // },
|
|
219
224
|
* // ],
|
|
225
|
+
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
|
|
226
|
+
* // EndpointErrorConditions: [ // EndpointErrorConditions
|
|
227
|
+
* // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
|
|
228
|
+
* // ],
|
|
229
|
+
* // },
|
|
220
230
|
* // ETag: "STRING_VALUE",
|
|
221
231
|
* // Tags: { // TagMap
|
|
222
232
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -179,10 +179,12 @@ export declare const ValidationExceptionType: {
|
|
|
179
179
|
readonly NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE";
|
|
180
180
|
readonly NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH";
|
|
181
181
|
readonly NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW";
|
|
182
|
+
readonly ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION";
|
|
182
183
|
readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
|
|
183
184
|
readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
|
|
184
185
|
readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
|
|
185
186
|
readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
|
|
187
|
+
readonly SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY";
|
|
186
188
|
readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
|
|
187
189
|
readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
|
|
188
190
|
readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
|
|
@@ -309,6 +311,18 @@ export interface PutChannelPolicyRequest {
|
|
|
309
311
|
*/
|
|
310
312
|
export interface PutChannelPolicyResponse {
|
|
311
313
|
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
* @enum
|
|
317
|
+
*/
|
|
318
|
+
export declare const InputType: {
|
|
319
|
+
readonly CMAF: "CMAF";
|
|
320
|
+
readonly HLS: "HLS";
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
export type InputType = (typeof InputType)[keyof typeof InputType];
|
|
312
326
|
/**
|
|
313
327
|
* @public
|
|
314
328
|
*/
|
|
@@ -328,6 +342,22 @@ export interface CreateChannelRequest {
|
|
|
328
342
|
* @public
|
|
329
343
|
*/
|
|
330
344
|
ClientToken?: string;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.</p>
|
|
347
|
+
* <p>The allowed values are:</p>
|
|
348
|
+
* <ul>
|
|
349
|
+
* <li>
|
|
350
|
+
* <p>
|
|
351
|
+
* <code>HLS</code> - The HLS streaming specification (which defines M3U8 manifests and TS segments).</p>
|
|
352
|
+
* </li>
|
|
353
|
+
* <li>
|
|
354
|
+
* <p>
|
|
355
|
+
* <code>CMAF</code> - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).</p>
|
|
356
|
+
* </li>
|
|
357
|
+
* </ul>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
InputType?: InputType;
|
|
331
361
|
/**
|
|
332
362
|
* <p>Enter any descriptive text that helps you to identify the channel.</p>
|
|
333
363
|
* @public
|
|
@@ -400,6 +430,22 @@ export interface CreateChannelResponse {
|
|
|
400
430
|
* @public
|
|
401
431
|
*/
|
|
402
432
|
IngestEndpoints?: IngestEndpoint[];
|
|
433
|
+
/**
|
|
434
|
+
* <p>The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.</p>
|
|
435
|
+
* <p>The allowed values are:</p>
|
|
436
|
+
* <ul>
|
|
437
|
+
* <li>
|
|
438
|
+
* <p>
|
|
439
|
+
* <code>HLS</code> - The HLS streaming specification (which defines M3U8 manifests and TS segments).</p>
|
|
440
|
+
* </li>
|
|
441
|
+
* <li>
|
|
442
|
+
* <p>
|
|
443
|
+
* <code>CMAF</code> - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).</p>
|
|
444
|
+
* </li>
|
|
445
|
+
* </ul>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
InputType?: InputType;
|
|
403
449
|
/**
|
|
404
450
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
405
451
|
* @public
|
|
@@ -498,6 +544,22 @@ export interface GetChannelResponse {
|
|
|
498
544
|
* @public
|
|
499
545
|
*/
|
|
500
546
|
IngestEndpoints?: IngestEndpoint[];
|
|
547
|
+
/**
|
|
548
|
+
* <p>The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.</p>
|
|
549
|
+
* <p>The allowed values are:</p>
|
|
550
|
+
* <ul>
|
|
551
|
+
* <li>
|
|
552
|
+
* <p>
|
|
553
|
+
* <code>HLS</code> - The HLS streaming specification (which defines M3U8 manifests and TS segments).</p>
|
|
554
|
+
* </li>
|
|
555
|
+
* <li>
|
|
556
|
+
* <p>
|
|
557
|
+
* <code>CMAF</code> - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).</p>
|
|
558
|
+
* </li>
|
|
559
|
+
* </ul>
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
InputType?: InputType;
|
|
501
563
|
/**
|
|
502
564
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
503
565
|
* @public
|
|
@@ -564,6 +626,22 @@ export interface ChannelListConfiguration {
|
|
|
564
626
|
* @public
|
|
565
627
|
*/
|
|
566
628
|
Description?: string;
|
|
629
|
+
/**
|
|
630
|
+
* <p>The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.</p>
|
|
631
|
+
* <p>The allowed values are:</p>
|
|
632
|
+
* <ul>
|
|
633
|
+
* <li>
|
|
634
|
+
* <p>
|
|
635
|
+
* <code>HLS</code> - The HLS streaming specification (which defines M3U8 manifests and TS segments).</p>
|
|
636
|
+
* </li>
|
|
637
|
+
* <li>
|
|
638
|
+
* <p>
|
|
639
|
+
* <code>CMAF</code> - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).</p>
|
|
640
|
+
* </li>
|
|
641
|
+
* </ul>
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
InputType?: InputType;
|
|
567
645
|
}
|
|
568
646
|
/**
|
|
569
647
|
* @public
|
|
@@ -777,6 +855,49 @@ export interface CreateDashManifestConfiguration {
|
|
|
777
855
|
*/
|
|
778
856
|
UtcTiming?: DashUtcTiming;
|
|
779
857
|
}
|
|
858
|
+
/**
|
|
859
|
+
* @public
|
|
860
|
+
* @enum
|
|
861
|
+
*/
|
|
862
|
+
export declare const EndpointErrorCondition: {
|
|
863
|
+
readonly INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST";
|
|
864
|
+
readonly MISSING_DRM_KEY: "MISSING_DRM_KEY";
|
|
865
|
+
readonly SLATE_INPUT: "SLATE_INPUT";
|
|
866
|
+
readonly STALE_MANIFEST: "STALE_MANIFEST";
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
export type EndpointErrorCondition = (typeof EndpointErrorCondition)[keyof typeof EndpointErrorCondition];
|
|
872
|
+
/**
|
|
873
|
+
* <p>The failover settings for the endpoint.</p>
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
export interface ForceEndpointErrorConfiguration {
|
|
877
|
+
/**
|
|
878
|
+
* <p>The failover conditions for the endpoint. The options are:</p>
|
|
879
|
+
* <ul>
|
|
880
|
+
* <li>
|
|
881
|
+
* <p>
|
|
882
|
+
* <code>STALE_MANIFEST</code> - The manifest stalled and there are no new segments or parts.</p>
|
|
883
|
+
* </li>
|
|
884
|
+
* <li>
|
|
885
|
+
* <p>
|
|
886
|
+
* <code>INCOMPLETE_MANIFEST</code> - There is a gap in the manifest.</p>
|
|
887
|
+
* </li>
|
|
888
|
+
* <li>
|
|
889
|
+
* <p>
|
|
890
|
+
* <code>MISSING_DRM_KEY</code> - Key rotation is enabled but we're unable to fetch the key for the current key period.</p>
|
|
891
|
+
* </li>
|
|
892
|
+
* <li>
|
|
893
|
+
* <p>
|
|
894
|
+
* <code>SLATE_INPUT</code> - The segments which contain slate content are considered to be missing content.</p>
|
|
895
|
+
* </li>
|
|
896
|
+
* </ul>
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
EndpointErrorConditions?: EndpointErrorCondition[];
|
|
900
|
+
}
|
|
780
901
|
/**
|
|
781
902
|
* <p>The SCTE configuration.</p>
|
|
782
903
|
* @public
|
|
@@ -1250,6 +1371,11 @@ export interface CreateOriginEndpointRequest {
|
|
|
1250
1371
|
* @public
|
|
1251
1372
|
*/
|
|
1252
1373
|
DashManifests?: CreateDashManifestConfiguration[];
|
|
1374
|
+
/**
|
|
1375
|
+
* <p>The failover settings for the endpoint.</p>
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
1253
1379
|
/**
|
|
1254
1380
|
* <p>A comma-separated list of tag key:value pairs that you define. For example:</p>
|
|
1255
1381
|
* <p>
|
|
@@ -1495,6 +1621,11 @@ export interface CreateOriginEndpointResponse {
|
|
|
1495
1621
|
* @public
|
|
1496
1622
|
*/
|
|
1497
1623
|
DashManifests?: GetDashManifestConfiguration[];
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>The failover settings for the endpoint.</p>
|
|
1626
|
+
* @public
|
|
1627
|
+
*/
|
|
1628
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
1498
1629
|
/**
|
|
1499
1630
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
1500
1631
|
* @public
|
|
@@ -1615,6 +1746,16 @@ export interface GetOriginEndpointResponse {
|
|
|
1615
1746
|
* @public
|
|
1616
1747
|
*/
|
|
1617
1748
|
LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
|
|
1749
|
+
/**
|
|
1750
|
+
* <p>A DASH manifest configuration.</p>
|
|
1751
|
+
* @public
|
|
1752
|
+
*/
|
|
1753
|
+
DashManifests?: GetDashManifestConfiguration[];
|
|
1754
|
+
/**
|
|
1755
|
+
* <p>The failover settings for the endpoint.</p>
|
|
1756
|
+
* @public
|
|
1757
|
+
*/
|
|
1758
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
1618
1759
|
/**
|
|
1619
1760
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
1620
1761
|
* @public
|
|
@@ -1625,11 +1766,6 @@ export interface GetOriginEndpointResponse {
|
|
|
1625
1766
|
* @public
|
|
1626
1767
|
*/
|
|
1627
1768
|
Tags?: Record<string, string>;
|
|
1628
|
-
/**
|
|
1629
|
-
* <p>A DASH manifest configuration.</p>
|
|
1630
|
-
* @public
|
|
1631
|
-
*/
|
|
1632
|
-
DashManifests?: GetDashManifestConfiguration[];
|
|
1633
1769
|
}
|
|
1634
1770
|
/**
|
|
1635
1771
|
* @public
|
|
@@ -1774,6 +1910,11 @@ export interface OriginEndpointListConfiguration {
|
|
|
1774
1910
|
* @public
|
|
1775
1911
|
*/
|
|
1776
1912
|
DashManifests?: ListDashManifestConfiguration[];
|
|
1913
|
+
/**
|
|
1914
|
+
* <p>The failover settings for the endpoint.</p>
|
|
1915
|
+
* @public
|
|
1916
|
+
*/
|
|
1917
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
1777
1918
|
}
|
|
1778
1919
|
/**
|
|
1779
1920
|
* @public
|
|
@@ -1944,6 +2085,11 @@ export interface UpdateOriginEndpointRequest {
|
|
|
1944
2085
|
* @public
|
|
1945
2086
|
*/
|
|
1946
2087
|
DashManifests?: CreateDashManifestConfiguration[];
|
|
2088
|
+
/**
|
|
2089
|
+
* <p>The failover settings for the endpoint.</p>
|
|
2090
|
+
* @public
|
|
2091
|
+
*/
|
|
2092
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
1947
2093
|
/**
|
|
1948
2094
|
* <p>The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.</p>
|
|
1949
2095
|
* @public
|
|
@@ -2014,6 +2160,11 @@ export interface UpdateOriginEndpointResponse {
|
|
|
2014
2160
|
* @public
|
|
2015
2161
|
*/
|
|
2016
2162
|
LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
|
|
2163
|
+
/**
|
|
2164
|
+
* <p>The failover settings for the endpoint.</p>
|
|
2165
|
+
* @public
|
|
2166
|
+
*/
|
|
2167
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
2017
2168
|
/**
|
|
2018
2169
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
2019
2170
|
* @public
|
|
@@ -2094,6 +2245,22 @@ export interface UpdateChannelResponse {
|
|
|
2094
2245
|
* @public
|
|
2095
2246
|
*/
|
|
2096
2247
|
IngestEndpoints?: IngestEndpoint[];
|
|
2248
|
+
/**
|
|
2249
|
+
* <p>The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.</p>
|
|
2250
|
+
* <p>The allowed values are:</p>
|
|
2251
|
+
* <ul>
|
|
2252
|
+
* <li>
|
|
2253
|
+
* <p>
|
|
2254
|
+
* <code>HLS</code> - The HLS streaming specification (which defines M3U8 manifests and TS segments).</p>
|
|
2255
|
+
* </li>
|
|
2256
|
+
* <li>
|
|
2257
|
+
* <p>
|
|
2258
|
+
* <code>CMAF</code> - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).</p>
|
|
2259
|
+
* </li>
|
|
2260
|
+
* </ul>
|
|
2261
|
+
* @public
|
|
2262
|
+
*/
|
|
2263
|
+
InputType?: InputType;
|
|
2097
2264
|
/**
|
|
2098
2265
|
* <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
|
|
2099
2266
|
* @public
|
|
@@ -90,10 +90,12 @@ export declare const ValidationExceptionType: {
|
|
|
90
90
|
readonly NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE";
|
|
91
91
|
readonly NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH";
|
|
92
92
|
readonly NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW";
|
|
93
|
+
readonly ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION";
|
|
93
94
|
readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
|
|
94
95
|
readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
|
|
95
96
|
readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
|
|
96
97
|
readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
|
|
98
|
+
readonly SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY";
|
|
97
99
|
readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
|
|
98
100
|
readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
|
|
99
101
|
readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
|
|
@@ -149,10 +151,16 @@ export interface PutChannelPolicyRequest {
|
|
|
149
151
|
Policy: string | undefined;
|
|
150
152
|
}
|
|
151
153
|
export interface PutChannelPolicyResponse {}
|
|
154
|
+
export declare const InputType: {
|
|
155
|
+
readonly CMAF: "CMAF";
|
|
156
|
+
readonly HLS: "HLS";
|
|
157
|
+
};
|
|
158
|
+
export type InputType = (typeof InputType)[keyof typeof InputType];
|
|
152
159
|
export interface CreateChannelRequest {
|
|
153
160
|
ChannelGroupName: string | undefined;
|
|
154
161
|
ChannelName: string | undefined;
|
|
155
162
|
ClientToken?: string;
|
|
163
|
+
InputType?: InputType;
|
|
156
164
|
Description?: string;
|
|
157
165
|
Tags?: Record<string, string>;
|
|
158
166
|
}
|
|
@@ -168,6 +176,7 @@ export interface CreateChannelResponse {
|
|
|
168
176
|
ModifiedAt: Date | undefined;
|
|
169
177
|
Description?: string;
|
|
170
178
|
IngestEndpoints?: IngestEndpoint[];
|
|
179
|
+
InputType?: InputType;
|
|
171
180
|
ETag?: string;
|
|
172
181
|
Tags?: Record<string, string>;
|
|
173
182
|
}
|
|
@@ -196,6 +205,7 @@ export interface GetChannelResponse {
|
|
|
196
205
|
ModifiedAt: Date | undefined;
|
|
197
206
|
Description?: string;
|
|
198
207
|
IngestEndpoints?: IngestEndpoint[];
|
|
208
|
+
InputType?: InputType;
|
|
199
209
|
ETag?: string;
|
|
200
210
|
Tags?: Record<string, string>;
|
|
201
211
|
}
|
|
@@ -211,6 +221,7 @@ export interface ChannelListConfiguration {
|
|
|
211
221
|
CreatedAt: Date | undefined;
|
|
212
222
|
ModifiedAt: Date | undefined;
|
|
213
223
|
Description?: string;
|
|
224
|
+
InputType?: InputType;
|
|
214
225
|
}
|
|
215
226
|
export interface ListChannelsResponse {
|
|
216
227
|
Items?: ChannelListConfiguration[];
|
|
@@ -275,6 +286,17 @@ export interface CreateDashManifestConfiguration {
|
|
|
275
286
|
DrmSignaling?: DashDrmSignaling;
|
|
276
287
|
UtcTiming?: DashUtcTiming;
|
|
277
288
|
}
|
|
289
|
+
export declare const EndpointErrorCondition: {
|
|
290
|
+
readonly INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST";
|
|
291
|
+
readonly MISSING_DRM_KEY: "MISSING_DRM_KEY";
|
|
292
|
+
readonly SLATE_INPUT: "SLATE_INPUT";
|
|
293
|
+
readonly STALE_MANIFEST: "STALE_MANIFEST";
|
|
294
|
+
};
|
|
295
|
+
export type EndpointErrorCondition =
|
|
296
|
+
(typeof EndpointErrorCondition)[keyof typeof EndpointErrorCondition];
|
|
297
|
+
export interface ForceEndpointErrorConfiguration {
|
|
298
|
+
EndpointErrorConditions?: EndpointErrorCondition[];
|
|
299
|
+
}
|
|
278
300
|
export interface ScteHls {
|
|
279
301
|
AdMarkerHls?: AdMarkerHls;
|
|
280
302
|
}
|
|
@@ -393,6 +415,7 @@ export interface CreateOriginEndpointRequest {
|
|
|
393
415
|
HlsManifests?: CreateHlsManifestConfiguration[];
|
|
394
416
|
LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
|
|
395
417
|
DashManifests?: CreateDashManifestConfiguration[];
|
|
418
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
396
419
|
Tags?: Record<string, string>;
|
|
397
420
|
}
|
|
398
421
|
export interface GetDashManifestConfiguration {
|
|
@@ -441,6 +464,7 @@ export interface CreateOriginEndpointResponse {
|
|
|
441
464
|
HlsManifests?: GetHlsManifestConfiguration[];
|
|
442
465
|
LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
|
|
443
466
|
DashManifests?: GetDashManifestConfiguration[];
|
|
467
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
444
468
|
ETag?: string;
|
|
445
469
|
Tags?: Record<string, string>;
|
|
446
470
|
}
|
|
@@ -468,9 +492,10 @@ export interface GetOriginEndpointResponse {
|
|
|
468
492
|
StartoverWindowSeconds?: number;
|
|
469
493
|
HlsManifests?: GetHlsManifestConfiguration[];
|
|
470
494
|
LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
|
|
495
|
+
DashManifests?: GetDashManifestConfiguration[];
|
|
496
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
471
497
|
ETag?: string;
|
|
472
498
|
Tags?: Record<string, string>;
|
|
473
|
-
DashManifests?: GetDashManifestConfiguration[];
|
|
474
499
|
}
|
|
475
500
|
export interface ListOriginEndpointsRequest {
|
|
476
501
|
ChannelGroupName: string | undefined;
|
|
@@ -504,6 +529,7 @@ export interface OriginEndpointListConfiguration {
|
|
|
504
529
|
HlsManifests?: ListHlsManifestConfiguration[];
|
|
505
530
|
LowLatencyHlsManifests?: ListLowLatencyHlsManifestConfiguration[];
|
|
506
531
|
DashManifests?: ListDashManifestConfiguration[];
|
|
532
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
507
533
|
}
|
|
508
534
|
export interface ListOriginEndpointsResponse {
|
|
509
535
|
Items?: OriginEndpointListConfiguration[];
|
|
@@ -544,6 +570,7 @@ export interface UpdateOriginEndpointRequest {
|
|
|
544
570
|
HlsManifests?: CreateHlsManifestConfiguration[];
|
|
545
571
|
LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
|
|
546
572
|
DashManifests?: CreateDashManifestConfiguration[];
|
|
573
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
547
574
|
ETag?: string;
|
|
548
575
|
}
|
|
549
576
|
export interface UpdateOriginEndpointResponse {
|
|
@@ -559,6 +586,7 @@ export interface UpdateOriginEndpointResponse {
|
|
|
559
586
|
StartoverWindowSeconds?: number;
|
|
560
587
|
HlsManifests?: GetHlsManifestConfiguration[];
|
|
561
588
|
LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
|
|
589
|
+
ForceEndpointErrorConfiguration?: ForceEndpointErrorConfiguration;
|
|
562
590
|
ETag?: string;
|
|
563
591
|
Tags?: Record<string, string>;
|
|
564
592
|
DashManifests?: GetDashManifestConfiguration[];
|
|
@@ -577,6 +605,7 @@ export interface UpdateChannelResponse {
|
|
|
577
605
|
ModifiedAt: Date | undefined;
|
|
578
606
|
Description?: string;
|
|
579
607
|
IngestEndpoints?: IngestEndpoint[];
|
|
608
|
+
InputType?: InputType;
|
|
580
609
|
ETag?: string;
|
|
581
610
|
Tags?: Record<string, string>;
|
|
582
611
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackagev2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.597.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-mediapackagev2",
|
|
@@ -20,10 +20,10 @@
|
|
|
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-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.596.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.596.0",
|
|
25
25
|
"@aws-sdk/core": "3.592.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.596.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|