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 Amazon Resource Name (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 number of model units allocated to this Provisioned Throughput.</p>
    ///   - [`desired_model_units(i32)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::desired_model_units): <p>The number of model units that was requested 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 Amazon Resource Name (ARN) of the Provisioned Throughput.</p>
    ///   - [`model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::model_arn): <p>The Amazon Resource Name (ARN) 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 Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the <code>modelArn</code> if updating hasn't completed.</p>
    ///   - [`foundation_model_arn(String)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::foundation_model_arn): <p>The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.</p>
    ///   - [`status(ProvisionedModelStatus)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::status): <p>The 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 time that this Provisioned Throughput was modified.</p>
    ///   - [`failure_message(Option<String>)`](crate::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput::failure_message): <p>A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.</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>The timestamp for when the commitment term for the Provisioned Throughput expires.</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())
    }
}