pub struct GetTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetTemplate
.
Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
Implementations§
source§impl GetTemplateFluentBuilder
impl GetTemplateFluentBuilder
sourcepub fn as_input(&self) -> &GetTemplateInputBuilder
pub fn as_input(&self) -> &GetTemplateInputBuilder
Access the GetTemplate as a reference.
sourcepub async fn send(
self
) -> Result<GetTemplateOutput, SdkError<GetTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<GetTemplateOutput, SdkError<GetTemplateError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<GetTemplateOutput, GetTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<GetTemplateOutput, GetTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the template to retrieve.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the template to retrieve.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the template to retrieve.
Trait Implementations§
source§impl Clone for GetTemplateFluentBuilder
impl Clone for GetTemplateFluentBuilder
source§fn clone(&self) -> GetTemplateFluentBuilder
fn clone(&self) -> GetTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more