pub struct DocumentClassifierOutputDataConfig {
pub kms_key_id: Option<String>,
pub s3_uri: Option<String>,
}
Expand description
Provides output results configuration parameters for custom classifier jobs.
Fields
kms_key_id: Option<String>
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one 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"
-
KMS Key Alias:
"alias/ExampleAlias"
-
ARN of a KMS Key Alias:
"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
s3_uri: Option<String>
When you use the OutputDataConfig
object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.
When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The S3Uri
field contains the location of the output file, called output.tar.gz
. It is a compressed archive that contains the confusion matrix.
Trait Implementations
sourceimpl Clone for DocumentClassifierOutputDataConfig
impl Clone for DocumentClassifierOutputDataConfig
sourcefn clone(&self) -> DocumentClassifierOutputDataConfig
fn clone(&self) -> DocumentClassifierOutputDataConfig
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 Default for DocumentClassifierOutputDataConfig
impl Default for DocumentClassifierOutputDataConfig
sourcefn default() -> DocumentClassifierOutputDataConfig
fn default() -> DocumentClassifierOutputDataConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DocumentClassifierOutputDataConfig
impl<'de> Deserialize<'de> for DocumentClassifierOutputDataConfig
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<DocumentClassifierOutputDataConfig> for DocumentClassifierOutputDataConfig
impl PartialEq<DocumentClassifierOutputDataConfig> for DocumentClassifierOutputDataConfig
sourcefn eq(&self, other: &DocumentClassifierOutputDataConfig) -> bool
fn eq(&self, other: &DocumentClassifierOutputDataConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DocumentClassifierOutputDataConfig) -> bool
fn ne(&self, other: &DocumentClassifierOutputDataConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for DocumentClassifierOutputDataConfig
Auto Trait Implementations
impl RefUnwindSafe for DocumentClassifierOutputDataConfig
impl Send for DocumentClassifierOutputDataConfig
impl Sync for DocumentClassifierOutputDataConfig
impl Unpin for DocumentClassifierOutputDataConfig
impl UnwindSafe for DocumentClassifierOutputDataConfig
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