aws-sdk-kafka 1.126.0

AWS SDK for Managed Streaming for Kafka
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateChannel`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_channel_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies the channel.</p><br>
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p><br>
    ///   - [`iceberg_destination_update(IcebergDestinationUpdate)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::iceberg_destination_update) / [`set_iceberg_destination_update(Option<IcebergDestinationUpdate>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_iceberg_destination_update):<br>required: **false**<br><p>Updates fields on an Apache Iceberg destination. Use only when the channel was created with an Iceberg destination.</p><br>
    ///   - [`s3_destination_update(S3DestinationUpdate)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::s3_destination_update) / [`set_s3_destination_update(Option<S3DestinationUpdate>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_s3_destination_update):<br>required: **false**<br><p>Updates fields on an Amazon S3 destination. Use only when the channel was created with an Amazon S3 destination.</p><br>
    /// - On success, responds with [`UpdateChannelOutput`](crate::operation::update_channel::UpdateChannelOutput) with field(s):
    ///   - [`channel_arn(Option<String>)`](crate::operation::update_channel::UpdateChannelOutput::channel_arn): <p>The Amazon Resource Name (ARN) that uniquely identifies the channel.</p>
    ///   - [`cluster_operation_arn(Option<String>)`](crate::operation::update_channel::UpdateChannelOutput::cluster_operation_arn): <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
    /// - On failure, responds with [`SdkError<UpdateChannelError>`](crate::operation::update_channel::UpdateChannelError)
    pub fn update_channel(&self) -> crate::operation::update_channel::builders::UpdateChannelFluentBuilder {
        crate::operation::update_channel::builders::UpdateChannelFluentBuilder::new(self.handle.clone())
    }
}