[][src]Struct rusoto_cognito_identity::SetIdentityPoolRolesInput

pub struct SetIdentityPoolRolesInput {
    pub identity_pool_id: String,
    pub role_mappings: Option<HashMap<String, RoleMapping>>,
    pub roles: HashMap<String, String>,
}

Input to the SetIdentityPoolRoles action.

Fields

identity_pool_id: String

An identity pool ID in the format REGION:GUID.

role_mappings: Option<HashMap<String, RoleMapping>>

How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".

Up to 25 rules can be specified per identity provider.

roles: HashMap<String, String>

The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

Trait Implementations

impl Clone for SetIdentityPoolRolesInput[src]

impl Debug for SetIdentityPoolRolesInput[src]

impl Default for SetIdentityPoolRolesInput[src]

impl PartialEq<SetIdentityPoolRolesInput> for SetIdentityPoolRolesInput[src]

impl Serialize for SetIdentityPoolRolesInput[src]

impl StructuralPartialEq for SetIdentityPoolRolesInput[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.