1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetProvisionedModelThroughput`](crate::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`provisioned_model_id(impl Into<String>)`](crate::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputFluentBuilder::provisioned_model_id) / [`set_provisioned_model_id(Option<String>)`](crate::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputFluentBuilder::set_provisioned_model_id):<br>required: **true**<br><p>The ARN or name of the provisioned throughput.</p><br>
    /// - On success, responds with [`GetProvisionedModelThroughputOutput`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput) with field(s):
    ///   - [`model_units(i32)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::model_units): <p>The current number of model units requested to be available for this provisioned throughput.</p>
    ///   - [`desired_model_units(i32)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::desired_model_units): <p>The desired number of model units that was requested to be available for this provisioned throughput.</p>
    ///   - [`provisioned_model_name(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::provisioned_model_name): <p>The name of the provisioned throughput.</p>
    ///   - [`provisioned_model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::provisioned_model_arn): <p>The ARN of the provisioned throughput.</p>
    ///   - [`model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::model_arn): <p>The ARN or name of the model associated with this provisioned throughput.</p>
    ///   - [`desired_model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::desired_model_arn): <p>The ARN of the new model to asssociate with this provisioned throughput.</p>
    ///   - [`foundation_model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::foundation_model_arn): <p>ARN of the foundation model.</p>
    ///   - [`status(ProvisionedModelStatus)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::status): <p>Status of the provisioned throughput. </p>
    ///   - [`creation_time(DateTime)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::creation_time): <p>The timestamp of the creation time for this provisioned throughput. </p>
    ///   - [`last_modified_time(DateTime)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::last_modified_time): <p>The timestamp of the last modified time of this provisioned throughput. </p>
    ///   - [`failure_message(Option<String>)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::failure_message): <p>Failure message for any issues that the create operation encounters.</p>
    ///   - [`commitment_duration(Option<CommitmentDuration>)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::commitment_duration): <p>Commitment duration of the provisioned throughput.</p>
    ///   - [`commitment_expiration_time(Option<DateTime>)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::commitment_expiration_time): <p>Commitment expiration time for the provisioned throughput.</p>
    /// - On failure, responds with [`SdkError<GetProvisionedModelThroughputError>`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputError)
    pub fn get_provisioned_model_throughput(
        &self,
    ) -> crate::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputFluentBuilder {
        crate::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputFluentBuilder::new(self.handle.clone())
    }
}