logo
pub struct CreateOriginEndpointRequest {
Show 14 fields pub authorization: Option<Authorization>, pub channel_id: String, pub cmaf_package: Option<CmafPackageCreateOrUpdateParameters>, pub dash_package: Option<DashPackage>, pub description: Option<String>, pub hls_package: Option<HlsPackage>, pub id: String, pub manifest_name: Option<String>, pub mss_package: Option<MssPackage>, pub origination: Option<String>, pub startover_window_seconds: Option<i64>, pub tags: Option<HashMap<String, String>>, pub time_delay_seconds: Option<i64>, pub whitelist: Option<Vec<String>>,
}
Expand description

Configuration parameters used to create a new OriginEndpoint.

Fields

authorization: Option<Authorization>channel_id: String

The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.

cmaf_package: Option<CmafPackageCreateOrUpdateParameters>dash_package: Option<DashPackage>description: Option<String>

A short text description of the OriginEndpoint.

hls_package: Option<HlsPackage>id: String

The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

manifest_name: Option<String>

A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").

mss_package: Option<MssPackage>origination: Option<String>

Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination

startover_window_seconds: Option<i64>

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

tags: Option<HashMap<String, String>>time_delay_seconds: Option<i64>

Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.

whitelist: Option<Vec<String>>

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more