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.

GetIdInput

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

type GetIdInput struct { AccountId *string `min:"1" type:"string"` IdentityPoolId *string `min:"1" type:"string" required:"true"` Logins map[string]*string `type:"map"` }

Input to the GetId action.

AccountId

Type: *string

A standard AWS account ID (9+ digits).

IdentityPoolId

Type: *string

An identity pool ID in the format REGION:GUID.

IdentityPoolId is a required field

Logins

Type: map[string]*string

A set of optional name-value pairs that map provider names to provider tokens. The available provider names for Logins are as follows:

  • Facebook: graph.facebook.com

  • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789

  • Google: accounts.google.com

  • Amazon: www.amazon.com

  • Twitter: api.twitter.com

  • Digits: www.digits.com

Method

GoString

func (s GetIdInput) GoString() string

GoString returns the string representation

SetAccountId

func (s *GetIdInput) SetAccountId(v string) *GetIdInput

SetAccountId sets the AccountId field's value.

SetIdentityPoolId

func (s *GetIdInput) SetIdentityPoolId(v string) *GetIdInput

SetIdentityPoolId sets the IdentityPoolId field's value.

SetLogins

func (s *GetIdInput) SetLogins(v map[string]*string) *GetIdInput

SetLogins sets the Logins field's value.

String

func (s GetIdInput) String() string

String returns the string representation

Validate

func (s *GetIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: