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 [`UpdateProvisionedModelThroughput`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`provisioned_model_id(impl Into<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::provisioned_model_id) / [`set_provisioned_model_id(Option<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::set_provisioned_model_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.</p><br>
    ///   - [`desired_provisioned_model_name(impl Into<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::desired_provisioned_model_name) / [`set_desired_provisioned_model_name(Option<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::set_desired_provisioned_model_name):<br>required: **false**<br><p>The new name for this Provisioned Throughput.</p><br>
    ///   - [`desired_model_id(impl Into<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::desired_model_id) / [`set_desired_model_id(Option<String>)`](crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::set_desired_model_id):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.</p> <p>If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:</p> <ul>  <li>   <p>The base model from which the custom model was customized.</p></li>  <li>   <p>Another custom model that was customized from the same base model as the custom model.</p></li> </ul><br>
    /// - On success, responds with [`UpdateProvisionedModelThroughputOutput`](crate::operation::update_provisioned_model_throughput::UpdateProvisionedModelThroughputOutput)
    /// - On failure, responds with [`SdkError<UpdateProvisionedModelThroughputError>`](crate::operation::update_provisioned_model_throughput::UpdateProvisionedModelThroughputError)
    pub fn update_provisioned_model_throughput(
        &self,
    ) -> crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder {
        crate::operation::update_provisioned_model_throughput::builders::UpdateProvisionedModelThroughputFluentBuilder::new(self.handle.clone())
    }
}