pub struct SetIdentityPoolRolesInput {
pub identity_pool_id: String,
pub role_mappings: Option<HashMap<String, RoleMapping>>,
pub roles: HashMap<String, String>,
}Expand description
Input to the SetIdentityPoolRoles action.
Fields§
§identity_pool_id: StringAn 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§
Source§impl Clone for SetIdentityPoolRolesInput
impl Clone for SetIdentityPoolRolesInput
Source§fn clone(&self) -> SetIdentityPoolRolesInput
fn clone(&self) -> SetIdentityPoolRolesInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetIdentityPoolRolesInput
impl Debug for SetIdentityPoolRolesInput
Source§impl Default for SetIdentityPoolRolesInput
impl Default for SetIdentityPoolRolesInput
Source§fn default() -> SetIdentityPoolRolesInput
fn default() -> SetIdentityPoolRolesInput
Returns the “default value” for a type. Read more
impl StructuralPartialEq for SetIdentityPoolRolesInput
Auto Trait Implementations§
impl Freeze for SetIdentityPoolRolesInput
impl RefUnwindSafe for SetIdentityPoolRolesInput
impl Send for SetIdentityPoolRolesInput
impl Sync for SetIdentityPoolRolesInput
impl Unpin for SetIdentityPoolRolesInput
impl UnwindSafe for SetIdentityPoolRolesInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more