aws_sdk_pinpoint/client/
send_messages.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`SendMessages`](crate::operation::send_messages::builders::SendMessagesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::send_messages::builders::SendMessagesFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::send_messages::builders::SendMessagesFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    ///   - [`message_request(MessageRequest)`](crate::operation::send_messages::builders::SendMessagesFluentBuilder::message_request) / [`set_message_request(Option<MessageRequest>)`](crate::operation::send_messages::builders::SendMessagesFluentBuilder::set_message_request):<br>required: **true**<br><p>Specifies the configuration and other settings for a message.</p><br>
8    /// - On success, responds with [`SendMessagesOutput`](crate::operation::send_messages::SendMessagesOutput) with field(s):
9    ///   - [`message_response(Option<MessageResponse>)`](crate::operation::send_messages::SendMessagesOutput::message_response): <p>Provides information about the results of a request to send a message to an endpoint address.</p>
10    /// - On failure, responds with [`SdkError<SendMessagesError>`](crate::operation::send_messages::SendMessagesError)
11    pub fn send_messages(&self) -> crate::operation::send_messages::builders::SendMessagesFluentBuilder {
12        crate::operation::send_messages::builders::SendMessagesFluentBuilder::new(self.handle.clone())
13    }
14}