Struct aws_sdk_mediapackage::model::OriginEndpoint
source · [−]#[non_exhaustive]pub struct OriginEndpoint {Show 16 fields
pub arn: Option<String>,
pub authorization: Option<Authorization>,
pub channel_id: Option<String>,
pub cmaf_package: Option<CmafPackage>,
pub dash_package: Option<DashPackage>,
pub description: Option<String>,
pub hls_package: Option<HlsPackage>,
pub id: Option<String>,
pub manifest_name: Option<String>,
pub mss_package: Option<MssPackage>,
pub origination: Option<Origination>,
pub startover_window_seconds: i32,
pub tags: Option<HashMap<String, String>>,
pub time_delay_seconds: i32,
pub url: Option<String>,
pub whitelist: Option<Vec<String>>,
}
Expand description
An OriginEndpoint resource configuration.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
CDN Authorization credentials
channel_id: Option<String>
The ID of the Channel the OriginEndpoint is associated with.
cmaf_package: Option<CmafPackage>
A Common Media Application Format (CMAF) packaging configuration.
dash_package: Option<DashPackage>
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
description: Option<String>
A short text description of the OriginEndpoint.
hls_package: Option<HlsPackage>
An HTTP Live Streaming (HLS) packaging configuration.
id: Option<String>
The ID of the OriginEndpoint.
manifest_name: Option<String>
A short string appended to the end of the OriginEndpoint URL.
mss_package: Option<MssPackage>
A Microsoft Smooth Streaming (MSS) packaging configuration.
origination: Option<Origination>
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: i32
Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
A collection of tags associated with a resource
time_delay_seconds: i32
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.
url: Option<String>
The URL of the packaged OriginEndpoint for consumption.
whitelist: Option<Vec<String>>
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
Implementations
sourceimpl OriginEndpoint
impl OriginEndpoint
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
CDN Authorization credentials
sourcepub fn channel_id(&self) -> Option<&str>
pub fn channel_id(&self) -> Option<&str>
The ID of the Channel the OriginEndpoint is associated with.
sourcepub fn cmaf_package(&self) -> Option<&CmafPackage>
pub fn cmaf_package(&self) -> Option<&CmafPackage>
A Common Media Application Format (CMAF) packaging configuration.
sourcepub fn dash_package(&self) -> Option<&DashPackage>
pub fn dash_package(&self) -> Option<&DashPackage>
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A short text description of the OriginEndpoint.
sourcepub fn hls_package(&self) -> Option<&HlsPackage>
pub fn hls_package(&self) -> Option<&HlsPackage>
An HTTP Live Streaming (HLS) packaging configuration.
sourcepub fn manifest_name(&self) -> Option<&str>
pub fn manifest_name(&self) -> Option<&str>
A short string appended to the end of the OriginEndpoint URL.
sourcepub fn mss_package(&self) -> Option<&MssPackage>
pub fn mss_package(&self) -> Option<&MssPackage>
A Microsoft Smooth Streaming (MSS) packaging configuration.
sourcepub fn origination(&self) -> Option<&Origination>
pub fn origination(&self) -> Option<&Origination>
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
sourcepub fn startover_window_seconds(&self) -> i32
pub fn startover_window_seconds(&self) -> i32
Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
A collection of tags associated with a resource
sourcepub fn time_delay_seconds(&self) -> i32
pub fn time_delay_seconds(&self) -> i32
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.
sourceimpl OriginEndpoint
impl OriginEndpoint
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OriginEndpoint
Trait Implementations
sourceimpl Clone for OriginEndpoint
impl Clone for OriginEndpoint
sourcefn clone(&self) -> OriginEndpoint
fn clone(&self) -> OriginEndpoint
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 OriginEndpoint
impl Debug for OriginEndpoint
sourceimpl PartialEq<OriginEndpoint> for OriginEndpoint
impl PartialEq<OriginEndpoint> for OriginEndpoint
sourcefn eq(&self, other: &OriginEndpoint) -> bool
fn eq(&self, other: &OriginEndpoint) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OriginEndpoint) -> bool
fn ne(&self, other: &OriginEndpoint) -> bool
This method tests for !=
.
impl StructuralPartialEq for OriginEndpoint
Auto Trait Implementations
impl RefUnwindSafe for OriginEndpoint
impl Send for OriginEndpoint
impl Sync for OriginEndpoint
impl Unpin for OriginEndpoint
impl UnwindSafe for OriginEndpoint
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