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.

VerificationMessageTemplateType

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

type VerificationMessageTemplateType struct { DefaultEmailOption *string `type:"string" enum:"DefaultEmailOptionType"` EmailMessage *string `min:"6" type:"string"` EmailMessageByLink *string `min:"6" type:"string"` EmailSubject *string `min:"1" type:"string"` EmailSubjectByLink *string `min:"1" type:"string"` SmsMessage *string `min:"6" type:"string"` }

The template for verification messages.

DefaultEmailOption

Type: *string

The default email option.

EmailMessage

Type: *string

The email message template.

EmailMessageByLink

Type: *string

The email message template for sending a confirmation link to the user.

EmailSubject

Type: *string

The subject line for the email message template.

EmailSubjectByLink

Type: *string

The subject line for the email message template for sending a confirmation link to the user.

SmsMessage

Type: *string

The SMS message template.

Method

GoString

func (s VerificationMessageTemplateType) GoString() string

GoString returns the string representation

SetDefaultEmailOption

func (s *VerificationMessageTemplateType) SetDefaultEmailOption(v string) *VerificationMessageTemplateType

SetDefaultEmailOption sets the DefaultEmailOption field's value.

SetEmailMessage

func (s *VerificationMessageTemplateType) SetEmailMessage(v string) *VerificationMessageTemplateType

SetEmailMessage sets the EmailMessage field's value.

func (s *VerificationMessageTemplateType) SetEmailMessageByLink(v string) *VerificationMessageTemplateType

SetEmailMessageByLink sets the EmailMessageByLink field's value.

SetEmailSubject

func (s *VerificationMessageTemplateType) SetEmailSubject(v string) *VerificationMessageTemplateType

SetEmailSubject sets the EmailSubject field's value.

func (s *VerificationMessageTemplateType) SetEmailSubjectByLink(v string) *VerificationMessageTemplateType

SetEmailSubjectByLink sets the EmailSubjectByLink field's value.

SetSmsMessage

func (s *VerificationMessageTemplateType) SetSmsMessage(v string) *VerificationMessageTemplateType

SetSmsMessage sets the SmsMessage field's value.

String

func (s VerificationMessageTemplateType) String() string

String returns the string representation

Validate

func (s *VerificationMessageTemplateType) Validate() error

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

On this page: