Struct aws_sdk_securityhub::types::AwsS3ObjectDetails
source · #[non_exhaustive]pub struct AwsS3ObjectDetails {
pub last_modified: Option<String>,
pub e_tag: Option<String>,
pub version_id: Option<String>,
pub content_type: Option<String>,
pub server_side_encryption: Option<String>,
pub ssekms_key_id: Option<String>,
}Expand description
Details about an Amazon S3 object.
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.last_modified: Option<String>Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
e_tag: Option<String>The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
version_id: Option<String>The version of the object.
content_type: Option<String>A standard MIME type describing the format of the object data.
server_side_encryption: Option<String>If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
ssekms_key_id: Option<String>The identifier of the KMS symmetric customer managed key that was used for the object.
Implementations§
source§impl AwsS3ObjectDetails
impl AwsS3ObjectDetails
sourcepub fn last_modified(&self) -> Option<&str>
pub fn last_modified(&self) -> Option<&str>
Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn e_tag(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The version of the object.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
A standard MIME type describing the format of the object data.
sourcepub fn server_side_encryption(&self) -> Option<&str>
pub fn server_side_encryption(&self) -> Option<&str>
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn ssekms_key_id(&self) -> Option<&str>
pub fn ssekms_key_id(&self) -> Option<&str>
The identifier of the KMS symmetric customer managed key that was used for the object.
source§impl AwsS3ObjectDetails
impl AwsS3ObjectDetails
sourcepub fn builder() -> AwsS3ObjectDetailsBuilder
pub fn builder() -> AwsS3ObjectDetailsBuilder
Creates a new builder-style object to manufacture AwsS3ObjectDetails.
Trait Implementations§
source§impl Clone for AwsS3ObjectDetails
impl Clone for AwsS3ObjectDetails
source§fn clone(&self) -> AwsS3ObjectDetails
fn clone(&self) -> AwsS3ObjectDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsS3ObjectDetails
impl Debug for AwsS3ObjectDetails
source§impl PartialEq for AwsS3ObjectDetails
impl PartialEq for AwsS3ObjectDetails
source§fn eq(&self, other: &AwsS3ObjectDetails) -> bool
fn eq(&self, other: &AwsS3ObjectDetails) -> bool
self and other values to be equal, and is used
by ==.