Struct aws_sdk_iam::model::TrackedActionLastAccessed
source · [−]#[non_exhaustive]pub struct TrackedActionLastAccessed {
pub action_name: Option<String>,
pub last_accessed_entity: Option<String>,
pub last_accessed_time: Option<DateTime>,
pub last_accessed_region: Option<String>,
}
Expand description
Contains details about the most recent attempt to access an action within the service.
This data type is used as a response element in the GetServiceLastAccessedDetails
operation.
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.action_name: Option<String>
The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM.
last_accessed_entity: Option<String>
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
last_accessed_time: Option<DateTime>
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
last_accessed_region: Option<String>
The Region from which the authenticated entity (user or role) last attempted to access the tracked action. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
Implementations
sourceimpl TrackedActionLastAccessed
impl TrackedActionLastAccessed
sourcepub fn action_name(&self) -> Option<&str>
pub fn action_name(&self) -> Option<&str>
The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM.
sourcepub fn last_accessed_entity(&self) -> Option<&str>
pub fn last_accessed_entity(&self) -> Option<&str>
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn last_accessed_time(&self) -> Option<&DateTime>
pub fn last_accessed_time(&self) -> Option<&DateTime>
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
sourcepub fn last_accessed_region(&self) -> Option<&str>
pub fn last_accessed_region(&self) -> Option<&str>
The Region from which the authenticated entity (user or role) last attempted to access the tracked action. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
sourceimpl TrackedActionLastAccessed
impl TrackedActionLastAccessed
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrackedActionLastAccessed
Trait Implementations
sourceimpl Clone for TrackedActionLastAccessed
impl Clone for TrackedActionLastAccessed
sourcefn clone(&self) -> TrackedActionLastAccessed
fn clone(&self) -> TrackedActionLastAccessed
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 TrackedActionLastAccessed
impl Debug for TrackedActionLastAccessed
sourceimpl PartialEq<TrackedActionLastAccessed> for TrackedActionLastAccessed
impl PartialEq<TrackedActionLastAccessed> for TrackedActionLastAccessed
sourcefn eq(&self, other: &TrackedActionLastAccessed) -> bool
fn eq(&self, other: &TrackedActionLastAccessed) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrackedActionLastAccessed) -> bool
fn ne(&self, other: &TrackedActionLastAccessed) -> bool
This method tests for !=
.
impl StructuralPartialEq for TrackedActionLastAccessed
Auto Trait Implementations
impl RefUnwindSafe for TrackedActionLastAccessed
impl Send for TrackedActionLastAccessed
impl Sync for TrackedActionLastAccessed
impl Unpin for TrackedActionLastAccessed
impl UnwindSafe for TrackedActionLastAccessed
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> 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