import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateOriginEndpointRequest, UpdateOriginEndpointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateOriginEndpointCommand}. */ export interface UpdateOriginEndpointCommandInput extends UpdateOriginEndpointRequest { } /** * @public * * The output of {@link UpdateOriginEndpointCommand}. */ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointResponse, __MetadataBearer { } declare const UpdateOriginEndpointCommand_base: { new (input: UpdateOriginEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateOriginEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.

Any edits you make that impact the video output may not be reflected for a few minutes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaPackageV2Client, UpdateOriginEndpointCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import * // const { MediaPackageV2Client, UpdateOriginEndpointCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import * // import type { MediaPackageV2ClientConfig } from "@aws-sdk/client-mediapackagev2"; * const config = {}; // type is MediaPackageV2ClientConfig * const client = new MediaPackageV2Client(config); * const input = { // UpdateOriginEndpointRequest * ChannelGroupName: "STRING_VALUE", // required * ChannelName: "STRING_VALUE", // required * OriginEndpointName: "STRING_VALUE", // required * ContainerType: "TS" || "CMAF" || "ISM", // required * Segment: { // Segment * SegmentDurationSeconds: Number("int"), * SegmentName: "STRING_VALUE", * TsUseAudioRenditionGroup: true || false, * IncludeIframeOnlyStreams: true || false, * TsIncludeDvbSubtitles: true || false, * Scte: { // Scte * ScteFilter: [ // ScteFilterList * "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM" || "CHAPTER" || "UNSCHEDULED_EVENT" || "ALTERNATE_CONTENT_OPPORTUNITY" || "NETWORK" || "PROVIDER_PROMO" || "DISTRIBUTOR_PROMO" || "PROVIDER_AD_BLOCK" || "DISTRIBUTOR_AD_BLOCK" || "CONTENT_IDENTIFICATION" || "CALL_AD_SERVER", * ], * ScteInSegments: "NONE" || "ALL" || "MATCHES_FILTER", * CustomAdTypes: [ // CustomAdTypeList * "PROGRAM" || "CHAPTER" || "UNSCHEDULED_EVENT" || "ALTERNATE_CONTENT_OPPORTUNITY" || "NETWORK", * ], * }, * Encryption: { // Encryption * ConstantInitializationVector: "STRING_VALUE", * EncryptionMethod: { // EncryptionMethod * TsEncryptionMethod: "AES_128" || "SAMPLE_AES", * CmafEncryptionMethod: "CENC" || "CBCS", * IsmEncryptionMethod: "CENC", * }, * KeyRotationIntervalSeconds: Number("int"), * CmafExcludeSegmentDrmMetadata: true || false, * SpekeKeyProvider: { // SpekeKeyProvider * EncryptionContractConfiguration: { // EncryptionContractConfiguration * PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required * PresetSpeke20Video: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED", // required * }, * ResourceId: "STRING_VALUE", // required * DrmSystems: [ // DrmSystems // required * "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO", * ], * RoleArn: "STRING_VALUE", // required * Url: "STRING_VALUE", // required * CertificateArn: "STRING_VALUE", * }, * }, * OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START", * }, * Description: "STRING_VALUE", * StartoverWindowSeconds: Number("int"), * HlsManifests: [ // CreateHlsManifests * { // CreateHlsManifestConfiguration * ManifestName: "STRING_VALUE", // required * ChildManifestName: "STRING_VALUE", * ScteHls: { // ScteHls * AdMarkerHls: "DATERANGE" || "SCTE35_ENHANCED", * ScteInManifests: "ALL" || "MATCHES_FILTER", * }, * StartTag: { // StartTag * TimeOffset: Number("float"), // required * Precise: true || false, * }, * ManifestWindowSeconds: Number("int"), * ProgramDateTimeIntervalSeconds: Number("int"), * FilterConfiguration: { // FilterConfiguration * ManifestFilter: "STRING_VALUE", * DrmSettings: "STRING_VALUE", * Start: new Date("TIMESTAMP"), * End: new Date("TIMESTAMP"), * TimeDelaySeconds: Number("int"), * ClipStartTime: new Date("TIMESTAMP"), * }, * UrlEncodeChildManifest: true || false, * UriPathType: "LEAF" || "ROOT", * }, * ], * LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests * { // CreateLowLatencyHlsManifestConfiguration * ManifestName: "STRING_VALUE", // required * ChildManifestName: "STRING_VALUE", * ScteHls: { * AdMarkerHls: "DATERANGE" || "SCTE35_ENHANCED", * ScteInManifests: "ALL" || "MATCHES_FILTER", * }, * StartTag: { * TimeOffset: Number("float"), // required * Precise: true || false, * }, * ManifestWindowSeconds: Number("int"), * ProgramDateTimeIntervalSeconds: Number("int"), * FilterConfiguration: { * ManifestFilter: "STRING_VALUE", * DrmSettings: "STRING_VALUE", * Start: new Date("TIMESTAMP"), * End: new Date("TIMESTAMP"), * TimeDelaySeconds: Number("int"), * ClipStartTime: new Date("TIMESTAMP"), * }, * UrlEncodeChildManifest: true || false, * UriPathType: "LEAF" || "ROOT", * }, * ], * DashManifests: [ // CreateDashManifests * { // CreateDashManifestConfiguration * ManifestName: "STRING_VALUE", // required * ManifestWindowSeconds: Number("int"), * FilterConfiguration: { * ManifestFilter: "STRING_VALUE", * DrmSettings: "STRING_VALUE", * Start: new Date("TIMESTAMP"), * End: new Date("TIMESTAMP"), * TimeDelaySeconds: Number("int"), * ClipStartTime: new Date("TIMESTAMP"), * }, * MinUpdatePeriodSeconds: Number("int"), * MinBufferTimeSeconds: Number("int"), * SuggestedPresentationDelaySeconds: Number("int"), * SegmentTemplateFormat: "NUMBER_WITH_TIMELINE", * PeriodTriggers: [ // DashPeriodTriggers * "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE", * ], * ScteDash: { // ScteDash * AdMarkerDash: "BINARY" || "XML", * ScteInManifests: "ALL" || "MATCHES_FILTER", * }, * DrmSignaling: "INDIVIDUAL" || "REFERENCED", * UtcTiming: { // DashUtcTiming * TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT", * TimingSource: "STRING_VALUE", * }, * Profiles: [ // DashProfiles * "DVB_DASH", * ], * BaseUrls: [ // DashBaseUrls * { // DashBaseUrl * Url: "STRING_VALUE", // required * ServiceLocation: "STRING_VALUE", * DvbPriority: Number("int"), * DvbWeight: Number("int"), * }, * ], * ProgramInformation: { // DashProgramInformation * Title: "STRING_VALUE", * Source: "STRING_VALUE", * Copyright: "STRING_VALUE", * LanguageCode: "STRING_VALUE", * MoreInformationUrl: "STRING_VALUE", * }, * DvbSettings: { // DashDvbSettings * FontDownload: { // DashDvbFontDownload * Url: "STRING_VALUE", * MimeType: "STRING_VALUE", * FontFamily: "STRING_VALUE", * }, * ErrorMetrics: [ // DashDvbErrorMetrics * { // DashDvbMetricsReporting * ReportingUrl: "STRING_VALUE", // required * Probability: Number("int"), * }, * ], * }, * Compactness: "STANDARD" || "NONE", * AudioTimelinePattern: "NONE" || "PATTERNED", * SubtitleConfiguration: { // DashSubtitleConfiguration * TtmlConfiguration: { // DashTtmlConfiguration * TtmlProfile: "IMSC_1" || "EBU_TT_D_101", // required * }, * }, * UriPathType: "LEAF" || "ROOT", * AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present * FixedAvailabilityStartTime: new Date("TIMESTAMP"), * }, * }, * ], * MssManifests: [ // CreateMssManifests * { // CreateMssManifestConfiguration * ManifestName: "STRING_VALUE", // required * ManifestWindowSeconds: Number("int"), * FilterConfiguration: { * ManifestFilter: "STRING_VALUE", * DrmSettings: "STRING_VALUE", * Start: new Date("TIMESTAMP"), * End: new Date("TIMESTAMP"), * TimeDelaySeconds: Number("int"), * ClipStartTime: new Date("TIMESTAMP"), * }, * ManifestLayout: "FULL" || "COMPACT", * }, * ], * ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration * EndpointErrorConditions: [ // EndpointErrorConditions * "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT", * ], * }, * UriSeparator: "UNDERSCORE" || "HYPHEN", * StreamNameOutputMode: "INDEX" || "PASSTHROUGH_NAME", * ETag: "STRING_VALUE", * }; * const command = new UpdateOriginEndpointCommand(input); * const response = await client.send(command); * // { // UpdateOriginEndpointResponse * // Arn: "STRING_VALUE", // required * // ChannelGroupName: "STRING_VALUE", // required * // ChannelName: "STRING_VALUE", // required * // OriginEndpointName: "STRING_VALUE", // required * // ContainerType: "TS" || "CMAF" || "ISM", // required * // Segment: { // Segment * // SegmentDurationSeconds: Number("int"), * // SegmentName: "STRING_VALUE", * // TsUseAudioRenditionGroup: true || false, * // IncludeIframeOnlyStreams: true || false, * // TsIncludeDvbSubtitles: true || false, * // Scte: { // Scte * // ScteFilter: [ // ScteFilterList * // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM" || "CHAPTER" || "UNSCHEDULED_EVENT" || "ALTERNATE_CONTENT_OPPORTUNITY" || "NETWORK" || "PROVIDER_PROMO" || "DISTRIBUTOR_PROMO" || "PROVIDER_AD_BLOCK" || "DISTRIBUTOR_AD_BLOCK" || "CONTENT_IDENTIFICATION" || "CALL_AD_SERVER", * // ], * // ScteInSegments: "NONE" || "ALL" || "MATCHES_FILTER", * // CustomAdTypes: [ // CustomAdTypeList * // "PROGRAM" || "CHAPTER" || "UNSCHEDULED_EVENT" || "ALTERNATE_CONTENT_OPPORTUNITY" || "NETWORK", * // ], * // }, * // Encryption: { // Encryption * // ConstantInitializationVector: "STRING_VALUE", * // EncryptionMethod: { // EncryptionMethod * // TsEncryptionMethod: "AES_128" || "SAMPLE_AES", * // CmafEncryptionMethod: "CENC" || "CBCS", * // IsmEncryptionMethod: "CENC", * // }, * // KeyRotationIntervalSeconds: Number("int"), * // CmafExcludeSegmentDrmMetadata: true || false, * // SpekeKeyProvider: { // SpekeKeyProvider * // EncryptionContractConfiguration: { // EncryptionContractConfiguration * // PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required * // PresetSpeke20Video: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED", // required * // }, * // ResourceId: "STRING_VALUE", // required * // DrmSystems: [ // DrmSystems // required * // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO", * // ], * // RoleArn: "STRING_VALUE", // required * // Url: "STRING_VALUE", // required * // CertificateArn: "STRING_VALUE", * // }, * // }, * // OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START", * // }, * // CreatedAt: new Date("TIMESTAMP"), // required * // ModifiedAt: new Date("TIMESTAMP"), // required * // Description: "STRING_VALUE", * // StartoverWindowSeconds: Number("int"), * // HlsManifests: [ // GetHlsManifests * // { // GetHlsManifestConfiguration * // ManifestName: "STRING_VALUE", // required * // Url: "STRING_VALUE", // required * // ChildManifestName: "STRING_VALUE", * // ManifestWindowSeconds: Number("int"), * // ProgramDateTimeIntervalSeconds: Number("int"), * // ScteHls: { // ScteHls * // AdMarkerHls: "DATERANGE" || "SCTE35_ENHANCED", * // ScteInManifests: "ALL" || "MATCHES_FILTER", * // }, * // FilterConfiguration: { // FilterConfiguration * // ManifestFilter: "STRING_VALUE", * // DrmSettings: "STRING_VALUE", * // Start: new Date("TIMESTAMP"), * // End: new Date("TIMESTAMP"), * // TimeDelaySeconds: Number("int"), * // ClipStartTime: new Date("TIMESTAMP"), * // }, * // StartTag: { // StartTag * // TimeOffset: Number("float"), // required * // Precise: true || false, * // }, * // UrlEncodeChildManifest: true || false, * // UriPathType: "LEAF" || "ROOT", * // }, * // ], * // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests * // { // GetLowLatencyHlsManifestConfiguration * // ManifestName: "STRING_VALUE", // required * // Url: "STRING_VALUE", // required * // ChildManifestName: "STRING_VALUE", * // ManifestWindowSeconds: Number("int"), * // ProgramDateTimeIntervalSeconds: Number("int"), * // ScteHls: { * // AdMarkerHls: "DATERANGE" || "SCTE35_ENHANCED", * // ScteInManifests: "ALL" || "MATCHES_FILTER", * // }, * // FilterConfiguration: { * // ManifestFilter: "STRING_VALUE", * // DrmSettings: "STRING_VALUE", * // Start: new Date("TIMESTAMP"), * // End: new Date("TIMESTAMP"), * // TimeDelaySeconds: Number("int"), * // ClipStartTime: new Date("TIMESTAMP"), * // }, * // StartTag: { * // TimeOffset: Number("float"), // required * // Precise: true || false, * // }, * // UrlEncodeChildManifest: true || false, * // UriPathType: "LEAF" || "ROOT", * // }, * // ], * // MssManifests: [ // GetMssManifests * // { // GetMssManifestConfiguration * // ManifestName: "STRING_VALUE", // required * // Url: "STRING_VALUE", // required * // FilterConfiguration: { * // ManifestFilter: "STRING_VALUE", * // DrmSettings: "STRING_VALUE", * // Start: new Date("TIMESTAMP"), * // End: new Date("TIMESTAMP"), * // TimeDelaySeconds: Number("int"), * // ClipStartTime: new Date("TIMESTAMP"), * // }, * // ManifestWindowSeconds: Number("int"), * // ManifestLayout: "FULL" || "COMPACT", * // }, * // ], * // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration * // EndpointErrorConditions: [ // EndpointErrorConditions * // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT", * // ], * // }, * // UriSeparator: "UNDERSCORE" || "HYPHEN", * // StreamNameOutputMode: "INDEX" || "PASSTHROUGH_NAME", * // ETag: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // DashManifests: [ // GetDashManifests * // { // GetDashManifestConfiguration * // ManifestName: "STRING_VALUE", // required * // Url: "STRING_VALUE", // required * // ManifestWindowSeconds: Number("int"), * // FilterConfiguration: { * // ManifestFilter: "STRING_VALUE", * // DrmSettings: "STRING_VALUE", * // Start: new Date("TIMESTAMP"), * // End: new Date("TIMESTAMP"), * // TimeDelaySeconds: Number("int"), * // ClipStartTime: new Date("TIMESTAMP"), * // }, * // MinUpdatePeriodSeconds: Number("int"), * // MinBufferTimeSeconds: Number("int"), * // SuggestedPresentationDelaySeconds: Number("int"), * // SegmentTemplateFormat: "NUMBER_WITH_TIMELINE", * // PeriodTriggers: [ // DashPeriodTriggers * // "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE", * // ], * // ScteDash: { // ScteDash * // AdMarkerDash: "BINARY" || "XML", * // ScteInManifests: "ALL" || "MATCHES_FILTER", * // }, * // DrmSignaling: "INDIVIDUAL" || "REFERENCED", * // UtcTiming: { // DashUtcTiming * // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT", * // TimingSource: "STRING_VALUE", * // }, * // Profiles: [ // DashProfiles * // "DVB_DASH", * // ], * // BaseUrls: [ // DashBaseUrls * // { // DashBaseUrl * // Url: "STRING_VALUE", // required * // ServiceLocation: "STRING_VALUE", * // DvbPriority: Number("int"), * // DvbWeight: Number("int"), * // }, * // ], * // ProgramInformation: { // DashProgramInformation * // Title: "STRING_VALUE", * // Source: "STRING_VALUE", * // Copyright: "STRING_VALUE", * // LanguageCode: "STRING_VALUE", * // MoreInformationUrl: "STRING_VALUE", * // }, * // DvbSettings: { // DashDvbSettings * // FontDownload: { // DashDvbFontDownload * // Url: "STRING_VALUE", * // MimeType: "STRING_VALUE", * // FontFamily: "STRING_VALUE", * // }, * // ErrorMetrics: [ // DashDvbErrorMetrics * // { // DashDvbMetricsReporting * // ReportingUrl: "STRING_VALUE", // required * // Probability: Number("int"), * // }, * // ], * // }, * // Compactness: "STANDARD" || "NONE", * // AudioTimelinePattern: "NONE" || "PATTERNED", * // SubtitleConfiguration: { // DashSubtitleConfiguration * // TtmlConfiguration: { // DashTtmlConfiguration * // TtmlProfile: "IMSC_1" || "EBU_TT_D_101", // required * // }, * // }, * // UriPathType: "LEAF" || "ROOT", * // AvailabilityStartTimeConfiguration: { // DashAvailabilityStartTimeConfiguration Union: only one key present * // FixedAvailabilityStartTime: new Date("TIMESTAMP"), * // }, * // }, * // ], * // }; * * ``` * * @param UpdateOriginEndpointCommandInput - {@link UpdateOriginEndpointCommandInput} * @returns {@link UpdateOriginEndpointCommandOutput} * @see {@link UpdateOriginEndpointCommandInput} for command's `input` shape. * @see {@link UpdateOriginEndpointCommandOutput} for command's `response` shape. * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception if MediaPackage receives a throttling error from Secrets Manager.

* * @throws {@link ConflictException} (client fault) *

Updating or deleting this resource can cause an inconsistent state.

* * @throws {@link InternalServerException} (server fault) *

Indicates that an error from the service occurred while trying to process a request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource doesn't exist.

* * @throws {@link ServiceQuotaExceededException} (client fault) *

The request would cause a service quota to be exceeded.

* * @throws {@link ThrottlingException} (client fault) *

The request throughput limit was exceeded.

* * @throws {@link ValidationException} (client fault) *

The input failed to meet the constraints specified by the AWS service.

* * @throws {@link MediaPackageV2ServiceException} *

Base exception class for all service exceptions from MediaPackageV2 service.

* * * @example Updating an OriginEndpoint * ```javascript * // * const input = { * ChannelGroupName: "exampleChannelGroup", * ChannelName: "exampleChannel", * ContainerType: "TS", * Description: "Updated description for exampleOriginEndpointTS", * ForceEndpointErrorConfiguration: { * EndpointErrorConditions: [ * "STALE_MANIFEST", * "INCOMPLETE_MANIFEST", * "MISSING_DRM_KEY", * "SLATE_INPUT" * ] * }, * HlsManifests: [ * { * ChildManifestName: "exampleChildManifest1", * ManifestName: "exampleManifest1", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "LEAF" * }, * { * ChildManifestName: "exampleManifest2", * ManifestName: "exampleManifest2", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "LEAF" * } * ], * LowLatencyHlsManifests: [ * { * ChildManifestName: "exampleLLChildManifest1", * ManifestName: "exampleLLManifest1", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "ROOT" * }, * { * ChildManifestName: "exampleLLManifest2", * ManifestName: "exampleLLManifest2", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "ROOT" * } * ], * OriginEndpointName: "exampleOriginEndpointTS", * Segment: { * Encryption: { * ConstantInitializationVector: "A382A901F3C1F7718512266CFFBB0B7E", * EncryptionMethod: { * TsEncryptionMethod: "AES_128" * }, * KeyRotationIntervalSeconds: 300, * SpekeKeyProvider: { * CertificateArn: "arn:aws:acm:us-west-2:123456789012:certificate/0c6a65f1-7bd3-48ac-be17-f38675def22e", * DrmSystems: [ * "CLEAR_KEY_AES_128" * ], * EncryptionContractConfiguration: { * PresetSpeke20Audio: "SHARED", * PresetSpeke20Video: "SHARED" * }, * ResourceId: "ResourceId", * RoleArn: "arn:aws:iam::123456789012:role/empRole", * Url: "https://foo.com" * } * }, * IncludeIframeOnlyStreams: false, * Scte: { * ScteFilter: [ * "SPLICE_INSERT" * ] * }, * SegmentDurationSeconds: 7, * SegmentName: "segmentName2", * TsIncludeDvbSubtitles: false, * TsUseAudioRenditionGroup: true * }, * StartoverWindowSeconds: 600, * UriSeparator: "HYPHEN" * }; * const command = new UpdateOriginEndpointCommand(input); * const response = await client.send(command); * /* response is * { * Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS", * ChannelGroupName: "exampleChannelGroup", * ChannelName: "exampleChannel", * ContainerType: "TS", * CreatedAt: "2022-10-18T09:36:00.00Z", * Description: "Updated description for exampleOriginEndpointTS", * ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=", * ForceEndpointErrorConfiguration: { * EndpointErrorConditions: [ * "STALE_MANIFEST", * "INCOMPLETE_MANIFEST", * "MISSING_DRM_KEY", * "SLATE_INPUT" * ] * }, * HlsManifests: [ * { * ChildManifestName: "exampleChildManifest1", * ManifestName: "exampleManifest1", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "LEAF", * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8" * }, * { * ChildManifestName: "exampleManifest2", * ManifestName: "exampleManifest2", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "LEAF", * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8" * } * ], * LowLatencyHlsManifests: [ * { * ChildManifestName: "exampleLLChildManifest1", * ManifestName: "exampleLLManifest1", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "ROOT", * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8" * }, * { * ChildManifestName: "exampleLLManifest2", * ManifestName: "exampleLLManifest2", * ManifestWindowSeconds: 30, * ProgramDateTimeIntervalSeconds: 60, * ScteHls: { * AdMarkerHls: "DATERANGE" * }, * UriPathType: "ROOT", * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8" * } * ], * ModifiedAt: "2022-10-18T09:36:00.00Z", * OriginEndpointName: "exampleOriginEndpointTS", * Segment: { * Encryption: { * ConstantInitializationVector: "A382A901F3C1F7718512266CFFBB0B7E", * EncryptionMethod: { * TsEncryptionMethod: "AES_128" * }, * KeyRotationIntervalSeconds: 300, * SpekeKeyProvider: { * CertificateArn: "arn:aws:acm:us-west-2:123456789012:certificate/0c6a65f1-7bd3-48ac-be17-f38675def22e", * DrmSystems: [ * "CLEAR_KEY_AES_128" * ], * EncryptionContractConfiguration: { * PresetSpeke20Audio: "SHARED", * PresetSpeke20Video: "SHARED" * }, * ResourceId: "ResourceId", * RoleArn: "arn:aws:iam::123456789012:role/empRole", * Url: "https://foo.com" * } * }, * IncludeIframeOnlyStreams: false, * Scte: { * ScteFilter: [ * "SPLICE_INSERT" * ] * }, * SegmentDurationSeconds: 7, * SegmentName: "segmentName2", * TsIncludeDvbSubtitles: false, * TsUseAudioRenditionGroup: true * }, * StartoverWindowSeconds: 600, * Tags: { * key1: "value1", * key2: "value2" * }, * UriSeparator: "HYPHEN" * } * *\/ * ``` * * @example Updating an OriginEndpoint with ISM container * ```javascript * // * const input = { * ChannelGroupName: "exampleChannelGroup", * ChannelName: "exampleChannel", * ContainerType: "ISM", * Description: "Updated description for exampleOriginEndpointISM", * ForceEndpointErrorConfiguration: { * EndpointErrorConditions: [ * "STALE_MANIFEST", * "INCOMPLETE_MANIFEST", * "MISSING_DRM_KEY", * "SLATE_INPUT" * ] * }, * MssManifests: [ * { * ManifestLayout: "FULL", * ManifestName: "exampleMssManifest1", * ManifestWindowSeconds: 60 * }, * { * ManifestLayout: "COMPACT", * ManifestName: "exampleMssManifest2", * ManifestWindowSeconds: 30 * } * ], * OriginEndpointName: "exampleOriginEndpointISM", * Segment: { * Encryption: { * EncryptionMethod: { * IsmEncryptionMethod: "CENC" * }, * SpekeKeyProvider: { * DrmSystems: [ * "PLAYREADY" * ], * EncryptionContractConfiguration: { * PresetSpeke20Audio: "SHARED", * PresetSpeke20Video: "SHARED" * }, * ResourceId: "ResourceId", * RoleArn: "arn:aws:iam::123456789012:role/empRole", * Url: "https://speke-key-provider.example.com" * } * }, * SegmentDurationSeconds: 2, * SegmentName: "segmentName2" * }, * StartoverWindowSeconds: 600, * UriSeparator: "HYPHEN" * }; * const command = new UpdateOriginEndpointCommand(input); * const response = await client.send(command); * /* response is * { * Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM", * ChannelGroupName: "exampleChannelGroup", * ChannelName: "exampleChannel", * ContainerType: "ISM", * CreatedAt: "2022-10-18T09:36:00.00Z", * Description: "Updated description for exampleOriginEndpointISM", * ETag: "HmgU+ewBzHJS5xvz9nLXm2SEQxTsjRfk0rVvuMayoyl=", * ForceEndpointErrorConfiguration: { * EndpointErrorConditions: [ * "STALE_MANIFEST", * "INCOMPLETE_MANIFEST", * "MISSING_DRM_KEY", * "SLATE_INPUT" * ] * }, * ModifiedAt: "2022-10-18T09:37:00.00Z", * MssManifests: [ * { * ManifestLayout: "FULL", * ManifestName: "exampleMssManifest1", * ManifestWindowSeconds: 60, * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest" * }, * { * ManifestLayout: "COMPACT", * ManifestName: "exampleMssManifest2", * ManifestWindowSeconds: 30, * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest" * } * ], * OriginEndpointName: "exampleOriginEndpointISM", * Segment: { * Encryption: { * EncryptionMethod: { * IsmEncryptionMethod: "CENC" * }, * SpekeKeyProvider: { * DrmSystems: [ * "PLAYREADY" * ], * EncryptionContractConfiguration: { * PresetSpeke20Audio: "SHARED", * PresetSpeke20Video: "SHARED" * }, * ResourceId: "ResourceId", * RoleArn: "arn:aws:iam::123456789012:role/empRole", * Url: "https://speke-key-provider.example.com" * } * }, * SegmentDurationSeconds: 2, * SegmentName: "segmentName2" * }, * StartoverWindowSeconds: 600, * Tags: { * key1: "value1", * key2: "value2" * }, * UriSeparator: "HYPHEN" * } * *\/ * ``` * * @public */ export declare class UpdateOriginEndpointCommand extends UpdateOriginEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateOriginEndpointRequest; output: UpdateOriginEndpointResponse; }; sdk: { input: UpdateOriginEndpointCommandInput; output: UpdateOriginEndpointCommandOutput; }; }; }