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.

Provider

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

type Provider struct { ClientId *string `min:"1" type:"string"` ProviderName *string `min:"1" type:"string"` ServerSideTokenCheck *bool `type:"boolean"` }

A provider representing an Amazon Cognito Identity User Pool and its client ID.

ClientId

Type: *string

The client ID for the Amazon Cognito Identity User Pool.

ProviderName

Type: *string

The provider name for an Amazon Cognito Identity User Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

ServerSideTokenCheck

Type: *bool

TRUE if server-side token validation is enabled for the identity provider’s token.

Method

GoString

func (s Provider) GoString() string

GoString returns the string representation

SetClientId

func (s *Provider) SetClientId(v string) *Provider

SetClientId sets the ClientId field's value.

SetProviderName

func (s *Provider) SetProviderName(v string) *Provider

SetProviderName sets the ProviderName field's value.

SetServerSideTokenCheck

func (s *Provider) SetServerSideTokenCheck(v bool) *Provider

SetServerSideTokenCheck sets the ServerSideTokenCheck field's value.

String

func (s Provider) String() string

String returns the string representation

Validate

func (s *Provider) Validate() error

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

On this page: