[][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 PartialEq<GetCredentialsForIdentityInput> for GetCredentialsForIdentityInput[src]

impl Default for GetCredentialsForIdentityInput[src]

impl Clone for GetCredentialsForIdentityInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetCredentialsForIdentityInput[src]

impl Serialize for GetCredentialsForIdentityInput[src]

Auto Trait Implementations

impl Send for GetCredentialsForIdentityInput

impl Sync for GetCredentialsForIdentityInput

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self