Class: Aws::CognitoIdentity::Types::GetIdentityPoolRolesResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb

Overview

Returned in response to a successful GetIdentityPoolRoles operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identity_pool_idString

An identity pool ID in the format REGION:GUID.

Returns:

  • (String)


504
505
506
507
508
509
510
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 504

class GetIdentityPoolRolesResponse < Struct.new(
  :identity_pool_id,
  :roles,
  :role_mappings)
  SENSITIVE = []
  include Aws::Structure
end

#role_mappingsHash<String,Types::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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".

Returns:



504
505
506
507
508
509
510
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 504

class GetIdentityPoolRolesResponse < Struct.new(
  :identity_pool_id,
  :roles,
  :role_mappings)
  SENSITIVE = []
  include Aws::Structure
end

#rolesHash<String,String>

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

Returns:

  • (Hash<String,String>)


504
505
506
507
508
509
510
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 504

class GetIdentityPoolRolesResponse < Struct.new(
  :identity_pool_id,
  :roles,
  :role_mappings)
  SENSITIVE = []
  include Aws::Structure
end