Struct aws_sdk_sts::output::GetCallerIdentityOutput [−][src]
#[non_exhaustive]pub struct GetCallerIdentityOutput {
pub user_id: Option<String>,
pub account: Option<String>,
pub arn: Option<String>,
}
Expand description
Contains the response to a successful GetCallerIdentity
request, including information about the entity making the request.
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.user_id: Option<String>
The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
account: Option<String>
The Amazon Web Services account ID number of the account that owns or contains the calling entity.
arn: Option<String>
The Amazon Web Services ARN associated with the calling entity.
Implementations
The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
The Amazon Web Services account ID number of the account that owns or contains the calling entity.
Creates a new builder-style object to manufacture GetCallerIdentityOutput
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 GetCallerIdentityOutput
impl Send for GetCallerIdentityOutput
impl Sync for GetCallerIdentityOutput
impl Unpin for GetCallerIdentityOutput
impl UnwindSafe for GetCallerIdentityOutput
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