aws-sdk-pinpointsmsvoicev2 1.124.0

AWS SDK for Amazon Pinpoint SMS Voice V2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutMessageFeedback`](crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`message_id(impl Into<String>)`](crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder::set_message_id):<br>required: **true**<br><p>The unique identifier for the message.</p><br>
    ///   - [`message_feedback_status(MessageFeedbackStatus)`](crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder::message_feedback_status) / [`set_message_feedback_status(Option<MessageFeedbackStatus>)`](crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder::set_message_feedback_status):<br>required: **true**<br><p>Set the message feedback to be either <code>RECEIVED</code> or <code>FAILED</code>.</p><br>
    /// - On success, responds with [`PutMessageFeedbackOutput`](crate::operation::put_message_feedback::PutMessageFeedbackOutput) with field(s):
    ///   - [`message_id(String)`](crate::operation::put_message_feedback::PutMessageFeedbackOutput::message_id): <p>The unique identifier for the message.</p>
    ///   - [`message_feedback_status(MessageFeedbackStatus)`](crate::operation::put_message_feedback::PutMessageFeedbackOutput::message_feedback_status): <p>The current status of the message.</p>
    /// - On failure, responds with [`SdkError<PutMessageFeedbackError>`](crate::operation::put_message_feedback::PutMessageFeedbackError)
    pub fn put_message_feedback(&self) -> crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder {
        crate::operation::put_message_feedback::builders::PutMessageFeedbackFluentBuilder::new(self.handle.clone())
    }
}