pub struct DocumentClassifierProperties {Show 16 fields
pub classifier_metadata: Option<ClassifierMetadata>,
pub data_access_role_arn: Option<String>,
pub document_classifier_arn: Option<String>,
pub end_time: Option<f64>,
pub input_data_config: Option<DocumentClassifierInputDataConfig>,
pub language_code: Option<String>,
pub message: Option<String>,
pub mode: Option<String>,
pub model_kms_key_id: Option<String>,
pub output_data_config: Option<DocumentClassifierOutputDataConfig>,
pub status: Option<String>,
pub submit_time: Option<f64>,
pub training_end_time: Option<f64>,
pub training_start_time: Option<f64>,
pub volume_kms_key_id: Option<String>,
pub vpc_config: Option<VpcConfig>,
}
Expand description
Provides information about a document classifier.
Fields
classifier_metadata: Option<ClassifierMetadata>
Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
data_access_role_arn: Option<String>
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.
document_classifier_arn: Option<String>
The Amazon Resource Name (ARN) that identifies the document classifier.
end_time: Option<f64>
The time that training the document classifier completed.
input_data_config: Option<DocumentClassifierInputDataConfig>
The input data configuration that you supplied when you created the document classifier for training.
language_code: Option<String>
The language code for the language of the documents that the classifier was trained on.
message: Option<String>
Additional information about the status of the classifier.
mode: Option<String>
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
model_kms_key_id: Option<String>
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
output_data_config: Option<DocumentClassifierOutputDataConfig>
Provides output results configuration parameters for custom classifier jobs.
status: Option<String>
The status of the document classifier. If the status is TRAINED
the classifier is ready to use. If the status is FAILED
you can see additional information about why the classifier wasn't trained in the Message
field.
submit_time: Option<f64>
The time that the document classifier was submitted for training.
training_end_time: Option<f64>
The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
training_start_time: Option<f64>
Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
volume_kms_key_id: Option<String>
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
vpc_config: Option<VpcConfig>
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.
Trait Implementations
sourceimpl Clone for DocumentClassifierProperties
impl Clone for DocumentClassifierProperties
sourcefn clone(&self) -> DocumentClassifierProperties
fn clone(&self) -> DocumentClassifierProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DocumentClassifierProperties
impl Debug for DocumentClassifierProperties
sourceimpl Default for DocumentClassifierProperties
impl Default for DocumentClassifierProperties
sourcefn default() -> DocumentClassifierProperties
fn default() -> DocumentClassifierProperties
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DocumentClassifierProperties
impl<'de> Deserialize<'de> for DocumentClassifierProperties
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DocumentClassifierProperties> for DocumentClassifierProperties
impl PartialEq<DocumentClassifierProperties> for DocumentClassifierProperties
sourcefn eq(&self, other: &DocumentClassifierProperties) -> bool
fn eq(&self, other: &DocumentClassifierProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DocumentClassifierProperties) -> bool
fn ne(&self, other: &DocumentClassifierProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for DocumentClassifierProperties
Auto Trait Implementations
impl RefUnwindSafe for DocumentClassifierProperties
impl Send for DocumentClassifierProperties
impl Sync for DocumentClassifierProperties
impl Unpin for DocumentClassifierProperties
impl UnwindSafe for DocumentClassifierProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more