Struct aws_sdk_macie2::types::IamUser
source · #[non_exhaustive]pub struct IamUser { /* private fields */ }
Expand description
Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.
Implementations§
source§impl IamUser
impl IamUser
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The unique identifier for the IAM user who performed the action.