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.

CreateTemplateInput

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

type CreateTemplateInput struct { Template *Template `type:"structure" required:"true"` }

Represents a request to create an email template. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).

Template

The content of the email, composed of a subject line, an HTML part, and a text-only part.

Method

GoString

func (s CreateTemplateInput) GoString() string

GoString returns the string representation

SetTemplate

func (s *CreateTemplateInput) SetTemplate(v *Template) *CreateTemplateInput

SetTemplate sets the Template field's value.

String

func (s CreateTemplateInput) String() string

String returns the string representation

Validate

func (s *CreateTemplateInput) Validate() error

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

On this page: