Skip to content

GetIdentityPoolRolesResponse

Source code in docs_src/capo_cognito_identity/types/get_identity_pool_roles_response.py
class GetIdentityPoolRolesResponse(TypedDict, closed=True):
    identity_pool_id: NotRequired[
        "capo_cognito_identity.types.identity_pool_id.IdentityPoolId"
    ]
    """<p>An identity pool ID in the format REGION:GUID.</p>"""
    roles: NotRequired["capo_cognito_identity.types.roles_map.RolesMap"]
    """<p>The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.</p>"""
    role_mappings: NotRequired[
        "capo_cognito_identity.types.role_mapping_map.RoleMappingMap"
    ]
    """<p>How users for a specific identity provider are to mapped to roles. This is a String-to-<a>RoleMapping</a> object map. The string identifies the identity provider, for example, <code>graph.facebook.com</code> or <code>cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id</code>.</p>"""

identity_pool_id instance-attribute

identity_pool_id: NotRequired[IdentityPoolId]

An identity pool ID in the format REGION:GUID.

role_mappings instance-attribute

role_mappings: NotRequired[RoleMappingMap]

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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id.

roles instance-attribute

roles: NotRequired[RolesMap]

The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.