Struct aws_sdk_macie2::model::UserIdentity
source · [−]#[non_exhaustive]pub struct UserIdentity {
pub assumed_role: Option<AssumedRole>,
pub aws_account: Option<AwsAccount>,
pub aws_service: Option<AwsService>,
pub federated_user: Option<FederatedUser>,
pub iam_user: Option<IamUser>,
pub root: Option<UserIdentityRoot>,
pub type: Option<UserIdentityType>,
}
Expand description
Provides information about the type and other characteristics of an entity that 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.assumed_role: Option<AssumedRole>
If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
aws_account: Option<AwsAccount>
If the action was performed using the credentials for another Amazon Web Services account, the details of that account.
aws_service: Option<AwsService>
If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.
federated_user: Option<FederatedUser>
If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
iam_user: Option<IamUser>
If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.
root: Option<UserIdentityRoot>
If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
type: Option<UserIdentityType>
The type of entity that performed the action.
Implementations
If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
If the action was performed using the credentials for another Amazon Web Services account, the details of that account.
If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.
If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.
If the action was performed using the credentials for your Amazon Web Services account, the details of your account.
The type of entity that performed the action.
Creates a new builder-style object to manufacture UserIdentity
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UserIdentity
impl Send for UserIdentity
impl Sync for UserIdentity
impl Unpin for UserIdentity
impl UnwindSafe for UserIdentity
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more