Struct aws_sdk_cloudfront::operation::update_realtime_log_config::UpdateRealtimeLogConfigInput
source · #[non_exhaustive]pub struct UpdateRealtimeLogConfigInput {
pub end_points: Option<Vec<EndPoint>>,
pub fields: Option<Vec<String>>,
pub name: Option<String>,
pub arn: Option<String>,
pub sampling_rate: Option<i64>,
}
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.end_points: Option<Vec<EndPoint>>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
fields: Option<Vec<String>>
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
name: Option<String>
The name for this real-time log configuration.
arn: Option<String>
The Amazon Resource Name (ARN) for this real-time log configuration.
sampling_rate: Option<i64>
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.
Implementations§
source§impl UpdateRealtimeLogConfigInput
impl UpdateRealtimeLogConfigInput
sourcepub fn end_points(&self) -> &[EndPoint]
pub fn end_points(&self) -> &[EndPoint]
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .end_points.is_none()
.
sourcepub fn fields(&self) -> &[String]
pub fn fields(&self) -> &[String]
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .fields.is_none()
.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for this real-time log configuration.
sourcepub fn sampling_rate(&self) -> Option<i64>
pub fn sampling_rate(&self) -> Option<i64>
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.
source§impl UpdateRealtimeLogConfigInput
impl UpdateRealtimeLogConfigInput
sourcepub fn builder() -> UpdateRealtimeLogConfigInputBuilder
pub fn builder() -> UpdateRealtimeLogConfigInputBuilder
Creates a new builder-style object to manufacture UpdateRealtimeLogConfigInput
.
Trait Implementations§
source§impl Clone for UpdateRealtimeLogConfigInput
impl Clone for UpdateRealtimeLogConfigInput
source§fn clone(&self) -> UpdateRealtimeLogConfigInput
fn clone(&self) -> UpdateRealtimeLogConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRealtimeLogConfigInput
impl Debug for UpdateRealtimeLogConfigInput
source§impl PartialEq for UpdateRealtimeLogConfigInput
impl PartialEq for UpdateRealtimeLogConfigInput
source§fn eq(&self, other: &UpdateRealtimeLogConfigInput) -> bool
fn eq(&self, other: &UpdateRealtimeLogConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRealtimeLogConfigInput
Auto Trait Implementations§
impl Freeze for UpdateRealtimeLogConfigInput
impl RefUnwindSafe for UpdateRealtimeLogConfigInput
impl Send for UpdateRealtimeLogConfigInput
impl Sync for UpdateRealtimeLogConfigInput
impl Unpin for UpdateRealtimeLogConfigInput
impl UnwindSafe for UpdateRealtimeLogConfigInput
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> 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