Smaws_Client_SES.CreateTemplateCreates an email template. Email templates enable you to send personalized email to one or more destinations in a single operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidTemplateException of Types.invalid_template_exception
| `LimitExceededException of Types.limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_template_request ->
(Types.create_template_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidTemplateException of Types.invalid_template_exception
| `LimitExceededException of Types.limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_template_request ->
(Types.create_template_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidTemplateException of Types.invalid_template_exception
| `LimitExceededException of Types.limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result