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.

UnlinkIdentityInput

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

type UnlinkIdentityInput struct { IdentityId *string `min:"1" type:"string" required:"true"` Logins map[string]*string `type:"map" required:"true"` LoginsToRemove []*string `type:"list" required:"true"` }

Input to the UnlinkIdentity action.

IdentityId

Type: *string

A unique identifier in the format REGION:GUID.

IdentityId is a required field

Logins

Type: map[string]*string

A set of optional name-value pairs that map provider names to provider tokens.

Logins is a required field

LoginsToRemove

Type: []*string

Provider names to unlink from this identity.

LoginsToRemove is a required field

Method

GoString

func (s UnlinkIdentityInput) GoString() string

GoString returns the string representation

SetIdentityId

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

SetIdentityId sets the IdentityId field's value.

SetLogins

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

SetLogins sets the Logins field's value.

SetLoginsToRemove

func (s *UnlinkIdentityInput) SetLoginsToRemove(v []*string) *UnlinkIdentityInput

SetLoginsToRemove sets the LoginsToRemove field's value.

String

func (s UnlinkIdentityInput) String() string

String returns the string representation

Validate

func (s *UnlinkIdentityInput) Validate() error

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

On this page: