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 ==
.impl StructuralPartialEq for AwsS3ObjectDetails
Auto Trait Implementations§
impl Freeze for AwsS3ObjectDetails
impl RefUnwindSafe for AwsS3ObjectDetails
impl Send for AwsS3ObjectDetails
impl Sync for AwsS3ObjectDetails
impl Unpin for AwsS3ObjectDetails
impl UnwindSafe for AwsS3ObjectDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more