[][src]Struct rusoto_cognito_identity::GetCredentialsForIdentityInput

pub struct GetCredentialsForIdentityInput {
    pub custom_role_arn: Option<String>,
    pub identity_id: String,
    pub logins: Option<HashMap<String, String>>,
}

Input to the GetCredentialsForIdentity action.

Fields

custom_role_arn: Option<String>

The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.

identity_id: String

A unique identifier in the format REGION:GUID.

logins: Option<HashMap<String, String>>

A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".

Logins should not be specified when trying to get credentials for an unauthenticated identity.

The Logins parameter is required when using identities associated with external identity providers such as FaceBook. For examples of Logins maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.

Trait Implementations

impl Clone for GetCredentialsForIdentityInput[src]

impl Debug for GetCredentialsForIdentityInput[src]

impl Default for GetCredentialsForIdentityInput[src]

impl PartialEq<GetCredentialsForIdentityInput> for GetCredentialsForIdentityInput[src]

impl Serialize for GetCredentialsForIdentityInput[src]

impl StructuralPartialEq for GetCredentialsForIdentityInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.