Struct aws_sdk_macie2::model::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
sourceimpl 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.
sourceimpl ApiCallDetails
impl ApiCallDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ApiCallDetails
Trait Implementations
sourceimpl Clone for ApiCallDetails
impl Clone for ApiCallDetails
sourcefn clone(&self) -> ApiCallDetails
fn clone(&self) -> ApiCallDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApiCallDetails
impl Debug for ApiCallDetails
sourceimpl PartialEq<ApiCallDetails> for ApiCallDetails
impl PartialEq<ApiCallDetails> for ApiCallDetails
sourcefn eq(&self, other: &ApiCallDetails) -> bool
fn eq(&self, other: &ApiCallDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ApiCallDetails) -> bool
fn ne(&self, other: &ApiCallDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for ApiCallDetails
Auto Trait Implementations
impl RefUnwindSafe for ApiCallDetails
impl Send for ApiCallDetails
impl Sync for ApiCallDetails
impl Unpin for ApiCallDetails
impl UnwindSafe for ApiCallDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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