@aws-sdk/client-mediapackagev2 3.597.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.
Files changed (25) hide show
  1. package/dist-types/commands/CreateChannelCommand.d.ts +44 -0
  2. package/dist-types/commands/CreateChannelGroupCommand.d.ts +31 -0
  3. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +472 -0
  4. package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
  5. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +11 -0
  6. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +12 -0
  7. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +13 -0
  8. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +13 -0
  9. package/dist-types/commands/GetChannelCommand.d.ts +38 -0
  10. package/dist-types/commands/GetChannelGroupCommand.d.ts +26 -0
  11. package/dist-types/commands/GetChannelPolicyCommand.d.ts +19 -0
  12. package/dist-types/commands/GetOriginEndpointCommand.d.ts +115 -0
  13. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +21 -0
  14. package/dist-types/commands/ListChannelGroupsCommand.d.ts +28 -0
  15. package/dist-types/commands/ListChannelsCommand.d.ts +32 -0
  16. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +111 -0
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +19 -0
  18. package/dist-types/commands/PutChannelPolicyCommand.d.ts +13 -0
  19. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +14 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +15 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +15 -0
  22. package/dist-types/commands/UpdateChannelCommand.d.ts +39 -0
  23. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +27 -0
  24. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +196 -0
  25. package/package.json +37 -37
@@ -294,6 +294,202 @@ declare const UpdateOriginEndpointCommand_base: {
294
294
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
295
295
  *
296
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
+ *
297
493
  */
298
494
  export declare class UpdateOriginEndpointCommand extends UpdateOriginEndpointCommand_base {
299
495
  }
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.597.0",
4
+ "version": "3.598.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",
@@ -18,45 +18,45 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "3.0.0",
22
- "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.596.0",
24
- "@aws-sdk/client-sts": "3.596.0",
25
- "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.596.0",
27
- "@aws-sdk/middleware-host-header": "3.577.0",
28
- "@aws-sdk/middleware-logger": "3.577.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.587.0",
31
- "@aws-sdk/region-config-resolver": "3.587.0",
32
- "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.587.0",
34
- "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.587.0",
36
- "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.2.0",
38
- "@smithy/fetch-http-handler": "^3.0.1",
39
- "@smithy/hash-node": "^3.0.0",
40
- "@smithy/invalid-dependency": "^3.0.0",
41
- "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.1",
43
- "@smithy/middleware-retry": "^3.0.3",
44
- "@smithy/middleware-serde": "^3.0.0",
45
- "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.1.0",
47
- "@smithy/node-http-handler": "^3.0.0",
48
- "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.1.1",
50
- "@smithy/types": "^3.0.0",
51
- "@smithy/url-parser": "^3.0.0",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.598.0",
24
+ "@aws-sdk/client-sts": "3.598.0",
25
+ "@aws-sdk/core": "3.598.0",
26
+ "@aws-sdk/credential-provider-node": "3.598.0",
27
+ "@aws-sdk/middleware-host-header": "3.598.0",
28
+ "@aws-sdk/middleware-logger": "3.598.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.598.0",
30
+ "@aws-sdk/middleware-user-agent": "3.598.0",
31
+ "@aws-sdk/region-config-resolver": "3.598.0",
32
+ "@aws-sdk/types": "3.598.0",
33
+ "@aws-sdk/util-endpoints": "3.598.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.598.0",
35
+ "@aws-sdk/util-user-agent-node": "3.598.0",
36
+ "@smithy/config-resolver": "^3.0.2",
37
+ "@smithy/core": "^2.2.1",
38
+ "@smithy/fetch-http-handler": "^3.0.2",
39
+ "@smithy/hash-node": "^3.0.1",
40
+ "@smithy/invalid-dependency": "^3.0.1",
41
+ "@smithy/middleware-content-length": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.2",
43
+ "@smithy/middleware-retry": "^3.0.4",
44
+ "@smithy/middleware-serde": "^3.0.1",
45
+ "@smithy/middleware-stack": "^3.0.1",
46
+ "@smithy/node-config-provider": "^3.1.1",
47
+ "@smithy/node-http-handler": "^3.0.1",
48
+ "@smithy/protocol-http": "^4.0.1",
49
+ "@smithy/smithy-client": "^3.1.2",
50
+ "@smithy/types": "^3.1.0",
51
+ "@smithy/url-parser": "^3.0.1",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.3",
56
- "@smithy/util-defaults-mode-node": "^3.0.3",
57
- "@smithy/util-endpoints": "^2.0.1",
58
- "@smithy/util-middleware": "^3.0.0",
59
- "@smithy/util-retry": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.4",
56
+ "@smithy/util-defaults-mode-node": "^3.0.4",
57
+ "@smithy/util-endpoints": "^2.0.2",
58
+ "@smithy/util-middleware": "^3.0.1",
59
+ "@smithy/util-retry": "^3.0.1",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"