Struct aws_sdk_sts::output::GetSessionTokenOutput
source · #[non_exhaustive]pub struct GetSessionTokenOutput { /* private fields */ }
Expand description
Contains the response to a successful GetSessionToken
request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Implementations§
source§impl GetSessionTokenOutput
impl GetSessionTokenOutput
sourcepub fn credentials(&self) -> Option<&Credentials>
pub fn credentials(&self) -> Option<&Credentials>
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
source§impl GetSessionTokenOutput
impl GetSessionTokenOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSessionTokenOutput
.
Trait Implementations§
source§impl Clone for GetSessionTokenOutput
impl Clone for GetSessionTokenOutput
source§fn clone(&self) -> GetSessionTokenOutput
fn clone(&self) -> GetSessionTokenOutput
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 GetSessionTokenOutput
impl Debug for GetSessionTokenOutput
source§impl PartialEq<GetSessionTokenOutput> for GetSessionTokenOutput
impl PartialEq<GetSessionTokenOutput> for GetSessionTokenOutput
source§fn eq(&self, other: &GetSessionTokenOutput) -> bool
fn eq(&self, other: &GetSessionTokenOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.