Struct aws_sdk_macie2::types::ApiCallDetails
source · #[non_exhaustive]pub struct ApiCallDetails {
pub api: Option<String>,
pub api_service_name: Option<String>,
pub first_seen: Option<DateTime>,
pub last_seen: Option<DateTime>,
}
Expand description
Provides information about an API operation that an entity invoked for an affected resource.
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.api: Option<String>
The name of the operation that was invoked most recently and produced the finding.
api_service_name: Option<String>
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
first_seen: Option<DateTime>
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
last_seen: Option<DateTime>
The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
Implementations§
source§impl ApiCallDetails
impl ApiCallDetails
sourcepub fn api(&self) -> Option<&str>
pub fn api(&self) -> Option<&str>
The name of the operation that was invoked most recently and produced the finding.
sourcepub fn api_service_name(&self) -> Option<&str>
pub fn api_service_name(&self) -> Option<&str>
The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.
sourcepub fn first_seen(&self) -> Option<&DateTime>
pub fn first_seen(&self) -> Option<&DateTime>
The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
source§impl ApiCallDetails
impl ApiCallDetails
sourcepub fn builder() -> ApiCallDetailsBuilder
pub fn builder() -> ApiCallDetailsBuilder
Creates a new builder-style object to manufacture ApiCallDetails
.
Trait Implementations§
source§impl Clone for ApiCallDetails
impl Clone for ApiCallDetails
source§fn clone(&self) -> ApiCallDetails
fn clone(&self) -> ApiCallDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApiCallDetails
impl Debug for ApiCallDetails
source§impl PartialEq for ApiCallDetails
impl PartialEq for ApiCallDetails
source§fn eq(&self, other: &ApiCallDetails) -> bool
fn eq(&self, other: &ApiCallDetails) -> bool
self
and other
values to be equal, and is used
by ==
.