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.

AdminLinkProviderForUserInput

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

type AdminLinkProviderForUserInput struct { DestinationUser *ProviderUserIdentifierType `type:"structure" required:"true"` SourceUser *ProviderUserIdentifierType `type:"structure" required:"true"` UserPoolId *string `type:"string" required:"true"` }

DestinationUser

A container for information about an identity provider for a user pool.

SourceUser

A container for information about an identity provider for a user pool.

UserPoolId

Type: *string

The user pool ID for the user pool.

UserPoolId is a required field

Method

GoString

func (s AdminLinkProviderForUserInput) GoString() string

GoString returns the string representation

SetDestinationUser

func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput

SetDestinationUser sets the DestinationUser field's value.

SetSourceUser

func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput

SetSourceUser sets the SourceUser field's value.

SetUserPoolId

func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput

SetUserPoolId sets the UserPoolId field's value.

String

func (s AdminLinkProviderForUserInput) String() string

String returns the string representation

Validate

func (s *AdminLinkProviderForUserInput) Validate() error

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

On this page: