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.