Struct aws_sdk_macie2::model::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
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for IamUser
Auto Trait Implementations
impl RefUnwindSafe for IamUser
impl Send for IamUser
impl Sync for IamUser
impl Unpin for IamUser
impl UnwindSafe for IamUser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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