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.

AdminCreateUserConfigType

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

type AdminCreateUserConfigType struct { AllowAdminCreateUserOnly *bool `type:"boolean"` InviteMessageTemplate *MessageTemplateType `type:"structure"` UnusedAccountValidityDays *int64 `type:"integer"` }

The configuration for creating a new user profile.

AllowAdminCreateUserOnly

Type: *bool

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

InviteMessageTemplate

The message template structure.

UnusedAccountValidityDays

Type: *int64

The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7.

Method

GoString

func (s AdminCreateUserConfigType) GoString() string

GoString returns the string representation

SetAllowAdminCreateUserOnly

func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType

SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value.

SetInviteMessageTemplate

func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType

SetInviteMessageTemplate sets the InviteMessageTemplate field's value.

SetUnusedAccountValidityDays

func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType

SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value.

String

func (s AdminCreateUserConfigType) String() string

String returns the string representation

Validate

func (s *AdminCreateUserConfigType) Validate() error

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

On this page: