aws-sdk-pinpoint 0.36.0

AWS SDK for Amazon Pinpoint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendMessages`](crate::operation::send_messages::builders::SendMessagesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`SendMessagesOutput`](crate::operation::send_messages::SendMessagesOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<SendMessagesError>`](crate::operation::send_messages::SendMessagesError)
    pub fn send_messages(&self) -> crate::operation::send_messages::builders::SendMessagesFluentBuilder {
        crate::operation::send_messages::builders::SendMessagesFluentBuilder::new(self.handle.clone())
    }
}