Struct aws_sdk_s3control::model::S3BucketDestination
source · [−]#[non_exhaustive]pub struct S3BucketDestination {
pub format: Option<Format>,
pub output_schema_version: Option<OutputSchemaVersion>,
pub account_id: Option<String>,
pub arn: Option<String>,
pub prefix: Option<String>,
pub encryption: Option<StorageLensDataExportEncryption>,
}Expand description
A container for the bucket where the Amazon S3 Storage Lens metrics export files are located.
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.format: Option<Format>output_schema_version: Option<OutputSchemaVersion>The schema version of the export file.
account_id: Option<String>The account ID of the owner of the S3 Storage Lens metrics export bucket.
arn: Option<String>The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
prefix: Option<String>The prefix of the destination bucket where the metrics export will be delivered.
encryption: Option<StorageLensDataExportEncryption>The container for the type encryption of the metrics exports in this bucket.
Implementations
sourceimpl S3BucketDestination
impl S3BucketDestination
sourcepub fn output_schema_version(&self) -> Option<&OutputSchemaVersion>
pub fn output_schema_version(&self) -> Option<&OutputSchemaVersion>
The schema version of the export file.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID of the owner of the S3 Storage Lens metrics export bucket.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
The prefix of the destination bucket where the metrics export will be delivered.
sourcepub fn encryption(&self) -> Option<&StorageLensDataExportEncryption>
pub fn encryption(&self) -> Option<&StorageLensDataExportEncryption>
The container for the type encryption of the metrics exports in this bucket.
sourceimpl S3BucketDestination
impl S3BucketDestination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3BucketDestination
Trait Implementations
sourceimpl Clone for S3BucketDestination
impl Clone for S3BucketDestination
sourcefn clone(&self) -> S3BucketDestination
fn clone(&self) -> S3BucketDestination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for S3BucketDestination
impl Debug for S3BucketDestination
sourceimpl PartialEq<S3BucketDestination> for S3BucketDestination
impl PartialEq<S3BucketDestination> for S3BucketDestination
sourcefn eq(&self, other: &S3BucketDestination) -> bool
fn eq(&self, other: &S3BucketDestination) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &S3BucketDestination) -> bool
fn ne(&self, other: &S3BucketDestination) -> bool
This method tests for !=.
impl StructuralPartialEq for S3BucketDestination
Auto Trait Implementations
impl RefUnwindSafe for S3BucketDestination
impl Send for S3BucketDestination
impl Sync for S3BucketDestination
impl Unpin for S3BucketDestination
impl UnwindSafe for S3BucketDestination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more