#[non_exhaustive]pub struct AugmentedManifestsListItem {
pub s3_uri: Option<String>,
pub split: Option<Split>,
pub attribute_names: Option<Vec<String>>,
pub annotation_data_s3_uri: Option<String>,
pub source_documents_s3_uri: Option<String>,
pub document_type: Option<AugmentedManifestsDocumentTypeFormat>,
}Expand description
An augmented manifest file that provides training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
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.s3_uri: Option<String>The Amazon S3 location of the augmented manifest file.
split: Option<Split>The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.
TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.
TEST - all of the documents in the manifest will be used for testing.
attribute_names: Option<Vec<String>>The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.
If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.
If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.
annotation_data_s3_uri: Option<String>The S3 prefix to the annotation files that are referred in the augmented manifest file.
source_documents_s3_uri: Option<String>The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.
document_type: Option<AugmentedManifestsDocumentTypeFormat>The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. If you don't specify, the default is PlainTextDocument.
-
PLAIN_TEXT_DOCUMENTA document type that represents any unicode text that is encoded in UTF-8. -
SEMI_STRUCTURED_DOCUMENTA document type with positional and structural context, like a PDF. For training with Amazon Comprehend, only PDFs are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
Implementations
sourceimpl AugmentedManifestsListItem
impl AugmentedManifestsListItem
sourcepub fn split(&self) -> Option<&Split>
pub fn split(&self) -> Option<&Split>
The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.
TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.
TEST - all of the documents in the manifest will be used for testing.
sourcepub fn attribute_names(&self) -> Option<&[String]>
pub fn attribute_names(&self) -> Option<&[String]>
The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.
If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.
If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.
sourcepub fn annotation_data_s3_uri(&self) -> Option<&str>
pub fn annotation_data_s3_uri(&self) -> Option<&str>
The S3 prefix to the annotation files that are referred in the augmented manifest file.
sourcepub fn source_documents_s3_uri(&self) -> Option<&str>
pub fn source_documents_s3_uri(&self) -> Option<&str>
The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.
sourcepub fn document_type(&self) -> Option<&AugmentedManifestsDocumentTypeFormat>
pub fn document_type(&self) -> Option<&AugmentedManifestsDocumentTypeFormat>
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. If you don't specify, the default is PlainTextDocument.
-
PLAIN_TEXT_DOCUMENTA document type that represents any unicode text that is encoded in UTF-8. -
SEMI_STRUCTURED_DOCUMENTA document type with positional and structural context, like a PDF. For training with Amazon Comprehend, only PDFs are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
sourceimpl AugmentedManifestsListItem
impl AugmentedManifestsListItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AugmentedManifestsListItem
Trait Implementations
sourceimpl Clone for AugmentedManifestsListItem
impl Clone for AugmentedManifestsListItem
sourcefn clone(&self) -> AugmentedManifestsListItem
fn clone(&self) -> AugmentedManifestsListItem
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 AugmentedManifestsListItem
impl Debug for AugmentedManifestsListItem
sourceimpl PartialEq<AugmentedManifestsListItem> for AugmentedManifestsListItem
impl PartialEq<AugmentedManifestsListItem> for AugmentedManifestsListItem
sourcefn eq(&self, other: &AugmentedManifestsListItem) -> bool
fn eq(&self, other: &AugmentedManifestsListItem) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AugmentedManifestsListItem) -> bool
fn ne(&self, other: &AugmentedManifestsListItem) -> bool
This method tests for !=.
impl StructuralPartialEq for AugmentedManifestsListItem
Auto Trait Implementations
impl RefUnwindSafe for AugmentedManifestsListItem
impl Send for AugmentedManifestsListItem
impl Sync for AugmentedManifestsListItem
impl Unpin for AugmentedManifestsListItem
impl UnwindSafe for AugmentedManifestsListItem
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> 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