Struct aws_sdk_macie2::types::UserIdentityRoot
source · #[non_exhaustive]pub struct UserIdentityRoot {
pub account_id: Option<String>,
pub arn: Option<String>,
pub principal_id: Option<String>,
}
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.
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.
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 or role that performed the action.
principal_id: Option<String>
The unique identifier for the entity that performed the action.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.