Struct aws_sdk_macie2::types::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: Option<bool>,
pub server_side_encryption: Option<ServerSideEncryption>,
pub size: Option<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 name (key) of the object, including the object's prefix if applicable.
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 full path to the affected object, including the name of the affected bucket and the object's name (key).
public_access: Option<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 was used to encrypt the object.
size: Option<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§
source§impl 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 key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The full name (key) of the object, including the object's prefix if applicable.
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 path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The full path to the affected object, including the name of the affected bucket and the object's name (key).
sourcepub fn public_access(&self) -> Option<bool>
pub fn public_access(&self) -> Option<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 was 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.