#[non_exhaustive]pub struct CreateLanguageModelOutput {
pub language_code: Option<ClmLanguageCode>,
pub base_model_name: Option<BaseModelName>,
pub model_name: Option<String>,
pub input_data_config: Option<InputDataConfig>,
pub model_status: Option<ModelStatus>,
/* 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.language_code: Option<ClmLanguageCode>
The language code you selected for your custom language model.
base_model_name: Option<BaseModelName>
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
model_name: Option<String>
The name of your custom language model.
input_data_config: Option<InputDataConfig>
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (S3Uri
) and tuning (TuningDataS3Uri
) data.
model_status: Option<ModelStatus>
The status of your custom language model. When the status displays as COMPLETED
, your model is ready to use.
Implementations§
source§impl CreateLanguageModelOutput
impl CreateLanguageModelOutput
sourcepub fn language_code(&self) -> Option<&ClmLanguageCode>
pub fn language_code(&self) -> Option<&ClmLanguageCode>
The language code you selected for your custom language model.
sourcepub fn base_model_name(&self) -> Option<&BaseModelName>
pub fn base_model_name(&self) -> Option<&BaseModelName>
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The name of your custom language model.
sourcepub fn input_data_config(&self) -> Option<&InputDataConfig>
pub fn input_data_config(&self) -> Option<&InputDataConfig>
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (S3Uri
) and tuning (TuningDataS3Uri
) data.
sourcepub fn model_status(&self) -> Option<&ModelStatus>
pub fn model_status(&self) -> Option<&ModelStatus>
The status of your custom language model. When the status displays as COMPLETED
, your model is ready to use.
source§impl CreateLanguageModelOutput
impl CreateLanguageModelOutput
sourcepub fn builder() -> CreateLanguageModelOutputBuilder
pub fn builder() -> CreateLanguageModelOutputBuilder
Creates a new builder-style object to manufacture CreateLanguageModelOutput
.
Trait Implementations§
source§impl Clone for CreateLanguageModelOutput
impl Clone for CreateLanguageModelOutput
source§fn clone(&self) -> CreateLanguageModelOutput
fn clone(&self) -> CreateLanguageModelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLanguageModelOutput
impl Debug for CreateLanguageModelOutput
source§impl RequestId for CreateLanguageModelOutput
impl RequestId for CreateLanguageModelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateLanguageModelOutput
Auto Trait Implementations§
impl Freeze for CreateLanguageModelOutput
impl RefUnwindSafe for CreateLanguageModelOutput
impl Send for CreateLanguageModelOutput
impl Sync for CreateLanguageModelOutput
impl Unpin for CreateLanguageModelOutput
impl UnwindSafe for CreateLanguageModelOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more