Struct aws_sdk_s3::types::PartitionedPrefix
source · #[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PartitionedPrefix
impl Debug for PartitionedPrefix
source§impl PartialEq for PartitionedPrefix
impl PartialEq for PartitionedPrefix
source§fn eq(&self, other: &PartitionedPrefix) -> bool
fn eq(&self, other: &PartitionedPrefix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartitionedPrefix
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.