Struct aws_sdk_mediatailor::model::LogConfiguration
source · #[non_exhaustive]pub struct LogConfiguration { /* private fields */ }Expand description
Returns Amazon CloudWatch log settings for a playback configuration.
Implementations§
source§impl LogConfiguration
impl LogConfiguration
sourcepub fn percent_enabled(&self) -> i32
pub fn percent_enabled(&self) -> i32
The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.
Valid values: 0 - 100
source§impl LogConfiguration
impl LogConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LogConfiguration.
Trait Implementations§
source§impl Clone for LogConfiguration
impl Clone for LogConfiguration
source§fn clone(&self) -> LogConfiguration
fn clone(&self) -> LogConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LogConfiguration
impl Debug for LogConfiguration
source§impl PartialEq<LogConfiguration> for LogConfiguration
impl PartialEq<LogConfiguration> for LogConfiguration
source§fn eq(&self, other: &LogConfiguration) -> bool
fn eq(&self, other: &LogConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.