Struct aws_sdk_macie2::types::IamUser
source · #[non_exhaustive]pub struct IamUser {
pub account_id: Option<String>,
pub arn: Option<String>,
pub principal_id: Option<String>,
pub user_name: Option<String>,
}
Expand description
Provides information about an Identity and Access Management (IAM) user who performed an action on 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.account_id: Option<String>
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
arn: Option<String>
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.
principal_id: Option<String>
The unique identifier for the IAM user who performed the action.
user_name: Option<String>
The username of the IAM user who performed the action.
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.