aws-sdk-pinpoint 0.28.0

AWS SDK for Amazon Pinpoint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendOTPMessage`](crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl ::std::convert::Into<String>)`](crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder::set_application_id): <p>The unique ID of your Amazon Pinpoint application.</p>
    ///   - [`send_otp_message_request_parameters(SendOtpMessageRequestParameters)`](crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder::send_otp_message_request_parameters) / [`set_send_otp_message_request_parameters(Option<SendOtpMessageRequestParameters>)`](crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder::set_send_otp_message_request_parameters): <p>Send OTP message request parameters.</p>
    /// - On success, responds with [`SendOtpMessageOutput`](crate::operation::send_otp_message::SendOtpMessageOutput) with field(s):
    ///   - [`message_response(Option<MessageResponse>)`](crate::operation::send_otp_message::SendOtpMessageOutput::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<SendOTPMessageError>`](crate::operation::send_otp_message::SendOTPMessageError)
    pub fn send_otp_message(
        &self,
    ) -> crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder {
        crate::operation::send_otp_message::builders::SendOTPMessageFluentBuilder::new(
            self.handle.clone(),
        )
    }
}