#[non_exhaustive]pub struct PartitionedPrefix {
pub partition_date_source: Option<PartitionDateSource>,
}
Expand description
Amazon S3 keys for log objects are partitioned in the following format:
\[DestinationPrefix\]\[SourceAccountId\]/\[SourceRegion\]/\[SourceBucket\]/\[YYYY\]/\[MM\]/\[DD\]/\[YYYY\]-\[MM\]-\[DD\]-\[hh\]-\[mm\]-\[ss\]-\[UniqueString\]
PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.
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.partition_date_source: Option<PartitionDateSource>
Specifies the partition date source for the partitioned prefix. PartitionDateSource
can be EventTime
or DeliveryTime
.
For DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.
For EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
Implementations§
source§impl PartitionedPrefix
impl PartitionedPrefix
sourcepub fn partition_date_source(&self) -> Option<&PartitionDateSource>
pub fn partition_date_source(&self) -> Option<&PartitionDateSource>
Specifies the partition date source for the partitioned prefix. PartitionDateSource
can be EventTime
or DeliveryTime
.
For DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.
For EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
source§impl PartitionedPrefix
impl PartitionedPrefix
sourcepub fn builder() -> PartitionedPrefixBuilder
pub fn builder() -> PartitionedPrefixBuilder
Creates a new builder-style object to manufacture PartitionedPrefix
.
Trait Implementations§
source§impl Clone for PartitionedPrefix
impl Clone for PartitionedPrefix
source§fn clone(&self) -> PartitionedPrefix
fn clone(&self) -> PartitionedPrefix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PartitionedPrefix
impl Debug for PartitionedPrefix
source§impl PartialEq for PartitionedPrefix
impl PartialEq for PartitionedPrefix
impl StructuralPartialEq for PartitionedPrefix
Auto Trait Implementations§
impl Freeze for PartitionedPrefix
impl RefUnwindSafe for PartitionedPrefix
impl Send for PartitionedPrefix
impl Sync for PartitionedPrefix
impl Unpin for PartitionedPrefix
impl UnwindSafe for PartitionedPrefix
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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