#[non_exhaustive]
pub struct GetPlaybackConfigurationOutput {
Show 20 fields pub ad_decision_server_url: Option<String>, pub avail_suppression: Option<AvailSuppression>, pub bumper: Option<Bumper>, pub cdn_configuration: Option<CdnConfiguration>, pub configuration_aliases: Option<HashMap<String, HashMap<String, String>>>, pub dash_configuration: Option<DashConfiguration>, pub hls_configuration: Option<HlsConfiguration>, pub insertion_mode: InsertionMode, pub live_pre_roll_configuration: Option<LivePreRollConfiguration>, pub log_configuration: Option<LogConfiguration>, pub manifest_processing_rules: Option<ManifestProcessingRules>, pub name: Option<String>, pub personalization_threshold_seconds: Option<i32>, pub playback_configuration_arn: Option<String>, pub playback_endpoint_prefix: Option<String>, pub session_initialization_endpoint_prefix: Option<String>, pub slate_ad_url: Option<String>, pub tags: Option<HashMap<String, String>>, pub transcode_profile_name: Option<String>, pub video_content_source_url: Option<String>, /* private fields */
}

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§ad_decision_server_url: Option<String>

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

§avail_suppression: Option<AvailSuppression>

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

§bumper: Option<Bumper>

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

§cdn_configuration: Option<CdnConfiguration>

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

§configuration_aliases: Option<HashMap<String, HashMap<String, String>>>

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

§dash_configuration: Option<DashConfiguration>

The configuration for DASH content.

§hls_configuration: Option<HlsConfiguration>

The configuration for HLS content.

§insertion_mode: InsertionMode

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

§live_pre_roll_configuration: Option<LivePreRollConfiguration>

The configuration for pre-roll ad insertion.

§log_configuration: Option<LogConfiguration>

The Amazon CloudWatch log settings for a playback configuration.

§manifest_processing_rules: Option<ManifestProcessingRules>

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

§name: Option<String>

The identifier for the playback configuration.

§personalization_threshold_seconds: Option<i32>

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

§playback_configuration_arn: Option<String>

The Amazon Resource Name (ARN) for the playback configuration.

§playback_endpoint_prefix: Option<String>

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

§session_initialization_endpoint_prefix: Option<String>

The URL that the player uses to initialize a session that uses client-side reporting.

§slate_ad_url: Option<String>

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

§tags: Option<HashMap<String, String>>

The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

§transcode_profile_name: Option<String>

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

§video_content_source_url: Option<String>

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

Implementations§

source§

impl GetPlaybackConfigurationOutput

source

pub fn ad_decision_server_url(&self) -> Option<&str>

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

source

pub fn avail_suppression(&self) -> Option<&AvailSuppression>

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

source

pub fn bumper(&self) -> Option<&Bumper>

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

source

pub fn cdn_configuration(&self) -> Option<&CdnConfiguration>

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

source

pub fn configuration_aliases( &self, ) -> Option<&HashMap<String, HashMap<String, String>>>

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

source

pub fn dash_configuration(&self) -> Option<&DashConfiguration>

The configuration for DASH content.

source

pub fn hls_configuration(&self) -> Option<&HlsConfiguration>

The configuration for HLS content.

source

pub fn insertion_mode(&self) -> &InsertionMode

The setting that controls whether players can use stitched or guided ad insertion. The default, STITCHED_ONLY, forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.

source

pub fn live_pre_roll_configuration(&self) -> Option<&LivePreRollConfiguration>

The configuration for pre-roll ad insertion.

source

pub fn log_configuration(&self) -> Option<&LogConfiguration>

The Amazon CloudWatch log settings for a playback configuration.

source

pub fn manifest_processing_rules(&self) -> Option<&ManifestProcessingRules>

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

source

pub fn name(&self) -> Option<&str>

The identifier for the playback configuration.

source

pub fn personalization_threshold_seconds(&self) -> Option<i32>

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

source

pub fn playback_configuration_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) for the playback configuration.

source

pub fn playback_endpoint_prefix(&self) -> Option<&str>

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

source

pub fn session_initialization_endpoint_prefix(&self) -> Option<&str>

The URL that the player uses to initialize a session that uses client-side reporting.

source

pub fn slate_ad_url(&self) -> Option<&str>

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

source

pub fn tags(&self) -> Option<&HashMap<String, String>>

The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

source

pub fn transcode_profile_name(&self) -> Option<&str>

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

source

pub fn video_content_source_url(&self) -> Option<&str>

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

source§

impl GetPlaybackConfigurationOutput

source

pub fn builder() -> GetPlaybackConfigurationOutputBuilder

Creates a new builder-style object to manufacture GetPlaybackConfigurationOutput.

Trait Implementations§

source§

impl Clone for GetPlaybackConfigurationOutput

source§

fn clone(&self) -> GetPlaybackConfigurationOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetPlaybackConfigurationOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for GetPlaybackConfigurationOutput

source§

fn eq(&self, other: &GetPlaybackConfigurationOutput) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for GetPlaybackConfigurationOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for GetPlaybackConfigurationOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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