Struct rusoto_cognito_identity::SetIdentityPoolRolesInput
[−]
[src]
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 Default for SetIdentityPoolRolesInput
[src]
fn default() -> SetIdentityPoolRolesInput
[src]
Returns the "default value" for a type. Read more
impl Debug for SetIdentityPoolRolesInput
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SetIdentityPoolRolesInput
[src]
fn clone(&self) -> SetIdentityPoolRolesInput
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more