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.

GetOpenIdTokenOutput

import "github.com/aws/aws-sdk-go/service/cognitoidentity"

type GetOpenIdTokenOutput struct { IdentityId *string `min:"1" type:"string"` Token *string `type:"string"` }

Returned in response to a successful GetOpenIdToken request.

IdentityId

Type: *string

A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.

Token

Type: *string

An OpenID token, valid for 15 minutes.

Method

GoString

func (s GetOpenIdTokenOutput) GoString() string

GoString returns the string representation

SetIdentityId

func (s *GetOpenIdTokenOutput) SetIdentityId(v string) *GetOpenIdTokenOutput

SetIdentityId sets the IdentityId field's value.

SetToken

func (s *GetOpenIdTokenOutput) SetToken(v string) *GetOpenIdTokenOutput

SetToken sets the Token field's value.

String

func (s GetOpenIdTokenOutput) String() string

String returns the string representation

On this page: