Struct aws_sdk_mediatailor::operation::create_prefetch_schedule::CreatePrefetchScheduleOutput
source · #[non_exhaustive]pub struct CreatePrefetchScheduleOutput {
pub arn: Option<String>,
pub consumption: Option<PrefetchConsumption>,
pub name: Option<String>,
pub playback_configuration_name: Option<String>,
pub retrieval: Option<PrefetchRetrieval>,
pub stream_id: Option<String>,
/* private fields */
}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 ARN to assign to the prefetch schedule.
consumption: Option<PrefetchConsumption>The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
name: Option<String>The name to assign to the prefetch schedule.
playback_configuration_name: Option<String>The name to assign to the playback configuration.
retrieval: Option<PrefetchRetrieval>The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
stream_id: Option<String>An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
Implementations§
source§impl CreatePrefetchScheduleOutput
impl CreatePrefetchScheduleOutput
sourcepub fn consumption(&self) -> Option<&PrefetchConsumption>
pub fn consumption(&self) -> Option<&PrefetchConsumption>
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
sourcepub fn playback_configuration_name(&self) -> Option<&str>
pub fn playback_configuration_name(&self) -> Option<&str>
The name to assign to the playback configuration.
sourcepub fn retrieval(&self) -> Option<&PrefetchRetrieval>
pub fn retrieval(&self) -> Option<&PrefetchRetrieval>
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
sourcepub fn stream_id(&self) -> Option<&str>
pub fn stream_id(&self) -> Option<&str>
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
source§impl CreatePrefetchScheduleOutput
impl CreatePrefetchScheduleOutput
sourcepub fn builder() -> CreatePrefetchScheduleOutputBuilder
pub fn builder() -> CreatePrefetchScheduleOutputBuilder
Creates a new builder-style object to manufacture CreatePrefetchScheduleOutput.
Trait Implementations§
source§impl Clone for CreatePrefetchScheduleOutput
impl Clone for CreatePrefetchScheduleOutput
source§fn clone(&self) -> CreatePrefetchScheduleOutput
fn clone(&self) -> CreatePrefetchScheduleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreatePrefetchScheduleOutput
impl Debug for CreatePrefetchScheduleOutput
source§impl PartialEq for CreatePrefetchScheduleOutput
impl PartialEq for CreatePrefetchScheduleOutput
source§fn eq(&self, other: &CreatePrefetchScheduleOutput) -> bool
fn eq(&self, other: &CreatePrefetchScheduleOutput) -> bool
self and other values to be equal, and is used by ==.source§impl RequestId for CreatePrefetchScheduleOutput
impl RequestId for CreatePrefetchScheduleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreatePrefetchScheduleOutput
Auto Trait Implementations§
impl Freeze for CreatePrefetchScheduleOutput
impl RefUnwindSafe for CreatePrefetchScheduleOutput
impl Send for CreatePrefetchScheduleOutput
impl Sync for CreatePrefetchScheduleOutput
impl Unpin for CreatePrefetchScheduleOutput
impl UnwindSafe for CreatePrefetchScheduleOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more