1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateStream`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stream_id(impl Into<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::stream_id) / [`set_stream_id(Option<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::set_stream_id):<br>required: **true**<br><p>The stream ID.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::set_description):<br>required: **false**<br><p>The description of the stream.</p><br>
    ///   - [`files(StreamFile)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::files) / [`set_files(Option<Vec::<StreamFile>>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::set_files):<br>required: **false**<br><p>The files associated with the stream.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_stream::builders::UpdateStreamFluentBuilder::set_role_arn):<br>required: **false**<br><p>An IAM role that allows the IoT service principal assumes to access your S3 files.</p><br>
    /// - On success, responds with [`UpdateStreamOutput`](crate::operation::update_stream::UpdateStreamOutput) with field(s):
    ///   - [`stream_id(Option<String>)`](crate::operation::update_stream::UpdateStreamOutput::stream_id): <p>The stream ID.</p>
    ///   - [`stream_arn(Option<String>)`](crate::operation::update_stream::UpdateStreamOutput::stream_arn): <p>The stream ARN.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_stream::UpdateStreamOutput::description): <p>A description of the stream.</p>
    ///   - [`stream_version(Option<i32>)`](crate::operation::update_stream::UpdateStreamOutput::stream_version): <p>The stream version.</p>
    /// - On failure, responds with [`SdkError<UpdateStreamError>`](crate::operation::update_stream::UpdateStreamError)
    pub fn update_stream(&self) -> crate::operation::update_stream::builders::UpdateStreamFluentBuilder {
        crate::operation::update_stream::builders::UpdateStreamFluentBuilder::new(self.handle.clone())
    }
}