Struct aws_sdk_macie2::model::S3Object
source · [−]#[non_exhaustive]pub struct S3Object {
pub bucket_arn: Option<String>,
pub e_tag: Option<String>,
pub extension: Option<String>,
pub key: Option<String>,
pub last_modified: Option<DateTime>,
pub path: Option<String>,
pub public_access: bool,
pub server_side_encryption: Option<ServerSideEncryption>,
pub size: i64,
pub storage_class: Option<StorageClass>,
pub tags: Option<Vec<KeyValuePair>>,
pub version_id: Option<String>,
}
Expand description
Provides information about the S3 object that a finding applies to.
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.bucket_arn: Option<String>
The Amazon Resource Name (ARN) of the bucket that contains the object.
e_tag: Option<String>
The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
extension: Option<String>
The file name extension of the object. If the object doesn't have a file name extension, this value is "".
key: Option<String>
The full key (name) that's assigned to the object.
last_modified: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
path: Option<String>
The path to the object, including the full key (name).
public_access: bool
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
server_side_encryption: Option<ServerSideEncryption>
The type of server-side encryption that's used to encrypt the object.
size: i64
The total storage size, in bytes, of the object.
storage_class: Option<StorageClass>
The storage class of the object.
The tags that are associated with the object.
version_id: Option<String>
The identifier for the affected version of the object.
Implementations
sourceimpl S3Object
impl S3Object
sourcepub fn bucket_arn(&self) -> Option<&str>
pub fn bucket_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bucket that contains the object.
sourcepub fn e_tag(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
sourcepub fn extension(&self) -> Option<&str>
pub fn extension(&self) -> Option<&str>
The file name extension of the object. If the object doesn't have a file name extension, this value is "".
sourcepub fn last_modified(&self) -> Option<&DateTime>
pub fn last_modified(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
sourcepub fn public_access(&self) -> bool
pub fn public_access(&self) -> bool
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
sourcepub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
pub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
The type of server-side encryption that's used to encrypt the object.
sourcepub fn storage_class(&self) -> Option<&StorageClass>
pub fn storage_class(&self) -> Option<&StorageClass>
The storage class of the object.
The tags that are associated with the object.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The identifier for the affected version of the object.
Trait Implementations
impl StructuralPartialEq for S3Object
Auto Trait Implementations
impl RefUnwindSafe for S3Object
impl Send for S3Object
impl Sync for S3Object
impl Unpin for S3Object
impl UnwindSafe for S3Object
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