Struct aws_sdk_bedrock::operation::get_provisioned_model_throughput::GetProvisionedModelThroughputOutput
source · #[non_exhaustive]pub struct GetProvisionedModelThroughputOutput {Show 13 fields
pub model_units: Option<i32>,
pub desired_model_units: Option<i32>,
pub provisioned_model_name: Option<String>,
pub provisioned_model_arn: Option<String>,
pub model_arn: Option<String>,
pub desired_model_arn: Option<String>,
pub foundation_model_arn: Option<String>,
pub status: Option<ProvisionedModelStatus>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub failure_message: Option<String>,
pub commitment_duration: Option<CommitmentDuration>,
pub commitment_expiration_time: Option<DateTime>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_units: Option<i32>The current number of model units requested to be available for this provisioned throughput.
desired_model_units: Option<i32>The desired number of model units that was requested to be available for this provisioned throughput.
provisioned_model_name: Option<String>The name of the provisioned throughput.
provisioned_model_arn: Option<String>The ARN of the provisioned throughput.
model_arn: Option<String>The ARN or name of the model associated with this provisioned throughput.
desired_model_arn: Option<String>The ARN of the new model to asssociate with this provisioned throughput.
foundation_model_arn: Option<String>ARN of the foundation model.
status: Option<ProvisionedModelStatus>Status of the provisioned throughput.
creation_time: Option<DateTime>The timestamp of the creation time for this provisioned throughput.
last_modified_time: Option<DateTime>The timestamp of the last modified time of this provisioned throughput.
failure_message: Option<String>Failure message for any issues that the create operation encounters.
commitment_duration: Option<CommitmentDuration>Commitment duration of the provisioned throughput.
commitment_expiration_time: Option<DateTime>Commitment expiration time for the provisioned throughput.
Implementations§
source§impl GetProvisionedModelThroughputOutput
impl GetProvisionedModelThroughputOutput
sourcepub fn model_units(&self) -> Option<i32>
pub fn model_units(&self) -> Option<i32>
The current number of model units requested to be available for this provisioned throughput.
sourcepub fn desired_model_units(&self) -> Option<i32>
pub fn desired_model_units(&self) -> Option<i32>
The desired number of model units that was requested to be available for this provisioned throughput.
sourcepub fn provisioned_model_name(&self) -> Option<&str>
pub fn provisioned_model_name(&self) -> Option<&str>
The name of the provisioned throughput.
sourcepub fn provisioned_model_arn(&self) -> Option<&str>
pub fn provisioned_model_arn(&self) -> Option<&str>
The ARN of the provisioned throughput.
sourcepub fn model_arn(&self) -> Option<&str>
pub fn model_arn(&self) -> Option<&str>
The ARN or name of the model associated with this provisioned throughput.
sourcepub fn desired_model_arn(&self) -> Option<&str>
pub fn desired_model_arn(&self) -> Option<&str>
The ARN of the new model to asssociate with this provisioned throughput.
sourcepub fn foundation_model_arn(&self) -> Option<&str>
pub fn foundation_model_arn(&self) -> Option<&str>
ARN of the foundation model.
sourcepub fn status(&self) -> Option<&ProvisionedModelStatus>
pub fn status(&self) -> Option<&ProvisionedModelStatus>
Status of the provisioned throughput.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The timestamp of the creation time for this provisioned throughput.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp of the last modified time of this provisioned throughput.
sourcepub fn failure_message(&self) -> Option<&str>
pub fn failure_message(&self) -> Option<&str>
Failure message for any issues that the create operation encounters.
sourcepub fn commitment_duration(&self) -> Option<&CommitmentDuration>
pub fn commitment_duration(&self) -> Option<&CommitmentDuration>
Commitment duration of the provisioned throughput.
sourcepub fn commitment_expiration_time(&self) -> Option<&DateTime>
pub fn commitment_expiration_time(&self) -> Option<&DateTime>
Commitment expiration time for the provisioned throughput.
source§impl GetProvisionedModelThroughputOutput
impl GetProvisionedModelThroughputOutput
sourcepub fn builder() -> GetProvisionedModelThroughputOutputBuilder
pub fn builder() -> GetProvisionedModelThroughputOutputBuilder
Creates a new builder-style object to manufacture GetProvisionedModelThroughputOutput.
Trait Implementations§
source§impl Clone for GetProvisionedModelThroughputOutput
impl Clone for GetProvisionedModelThroughputOutput
source§fn clone(&self) -> GetProvisionedModelThroughputOutput
fn clone(&self) -> GetProvisionedModelThroughputOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetProvisionedModelThroughputOutput
impl PartialEq for GetProvisionedModelThroughputOutput
source§fn eq(&self, other: &GetProvisionedModelThroughputOutput) -> bool
fn eq(&self, other: &GetProvisionedModelThroughputOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetProvisionedModelThroughputOutput
impl RequestId for GetProvisionedModelThroughputOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.