Struct aws_sdk_iam::types::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 tracking 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 tracking period.
Implementations§
source§impl 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 tracking 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 tracking period.
source§impl TrackedActionLastAccessed
impl TrackedActionLastAccessed
sourcepub fn builder() -> TrackedActionLastAccessedBuilder
pub fn builder() -> TrackedActionLastAccessedBuilder
Creates a new builder-style object to manufacture TrackedActionLastAccessed.
Trait Implementations§
source§impl Clone for TrackedActionLastAccessed
impl Clone for TrackedActionLastAccessed
source§fn clone(&self) -> TrackedActionLastAccessed
fn clone(&self) -> TrackedActionLastAccessed
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TrackedActionLastAccessed
impl Debug for TrackedActionLastAccessed
source§impl PartialEq for TrackedActionLastAccessed
impl PartialEq for TrackedActionLastAccessed
source§fn eq(&self, other: &TrackedActionLastAccessed) -> bool
fn eq(&self, other: &TrackedActionLastAccessed) -> bool
self and other values to be equal, and is used
by ==.