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.

CreateIdentityPoolInput

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

type CreateIdentityPoolInput struct { AllowUnauthenticatedIdentities *bool `type:"boolean" required:"true"` CognitoIdentityProviders []*Provider `type:"list"` DeveloperProviderName *string `min:"1" type:"string"` IdentityPoolName *string `min:"1" type:"string" required:"true"` OpenIdConnectProviderARNs []*string `type:"list"` SamlProviderARNs []*string `type:"list"` SupportedLoginProviders map[string]*string `type:"map"` }

Input to the CreateIdentityPool action.

AllowUnauthenticatedIdentities

Type: *bool

TRUE if the identity pool supports unauthenticated logins.

AllowUnauthenticatedIdentities is a required field

CognitoIdentityProviders

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

DeveloperProviderName

Type: *string

The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-).

Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.

IdentityPoolName

Type: *string

A string that you provide.

IdentityPoolName is a required field

OpenIdConnectProviderARNs

Type: []*string

A list of OpendID Connect provider ARNs.

SamlProviderARNs

Type: []*string

An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

SupportedLoginProviders

Type: map[string]*string

Optional key:value pairs mapping provider names to provider app IDs.

Method

GoString

func (s CreateIdentityPoolInput) GoString() string

GoString returns the string representation

SetAllowUnauthenticatedIdentities

func (s *CreateIdentityPoolInput) SetAllowUnauthenticatedIdentities(v bool) *CreateIdentityPoolInput

SetAllowUnauthenticatedIdentities sets the AllowUnauthenticatedIdentities field's value.

SetCognitoIdentityProviders

func (s *CreateIdentityPoolInput) SetCognitoIdentityProviders(v []*Provider) *CreateIdentityPoolInput

SetCognitoIdentityProviders sets the CognitoIdentityProviders field's value.

SetDeveloperProviderName

func (s *CreateIdentityPoolInput) SetDeveloperProviderName(v string) *CreateIdentityPoolInput

SetDeveloperProviderName sets the DeveloperProviderName field's value.

SetIdentityPoolName

func (s *CreateIdentityPoolInput) SetIdentityPoolName(v string) *CreateIdentityPoolInput

SetIdentityPoolName sets the IdentityPoolName field's value.

SetOpenIdConnectProviderARNs

func (s *CreateIdentityPoolInput) SetOpenIdConnectProviderARNs(v []*string) *CreateIdentityPoolInput

SetOpenIdConnectProviderARNs sets the OpenIdConnectProviderARNs field's value.

SetSamlProviderARNs

func (s *CreateIdentityPoolInput) SetSamlProviderARNs(v []*string) *CreateIdentityPoolInput

SetSamlProviderARNs sets the SamlProviderARNs field's value.

SetSupportedLoginProviders

func (s *CreateIdentityPoolInput) SetSupportedLoginProviders(v map[string]*string) *CreateIdentityPoolInput

SetSupportedLoginProviders sets the SupportedLoginProviders field's value.

String

func (s CreateIdentityPoolInput) String() string

String returns the string representation

Validate

func (s *CreateIdentityPoolInput) Validate() error

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

On this page: