Struct aws_sdk_s3::model::LoggingEnabled [−][src]
#[non_exhaustive]pub struct LoggingEnabled {
pub target_bucket: Option<String>,
pub target_grants: Option<Vec<TargetGrant>>,
pub target_prefix: Option<String>,
}
Expand description
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
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.target_bucket: Option<String>
Specifies the bucket where you want Amazon S3 to store server access logs. You can have your
logs delivered to any bucket that you own, including the same bucket that is being logged.
You can also configure multiple buckets to deliver their logs to the same target bucket. In
this case, you should choose a different TargetPrefix
for each source bucket
so that the delivered log files can be distinguished by key.
target_grants: Option<Vec<TargetGrant>>
Container for granting information.
target_prefix: Option<String>
A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.
Implementations
Creates a new builder-style object to manufacture LoggingEnabled
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LoggingEnabled
impl Send for LoggingEnabled
impl Sync for LoggingEnabled
impl Unpin for LoggingEnabled
impl UnwindSafe for LoggingEnabled
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more