Struct rusoto_sts::GetFederationTokenResponse [−][src]
pub struct GetFederationTokenResponse { pub credentials: Option<Credentials>, pub federated_user: Option<FederatedUser>, pub packed_policy_size: Option<i64>, }
Contains the response to a successful GetFederationToken request, including temporary AWS credentials that can be used to make AWS requests.
Fields
credentials: Option<Credentials>
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes.
federated_user: 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.
packed_policy_size: Option<i64>
A percentage value indicating the size of the policy in packed form. The service rejects policies for which the packed size is greater than 100 percent of the allowed value.
Trait Implementations
impl Default for GetFederationTokenResponse
[src]
impl Default for GetFederationTokenResponse
fn default() -> GetFederationTokenResponse
[src]
fn default() -> GetFederationTokenResponse
Returns the "default value" for a type. Read more
impl Debug for GetFederationTokenResponse
[src]
impl Debug for GetFederationTokenResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GetFederationTokenResponse
[src]
impl Clone for GetFederationTokenResponse
fn clone(&self) -> GetFederationTokenResponse
[src]
fn clone(&self) -> GetFederationTokenResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for GetFederationTokenResponse
[src]
impl PartialEq for GetFederationTokenResponse
fn eq(&self, other: &GetFederationTokenResponse) -> bool
[src]
fn eq(&self, other: &GetFederationTokenResponse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetFederationTokenResponse) -> bool
[src]
fn ne(&self, other: &GetFederationTokenResponse) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for GetFederationTokenResponse
impl Send for GetFederationTokenResponse
impl Sync for GetFederationTokenResponse
impl Sync for GetFederationTokenResponse