Struct aws_sdk_sts::output::GetCallerIdentityOutput
source · #[non_exhaustive]pub struct GetCallerIdentityOutput { /* private fields */ }
Expand description
Contains the response to a successful GetCallerIdentity
request, including information about the entity making the request.
Implementations§
source§impl GetCallerIdentityOutput
impl GetCallerIdentityOutput
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
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.
source§impl GetCallerIdentityOutput
impl GetCallerIdentityOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCallerIdentityOutput
.
Trait Implementations§
source§impl Clone for GetCallerIdentityOutput
impl Clone for GetCallerIdentityOutput
source§fn clone(&self) -> GetCallerIdentityOutput
fn clone(&self) -> GetCallerIdentityOutput
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 GetCallerIdentityOutput
impl Debug for GetCallerIdentityOutput
source§impl PartialEq<GetCallerIdentityOutput> for GetCallerIdentityOutput
impl PartialEq<GetCallerIdentityOutput> for GetCallerIdentityOutput
source§fn eq(&self, other: &GetCallerIdentityOutput) -> bool
fn eq(&self, other: &GetCallerIdentityOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.