Struct aws_sdk_ses::client::fluent_builders::UpdateTemplate
source · pub struct UpdateTemplate { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTemplate
.
Updates 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.
Implementations§
source§impl UpdateTemplate
impl UpdateTemplate
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTemplate, AwsResponseRetryClassifier>, SdkError<UpdateTemplateError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTemplate, AwsResponseRetryClassifier>, SdkError<UpdateTemplateError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateTemplateOutput, SdkError<UpdateTemplateError>>
pub async fn send(
self
) -> Result<UpdateTemplateOutput, SdkError<UpdateTemplateError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn template(self, input: Template) -> Self
pub fn template(self, input: Template) -> Self
The content of the email, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn set_template(self, input: Option<Template>) -> Self
pub fn set_template(self, input: Option<Template>) -> Self
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Trait Implementations§
source§impl Clone for UpdateTemplate
impl Clone for UpdateTemplate
source§fn clone(&self) -> UpdateTemplate
fn clone(&self) -> UpdateTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more