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]
impl Default for SetIdentityPoolRolesInput
fn default() -> SetIdentityPoolRolesInput
[src]
fn default() -> SetIdentityPoolRolesInput
Returns the "default value" for a type. Read more
impl Debug for SetIdentityPoolRolesInput
[src]
impl Debug for SetIdentityPoolRolesInput
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 SetIdentityPoolRolesInput
[src]
impl Clone for SetIdentityPoolRolesInput
fn clone(&self) -> SetIdentityPoolRolesInput
[src]
fn clone(&self) -> SetIdentityPoolRolesInput
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 SetIdentityPoolRolesInput
[src]
impl PartialEq for SetIdentityPoolRolesInput
fn eq(&self, other: &SetIdentityPoolRolesInput) -> bool
[src]
fn eq(&self, other: &SetIdentityPoolRolesInput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetIdentityPoolRolesInput) -> bool
[src]
fn ne(&self, other: &SetIdentityPoolRolesInput) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SetIdentityPoolRolesInput
impl Send for SetIdentityPoolRolesInput
impl Sync for SetIdentityPoolRolesInput
impl Sync for SetIdentityPoolRolesInput