1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PostToConnection`](crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`data(Blob)`](crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder::data) / [`set_data(Option<Blob>)`](crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder::set_data):<br>required: **true**<br><p>The data to be sent to the client specified by its connection id.</p><br>
    ///   - [`connection_id(impl Into<String>)`](crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder::set_connection_id):<br>required: **true**<br><p>The identifier of the connection that a specific client is using.</p><br>
    /// - On success, responds with [`PostToConnectionOutput`](crate::operation::post_to_connection::PostToConnectionOutput)
    /// - On failure, responds with [`SdkError<PostToConnectionError>`](crate::operation::post_to_connection::PostToConnectionError)
    pub fn post_to_connection(&self) -> crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder {
        crate::operation::post_to_connection::builders::PostToConnectionFluentBuilder::new(self.handle.clone())
    }
}