Struct aws_sdk_cloudfront::operation::create_realtime_log_config::CreateRealtimeLogConfigInput
source · #[non_exhaustive]pub struct CreateRealtimeLogConfigInput {
pub end_points: Option<Vec<EndPoint>>,
pub fields: Option<Vec<String>>,
pub name: 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>
A unique name to identify this real-time log configuration.
sampling_rate: Option<i64>
The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
Implementations§
source§impl CreateRealtimeLogConfigInput
impl CreateRealtimeLogConfigInput
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 sampling_rate(&self) -> Option<i64>
pub fn sampling_rate(&self) -> Option<i64>
The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
source§impl CreateRealtimeLogConfigInput
impl CreateRealtimeLogConfigInput
sourcepub fn builder() -> CreateRealtimeLogConfigInputBuilder
pub fn builder() -> CreateRealtimeLogConfigInputBuilder
Creates a new builder-style object to manufacture CreateRealtimeLogConfigInput
.
Trait Implementations§
source§impl Clone for CreateRealtimeLogConfigInput
impl Clone for CreateRealtimeLogConfigInput
source§fn clone(&self) -> CreateRealtimeLogConfigInput
fn clone(&self) -> CreateRealtimeLogConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRealtimeLogConfigInput
impl Debug for CreateRealtimeLogConfigInput
source§impl PartialEq for CreateRealtimeLogConfigInput
impl PartialEq for CreateRealtimeLogConfigInput
source§fn eq(&self, other: &CreateRealtimeLogConfigInput) -> bool
fn eq(&self, other: &CreateRealtimeLogConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRealtimeLogConfigInput
Auto Trait Implementations§
impl Freeze for CreateRealtimeLogConfigInput
impl RefUnwindSafe for CreateRealtimeLogConfigInput
impl Send for CreateRealtimeLogConfigInput
impl Sync for CreateRealtimeLogConfigInput
impl Unpin for CreateRealtimeLogConfigInput
impl UnwindSafe for CreateRealtimeLogConfigInput
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