#[non_exhaustive]pub struct GetSessionTokenOutput {
pub credentials: Option<Credentials>,
/* 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.
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.credentials: 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.
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() -> GetSessionTokenOutputBuilder
pub fn builder() -> GetSessionTokenOutputBuilder
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetSessionTokenOutput
impl Debug for GetSessionTokenOutput
Source§impl PartialEq for GetSessionTokenOutput
impl PartialEq for GetSessionTokenOutput
Source§impl RequestId for GetSessionTokenOutput
impl RequestId for GetSessionTokenOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.