GetIdentityPoolRolesOutput
import "github.com/aws/aws-sdk-go/service/cognitoidentity"
type GetIdentityPoolRolesOutput struct { IdentityPoolId *string `min:"1" type:"string"` RoleMappings map[string]*RoleMapping `type:"map"` Roles map[string]*string `type:"map"` }
Returned in response to a successful GetIdentityPoolRoles operation.
- IdentityPoolId
-
Type:
*string
An identity pool ID in the format REGION:GUID.
- RoleMappings
-
Type:
map[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".
- Roles
-
Type:
map[string]*string
The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
Method
GoString
func (s GetIdentityPoolRolesOutput) GoString() string
GoString returns the string representation
SetIdentityPoolId
func (s *GetIdentityPoolRolesOutput) SetIdentityPoolId(v string) *GetIdentityPoolRolesOutput
SetIdentityPoolId sets the IdentityPoolId field's value.
SetRoleMappings
func (s *GetIdentityPoolRolesOutput) SetRoleMappings(v map[string]*RoleMapping) *GetIdentityPoolRolesOutput
SetRoleMappings sets the RoleMappings field's value.
SetRoles
func (s *GetIdentityPoolRolesOutput) SetRoles(v map[string]*string) *GetIdentityPoolRolesOutput
SetRoles sets the Roles field's value.
String
func (s GetIdentityPoolRolesOutput) String() string
String returns the string representation