1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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_id(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The cluster ID of the cluster that you want to update, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_role_arn):<br>required: **false**<br><p>The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of this cluster.</p><br>
    ///   - [`resources(JobResource)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::resources) / [`set_resources(Option<JobResource>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_resources):<br>required: **false**<br><p>The updated arrays of <code>JobResource</code> objects that can include updated <code>S3Resource</code> objects or <code>LambdaResource</code> objects.</p><br>
    ///   - [`on_device_service_configuration(OnDeviceServiceConfiguration)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::on_device_service_configuration) / [`set_on_device_service_configuration(Option<OnDeviceServiceConfiguration>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_on_device_service_configuration):<br>required: **false**<br><p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).</p><br>
    ///   - [`address_id(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::address_id) / [`set_address_id(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_address_id):<br>required: **false**<br><p>The ID of the updated <code>Address</code> object.</p><br>
    ///   - [`shipping_option(ShippingOption)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::shipping_option) / [`set_shipping_option(Option<ShippingOption>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_shipping_option):<br>required: **false**<br><p>The updated shipping option value of this cluster's <code>ShippingDetails</code> object.</p><br>
    ///   - [`notification(Notification)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::notification) / [`set_notification(Option<Notification>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_notification):<br>required: **false**<br><p>The new or updated <code>Notification</code> object.</p><br>
    ///   - [`forwarding_address_id(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::forwarding_address_id) / [`set_forwarding_address_id(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_forwarding_address_id):<br>required: **false**<br><p>The updated ID for the forwarding address for a cluster. This field is not supported in most regions.</p><br>
    /// - On success, responds with [`UpdateClusterOutput`](crate::operation::update_cluster::UpdateClusterOutput)
    /// - 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())
    }
}