Struct aws_sdk_macie2::types::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§
source§impl 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.
source§impl UserIdentityRoot
impl UserIdentityRoot
sourcepub fn builder() -> UserIdentityRootBuilder
pub fn builder() -> UserIdentityRootBuilder
Creates a new builder-style object to manufacture UserIdentityRoot
.
Trait Implementations§
source§impl Clone for UserIdentityRoot
impl Clone for UserIdentityRoot
source§fn clone(&self) -> UserIdentityRoot
fn clone(&self) -> UserIdentityRoot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserIdentityRoot
impl Debug for UserIdentityRoot
source§impl PartialEq<UserIdentityRoot> for UserIdentityRoot
impl PartialEq<UserIdentityRoot> for UserIdentityRoot
source§fn eq(&self, other: &UserIdentityRoot) -> bool
fn eq(&self, other: &UserIdentityRoot) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.