Struct aws_sdk_sts::output::GetFederationTokenOutput
source · #[non_exhaustive]pub struct GetFederationTokenOutput { /* private fields */ }
Expand description
Contains the response to a successful GetFederationToken
request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Implementations§
source§impl GetFederationTokenOutput
impl GetFederationTokenOutput
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.
sourcepub fn federated_user(&self) -> Option<&FederatedUser>
pub fn federated_user(&self) -> Option<&FederatedUser>
Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob
or 123456789012:Bob
). You can use the federated user's ARN in your resource-based policies, such as an Amazon S3 bucket policy.
sourcepub fn packed_policy_size(&self) -> Option<i32>
pub fn packed_policy_size(&self) -> Option<i32>
A percentage value that indicates the packed size of the session policies and session tags combined passed in the request. The request fails if the packed size is greater than 100 percent, which means the policies and tags exceeded the allowed space.
source§impl GetFederationTokenOutput
impl GetFederationTokenOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetFederationTokenOutput
.
Trait Implementations§
source§impl Clone for GetFederationTokenOutput
impl Clone for GetFederationTokenOutput
source§fn clone(&self) -> GetFederationTokenOutput
fn clone(&self) -> GetFederationTokenOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFederationTokenOutput
impl Debug for GetFederationTokenOutput
source§impl PartialEq<GetFederationTokenOutput> for GetFederationTokenOutput
impl PartialEq<GetFederationTokenOutput> for GetFederationTokenOutput
source§fn eq(&self, other: &GetFederationTokenOutput) -> bool
fn eq(&self, other: &GetFederationTokenOutput) -> bool
self
and other
values to be equal, and is used
by ==
.