1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCluster`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_name(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_cluster_name):<br>required: **true**<br><p>Specify the name of the SageMaker HyperPod cluster you want to update.</p><br>
    ///   - [`instance_groups(ClusterInstanceGroupSpecification)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::instance_groups) / [`set_instance_groups(Option<Vec::<ClusterInstanceGroupSpecification>>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_instance_groups):<br>required: **true**<br><p>Specify the instance groups to update.</p><br>
    /// - On success, responds with [`UpdateClusterOutput`](crate::operation::update_cluster::UpdateClusterOutput) with field(s):
    ///   - [`cluster_arn(Option<String>)`](crate::operation::update_cluster::UpdateClusterOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the updated SageMaker HyperPod cluster.</p>
    /// - On failure, responds with [`SdkError<UpdateClusterError>`](crate::operation::update_cluster::UpdateClusterError)
    pub fn update_cluster(&self) -> crate::operation::update_cluster::builders::UpdateClusterFluentBuilder {
        crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::new(self.handle.clone())
    }
}