Set Identity Pool Roles
| cognitoidentity_set_identity_pool_roles | R Documentation | 
Sets the roles for an identity pool¶
Description¶
Sets the roles for an identity pool. These roles are used when making
calls to get_credentials_for_identity action.
You must use Amazon Web Services developer credentials to call this operation.
Usage¶
cognitoidentity_set_identity_pool_roles(IdentityPoolId, Roles,
  RoleMappings)
Arguments¶
| IdentityPoolId | [required] An identity pool ID in the format REGION:GUID. | 
| Roles | [required] 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. | 
| RoleMappings | 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,  Up to 25 rules can be specified per identity provider. | 
Value¶
An empty list.
Request syntax¶
svc$set_identity_pool_roles(
  IdentityPoolId = "string",
  Roles = list(
    "string"
  ),
  RoleMappings = list(
    list(
      Type = "Token"|"Rules",
      AmbiguousRoleResolution = "AuthenticatedRole"|"Deny",
      RulesConfiguration = list(
        Rules = list(
          list(
            Claim = "string",
            MatchType = "Equals"|"Contains"|"StartsWith"|"NotEqual",
            Value = "string",
            RoleARN = "string"
          )
        )
      )
    )
  )
)