Struct aws_sdk_workmailmessageflow::operation::put_raw_message_content::builders::PutRawMessageContentFluentBuilder
source · pub struct PutRawMessageContentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PutRawMessageContent.
Updates the raw content of an in-transit email message, in MIME format.
This example describes how to update in-transit email message. For more information and examples for using this API, see Updating message content with AWS Lambda.
Updates to an in-transit message only appear when you call PutRawMessageContent from an AWS Lambda function configured with a synchronous Run Lambda rule. If you call PutRawMessageContent on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent returns an updated message.
Implementations§
source§impl PutRawMessageContentFluentBuilder
impl PutRawMessageContentFluentBuilder
sourcepub fn as_input(&self) -> &PutRawMessageContentInputBuilder
pub fn as_input(&self) -> &PutRawMessageContentInputBuilder
Access the PutRawMessageContent as a reference.
sourcepub async fn send(
self
) -> Result<PutRawMessageContentOutput, SdkError<PutRawMessageContentError, HttpResponse>>
pub async fn send( self ) -> Result<PutRawMessageContentOutput, SdkError<PutRawMessageContentError, 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<PutRawMessageContentOutput, PutRawMessageContentError, Self>
pub fn customize( self ) -> CustomizableOperation<PutRawMessageContentOutput, PutRawMessageContentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
The identifier of the email message being updated.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
The identifier of the email message being updated.
sourcepub fn get_message_id(&self) -> &Option<String>
pub fn get_message_id(&self) -> &Option<String>
The identifier of the email message being updated.
sourcepub fn content(self, input: RawMessageContent) -> Self
pub fn content(self, input: RawMessageContent) -> Self
Describes the raw message content of the updated email message.
sourcepub fn set_content(self, input: Option<RawMessageContent>) -> Self
pub fn set_content(self, input: Option<RawMessageContent>) -> Self
Describes the raw message content of the updated email message.
sourcepub fn get_content(&self) -> &Option<RawMessageContent>
pub fn get_content(&self) -> &Option<RawMessageContent>
Describes the raw message content of the updated email message.
Trait Implementations§
source§impl Clone for PutRawMessageContentFluentBuilder
impl Clone for PutRawMessageContentFluentBuilder
source§fn clone(&self) -> PutRawMessageContentFluentBuilder
fn clone(&self) -> PutRawMessageContentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more