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. 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 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. 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 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 ==
.