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)


413
414
415
416
417
418
419
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 413

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:



413
414
415
416
417
418
419
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 413

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>)


413
414
415
416
417
418
419
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 413

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