1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBrokerStorage`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p><br>
    ///   - [`current_version(impl Into<String>)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::current_version) / [`set_current_version(Option<String>)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::set_current_version):<br>required: **true**<br><p>The version of cluster to update from. A successful operation will then generate a new version.</p><br>
    ///   - [`target_broker_ebs_volume_info(BrokerEbsVolumeInfo)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::target_broker_ebs_volume_info) / [`set_target_broker_ebs_volume_info(Option<Vec::<BrokerEbsVolumeInfo>>)`](crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::set_target_broker_ebs_volume_info):<br>required: **true**<br><p>Describes the target volume size and the ID of the broker to apply the update to.</p><br>
    /// - On success, responds with [`UpdateBrokerStorageOutput`](crate::operation::update_broker_storage::UpdateBrokerStorageOutput) with field(s):
    ///   - [`cluster_arn(Option<String>)`](crate::operation::update_broker_storage::UpdateBrokerStorageOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster.</p>
    ///   - [`cluster_operation_arn(Option<String>)`](crate::operation::update_broker_storage::UpdateBrokerStorageOutput::cluster_operation_arn): <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
    /// - On failure, responds with [`SdkError<UpdateBrokerStorageError>`](crate::operation::update_broker_storage::UpdateBrokerStorageError)
    pub fn update_broker_storage(&self) -> crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder {
        crate::operation::update_broker_storage::builders::UpdateBrokerStorageFluentBuilder::new(self.handle.clone())
    }
}