AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

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

On this page: