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
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.
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
sourceimpl Clone for CreateOriginEndpointRequest
impl Clone for CreateOriginEndpointRequest
sourcefn clone(&self) -> CreateOriginEndpointRequest
fn clone(&self) -> CreateOriginEndpointRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateOriginEndpointRequest
impl Debug for CreateOriginEndpointRequest
sourceimpl Default for CreateOriginEndpointRequest
impl Default for CreateOriginEndpointRequest
sourcefn default() -> CreateOriginEndpointRequest
fn default() -> CreateOriginEndpointRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateOriginEndpointRequest> for CreateOriginEndpointRequest
impl PartialEq<CreateOriginEndpointRequest> for CreateOriginEndpointRequest
sourcefn eq(&self, other: &CreateOriginEndpointRequest) -> bool
fn eq(&self, other: &CreateOriginEndpointRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateOriginEndpointRequest) -> bool
fn ne(&self, other: &CreateOriginEndpointRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateOriginEndpointRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateOriginEndpointRequest
impl Send for CreateOriginEndpointRequest
impl Sync for CreateOriginEndpointRequest
impl Unpin for CreateOriginEndpointRequest
impl UnwindSafe for CreateOriginEndpointRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more