@aws-sdk/client-mediapackagev2 3.596.0 → 3.598.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 +46 -0
- package/dist-types/commands/CreateChannelGroupCommand.d.ts +31 -0
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +482 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
- package/dist-types/commands/DeleteChannelGroupCommand.d.ts +11 -0
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +13 -0
- package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +13 -0
- package/dist-types/commands/GetChannelCommand.d.ts +39 -0
- package/dist-types/commands/GetChannelGroupCommand.d.ts +26 -0
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +19 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +124 -4
- package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +21 -0
- package/dist-types/commands/ListChannelGroupsCommand.d.ts +28 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +33 -0
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +116 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +19 -0
- package/dist-types/commands/PutChannelPolicyCommand.d.ts +13 -0
- package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +14 -0
- package/dist-types/commands/TagResourceCommand.d.ts +15 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +15 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +40 -0
- package/dist-types/commands/UpdateChannelGroupCommand.d.ts +27 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +206 -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 +37 -37
|
@@ -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",
|
|
@@ -284,6 +294,202 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
284
294
|
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
285
295
|
*
|
|
286
296
|
* @public
|
|
297
|
+
* @example Updating an OriginEndpoint
|
|
298
|
+
* ```javascript
|
|
299
|
+
* //
|
|
300
|
+
* const input = {
|
|
301
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
302
|
+
* "ChannelName": "exampleChannel",
|
|
303
|
+
* "ContainerType": "TS",
|
|
304
|
+
* "Description": "Updated description for exampleOriginEndpointTS",
|
|
305
|
+
* "ForceEndpointErrorConfiguration": {
|
|
306
|
+
* "EndpointErrorConditions": [
|
|
307
|
+
* "STALE_MANIFEST",
|
|
308
|
+
* "INCOMPLETE_MANIFEST",
|
|
309
|
+
* "MISSING_DRM_KEY",
|
|
310
|
+
* "SLATE_INPUT"
|
|
311
|
+
* ]
|
|
312
|
+
* },
|
|
313
|
+
* "HlsManifests": [
|
|
314
|
+
* {
|
|
315
|
+
* "ChildManifestName": "exampleChildManifest1",
|
|
316
|
+
* "ManifestName": "exampleManifest1",
|
|
317
|
+
* "ManifestWindowSeconds": 30,
|
|
318
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
319
|
+
* "ScteHls": {
|
|
320
|
+
* "AdMarkerHls": "DATERANGE"
|
|
321
|
+
* }
|
|
322
|
+
* },
|
|
323
|
+
* {
|
|
324
|
+
* "ChildManifestName": "exampleManifest2",
|
|
325
|
+
* "ManifestName": "exampleManifest2",
|
|
326
|
+
* "ManifestWindowSeconds": 30,
|
|
327
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
328
|
+
* "ScteHls": {
|
|
329
|
+
* "AdMarkerHls": "DATERANGE"
|
|
330
|
+
* }
|
|
331
|
+
* }
|
|
332
|
+
* ],
|
|
333
|
+
* "LowLatencyHlsManifests": [
|
|
334
|
+
* {
|
|
335
|
+
* "ChildManifestName": "exampleLLChildManifest1",
|
|
336
|
+
* "ManifestName": "exampleLLManifest1",
|
|
337
|
+
* "ManifestWindowSeconds": 30,
|
|
338
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
339
|
+
* "ScteHls": {
|
|
340
|
+
* "AdMarkerHls": "DATERANGE"
|
|
341
|
+
* }
|
|
342
|
+
* },
|
|
343
|
+
* {
|
|
344
|
+
* "ChildManifestName": "exampleLLManifest2",
|
|
345
|
+
* "ManifestName": "exampleLLManifest2",
|
|
346
|
+
* "ManifestWindowSeconds": 30,
|
|
347
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
348
|
+
* "ScteHls": {
|
|
349
|
+
* "AdMarkerHls": "DATERANGE"
|
|
350
|
+
* }
|
|
351
|
+
* }
|
|
352
|
+
* ],
|
|
353
|
+
* "OriginEndpointName": "exampleOriginEndpointTS",
|
|
354
|
+
* "Segment": {
|
|
355
|
+
* "Encryption": {
|
|
356
|
+
* "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E",
|
|
357
|
+
* "EncryptionMethod": {
|
|
358
|
+
* "TsEncryptionMethod": "AES_128"
|
|
359
|
+
* },
|
|
360
|
+
* "KeyRotationIntervalSeconds": 300,
|
|
361
|
+
* "SpekeKeyProvider": {
|
|
362
|
+
* "DrmSystems": [
|
|
363
|
+
* "CLEAR_KEY_AES_128"
|
|
364
|
+
* ],
|
|
365
|
+
* "EncryptionContractConfiguration": {
|
|
366
|
+
* "PresetSpeke20Audio": "SHARED",
|
|
367
|
+
* "PresetSpeke20Video": "SHARED"
|
|
368
|
+
* },
|
|
369
|
+
* "ResourceId": "ResourceId",
|
|
370
|
+
* "RoleArn": "arn:aws:iam::123456789012:role/empRole",
|
|
371
|
+
* "Url": "https://foo.com"
|
|
372
|
+
* }
|
|
373
|
+
* },
|
|
374
|
+
* "IncludeIframeOnlyStreams": false,
|
|
375
|
+
* "Scte": {
|
|
376
|
+
* "ScteFilter": [
|
|
377
|
+
* "SPLICE_INSERT"
|
|
378
|
+
* ]
|
|
379
|
+
* },
|
|
380
|
+
* "SegmentDurationSeconds": 7,
|
|
381
|
+
* "SegmentName": "segmentName2",
|
|
382
|
+
* "TsIncludeDvbSubtitles": false,
|
|
383
|
+
* "TsUseAudioRenditionGroup": true
|
|
384
|
+
* },
|
|
385
|
+
* "StartoverWindowSeconds": 600
|
|
386
|
+
* };
|
|
387
|
+
* const command = new UpdateOriginEndpointCommand(input);
|
|
388
|
+
* const response = await client.send(command);
|
|
389
|
+
* /* response ==
|
|
390
|
+
* {
|
|
391
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
|
|
392
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
393
|
+
* "ChannelName": "exampleChannel",
|
|
394
|
+
* "ContainerType": "TS",
|
|
395
|
+
* "CreatedAt": "2022-10-18T09:36:00.00Z",
|
|
396
|
+
* "Description": "Updated description for exampleOriginEndpointTS",
|
|
397
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
398
|
+
* "ForceEndpointErrorConfiguration": {
|
|
399
|
+
* "EndpointErrorConditions": [
|
|
400
|
+
* "STALE_MANIFEST",
|
|
401
|
+
* "INCOMPLETE_MANIFEST",
|
|
402
|
+
* "MISSING_DRM_KEY",
|
|
403
|
+
* "SLATE_INPUT"
|
|
404
|
+
* ]
|
|
405
|
+
* },
|
|
406
|
+
* "HlsManifests": [
|
|
407
|
+
* {
|
|
408
|
+
* "ChildManifestName": "exampleChildManifest1",
|
|
409
|
+
* "ManifestName": "exampleManifest1",
|
|
410
|
+
* "ManifestWindowSeconds": 30,
|
|
411
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
412
|
+
* "ScteHls": {
|
|
413
|
+
* "AdMarkerHls": "DATERANGE"
|
|
414
|
+
* },
|
|
415
|
+
* "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8"
|
|
416
|
+
* },
|
|
417
|
+
* {
|
|
418
|
+
* "ChildManifestName": "exampleManifest2",
|
|
419
|
+
* "ManifestName": "exampleManifest2",
|
|
420
|
+
* "ManifestWindowSeconds": 30,
|
|
421
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
422
|
+
* "ScteHls": {
|
|
423
|
+
* "AdMarkerHls": "DATERANGE"
|
|
424
|
+
* },
|
|
425
|
+
* "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8"
|
|
426
|
+
* }
|
|
427
|
+
* ],
|
|
428
|
+
* "LowLatencyHlsManifests": [
|
|
429
|
+
* {
|
|
430
|
+
* "ChildManifestName": "exampleLLChildManifest1",
|
|
431
|
+
* "ManifestName": "exampleLLManifest1",
|
|
432
|
+
* "ManifestWindowSeconds": 30,
|
|
433
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
434
|
+
* "ScteHls": {
|
|
435
|
+
* "AdMarkerHls": "DATERANGE"
|
|
436
|
+
* },
|
|
437
|
+
* "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8"
|
|
438
|
+
* },
|
|
439
|
+
* {
|
|
440
|
+
* "ChildManifestName": "exampleLLManifest2",
|
|
441
|
+
* "ManifestName": "exampleLLManifest2",
|
|
442
|
+
* "ManifestWindowSeconds": 30,
|
|
443
|
+
* "ProgramDateTimeIntervalSeconds": 60,
|
|
444
|
+
* "ScteHls": {
|
|
445
|
+
* "AdMarkerHls": "DATERANGE"
|
|
446
|
+
* },
|
|
447
|
+
* "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8"
|
|
448
|
+
* }
|
|
449
|
+
* ],
|
|
450
|
+
* "ModifiedAt": "2022-10-18T09:36:00.00Z",
|
|
451
|
+
* "OriginEndpointName": "exampleOriginEndpointTS",
|
|
452
|
+
* "Segment": {
|
|
453
|
+
* "Encryption": {
|
|
454
|
+
* "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E",
|
|
455
|
+
* "EncryptionMethod": {
|
|
456
|
+
* "TsEncryptionMethod": "AES_128"
|
|
457
|
+
* },
|
|
458
|
+
* "KeyRotationIntervalSeconds": 300,
|
|
459
|
+
* "SpekeKeyProvider": {
|
|
460
|
+
* "DrmSystems": [
|
|
461
|
+
* "CLEAR_KEY_AES_128"
|
|
462
|
+
* ],
|
|
463
|
+
* "EncryptionContractConfiguration": {
|
|
464
|
+
* "PresetSpeke20Audio": "SHARED",
|
|
465
|
+
* "PresetSpeke20Video": "SHARED"
|
|
466
|
+
* },
|
|
467
|
+
* "ResourceId": "ResourceId",
|
|
468
|
+
* "RoleArn": "arn:aws:iam::123456789012:role/empRole",
|
|
469
|
+
* "Url": "https://foo.com"
|
|
470
|
+
* }
|
|
471
|
+
* },
|
|
472
|
+
* "IncludeIframeOnlyStreams": false,
|
|
473
|
+
* "Scte": {
|
|
474
|
+
* "ScteFilter": [
|
|
475
|
+
* "SPLICE_INSERT"
|
|
476
|
+
* ]
|
|
477
|
+
* },
|
|
478
|
+
* "SegmentDurationSeconds": 7,
|
|
479
|
+
* "SegmentName": "segmentName2",
|
|
480
|
+
* "TsIncludeDvbSubtitles": false,
|
|
481
|
+
* "TsUseAudioRenditionGroup": true
|
|
482
|
+
* },
|
|
483
|
+
* "StartoverWindowSeconds": 600,
|
|
484
|
+
* "Tags": {
|
|
485
|
+
* "key1": "value1",
|
|
486
|
+
* "key2": "value2"
|
|
487
|
+
* }
|
|
488
|
+
* }
|
|
489
|
+
* *\/
|
|
490
|
+
* // example id: example-1
|
|
491
|
+
* ```
|
|
492
|
+
*
|
|
287
493
|
*/
|
|
288
494
|
export declare class UpdateOriginEndpointCommand extends UpdateOriginEndpointCommand_base {
|
|
289
495
|
}
|
|
@@ -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
|
}
|