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.

CreateIdentityProviderInput

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

type CreateIdentityProviderInput struct { AttributeMapping map[string]*string `type:"map"` IdpIdentifiers []*string `type:"list"` ProviderDetails map[string]*string `type:"map" required:"true"` ProviderName *string `min:"1" type:"string" required:"true"` ProviderType *string `type:"string" required:"true" enum:"IdentityProviderTypeType"` UserPoolId *string `min:"1" type:"string" required:"true"` }

AttributeMapping

Type: map[string]*string

A mapping of identity provider attributes to standard and custom user pool attributes.

IdpIdentifiers

Type: []*string

A list of identity provider identifiers.

ProviderDetails

Type: map[string]*string

The identity provider details, such as MetadataURL and MetadataFile.

ProviderDetails is a required field

ProviderName

Type: *string

The identity provider name.

ProviderName is a required field

ProviderType

Type: *string

The identity provider type.

ProviderType is a required field

UserPoolId

Type: *string

The user pool ID.

UserPoolId is a required field

Method

GoString

func (s CreateIdentityProviderInput) GoString() string

GoString returns the string representation

SetAttributeMapping

func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput

SetAttributeMapping sets the AttributeMapping field's value.

SetIdpIdentifiers

func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput

SetIdpIdentifiers sets the IdpIdentifiers field's value.

SetProviderDetails

func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput

SetProviderDetails sets the ProviderDetails field's value.

SetProviderName

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

SetProviderName sets the ProviderName field's value.

SetProviderType

func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput

SetProviderType sets the ProviderType field's value.

SetUserPoolId

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

SetUserPoolId sets the UserPoolId field's value.

String

func (s CreateIdentityProviderInput) String() string

String returns the string representation

Validate

func (s *CreateIdentityProviderInput) Validate() error

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

On this page: