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