Struct aws_sdk_macie2::model::UserIdentityRoot
source · [−]#[non_exhaustive]pub struct UserIdentityRoot { /* private fields */ }
Expand description
Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for your Amazon Web Services account.
Implementations
sourceimpl UserIdentityRoot
impl UserIdentityRoot
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account.
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 or role that performed the action.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The unique identifier for the entity that performed the action.
sourceimpl UserIdentityRoot
impl UserIdentityRoot
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UserIdentityRoot
.
Trait Implementations
sourceimpl Clone for UserIdentityRoot
impl Clone for UserIdentityRoot
sourcefn clone(&self) -> UserIdentityRoot
fn clone(&self) -> UserIdentityRoot
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 moresourceimpl Debug for UserIdentityRoot
impl Debug for UserIdentityRoot
sourceimpl PartialEq<UserIdentityRoot> for UserIdentityRoot
impl PartialEq<UserIdentityRoot> for UserIdentityRoot
sourcefn eq(&self, other: &UserIdentityRoot) -> bool
fn eq(&self, other: &UserIdentityRoot) -> bool
impl StructuralPartialEq for UserIdentityRoot
Auto Trait Implementations
impl RefUnwindSafe for UserIdentityRoot
impl Send for UserIdentityRoot
impl Sync for UserIdentityRoot
impl Unpin for UserIdentityRoot
impl UnwindSafe for UserIdentityRoot
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