Struct aws_sdk_comprehend::model::OutputDataConfig  
source · [−]#[non_exhaustive]pub struct OutputDataConfig {
    pub s3_uri: Option<String>,
    pub kms_key_id: Option<String>,
}Expand description
Provides configuration parameters for the output of topic detection jobs.
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>When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. 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 the output file.
When the topic detection job is finished, the service creates an 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 ouput of the operation.
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"
Implementations
sourceimpl OutputDataConfig
 
impl OutputDataConfig
sourcepub fn s3_uri(&self) -> Option<&str>
 
pub fn s3_uri(&self) -> Option<&str>
When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. 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 the output file.
When the topic detection job is finished, the service creates an 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 ouput of the operation.
sourcepub fn kms_key_id(&self) -> Option<&str>
 
pub fn kms_key_id(&self) -> Option<&str>
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"
sourceimpl OutputDataConfig
 
impl OutputDataConfig
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OutputDataConfig
Trait Implementations
sourceimpl Clone for OutputDataConfig
 
impl Clone for OutputDataConfig
sourcefn clone(&self) -> OutputDataConfig
 
fn clone(&self) -> OutputDataConfig
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 OutputDataConfig
 
impl Debug for OutputDataConfig
sourceimpl PartialEq<OutputDataConfig> for OutputDataConfig
 
impl PartialEq<OutputDataConfig> for OutputDataConfig
sourcefn eq(&self, other: &OutputDataConfig) -> bool
 
fn eq(&self, other: &OutputDataConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OutputDataConfig) -> bool
 
fn ne(&self, other: &OutputDataConfig) -> bool
This method tests for !=.
impl StructuralPartialEq for OutputDataConfig
Auto Trait Implementations
impl RefUnwindSafe for OutputDataConfig
impl Send for OutputDataConfig
impl Sync for OutputDataConfig
impl Unpin for OutputDataConfig
impl UnwindSafe for OutputDataConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub 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.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub 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