#[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.impl StructuralPartialEq for GetSessionTokenOutput
Auto Trait Implementations§
impl Freeze for GetSessionTokenOutput
impl RefUnwindSafe for GetSessionTokenOutput
impl Send for GetSessionTokenOutput
impl Sync for GetSessionTokenOutput
impl Unpin for GetSessionTokenOutput
impl UnwindSafe for GetSessionTokenOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)