// Creates an email template. Email templates enable you to send personalized email
// to one or more destinations in a single API operation. For more information, see
// the Amazon SES Developer Guide
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).
// You can execute this operation no more than once per second.
Creates an email template. Email templates enable you to send personalized email
to one or more destinations in a single API operation. For more information, see
the Amazon SES Developer Guide
.
You can execute this operation no more than once per second.
// Creates an email template . Email templates enable you to send personalized email // to one or more destinations in a single API operation . For more information see // the Amazon SES Developer Guide // ( https : // docs . aws . amazon . com / ses / latest / DeveloperGuide / send - personalized - email - api . html ) . // You can execute this operation no more than once per second .
func (c *Client) CreateTemplate(ctx context.Context, params *CreateTemplateInput, optFns ...func(*Options)) (*CreateTemplateOutput, error) {
	if params == nil {
		params = &CreateTemplateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateTemplate", params, optFns, addOperationCreateTemplateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateTemplateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateTemplate ( ctx context . Context , params * CreateTemplateInput , optFns ... func ( * Options ) ) ( * CreateTemplateOutput , error ) { if params == nil { params = & CreateTemplateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateTemplateMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateTemplateOutput ) out . ResultMetadata = metadata return out , nil }
Creates an email template.
Creates an email template .