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.

GetCredentialsForIdentityOutput

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

type GetCredentialsForIdentityOutput struct { Credentials *Credentials `type:"structure"` IdentityId *string `min:"1" type:"string"` }

Returned in response to a successful GetCredentialsForIdentity operation.

Credentials

Credentials for the provided identity ID.

IdentityId

Type: *string

A unique identifier in the format REGION:GUID.

Method

GoString

func (s GetCredentialsForIdentityOutput) GoString() string

GoString returns the string representation

SetCredentials

func (s *GetCredentialsForIdentityOutput) SetCredentials(v *Credentials) *GetCredentialsForIdentityOutput

SetCredentials sets the Credentials field's value.

SetIdentityId

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

SetIdentityId sets the IdentityId field's value.

String

func (s GetCredentialsForIdentityOutput) String() string

String returns the string representation

On this page: