Struct aws_sdk_transcribe::types::InputDataConfig  
source · #[non_exhaustive]pub struct InputDataConfig {
    pub s3_uri: Option<String>,
    pub tuning_data_s3_uri: Option<String>,
    pub data_access_role_arn: Option<String>,
}Expand description
Contains the Amazon S3 location of the training data you want to use to create a new custom language model, and permissions to access this location.
When using InputDataConfig, you must include these sub-parameters: S3Uri and DataAccessRoleArn. You can optionally include TuningDataS3Uri.
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 (URI) of the text files you want to use to train your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/ 
tuning_data_s3_uri: Option<String>The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/ 
data_access_role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin.
For more information, see IAM ARNs.
Implementations§
source§impl InputDataConfig
 
impl InputDataConfig
sourcepub fn s3_uri(&self) -> Option<&str>
 
pub fn s3_uri(&self) -> Option<&str>
The Amazon S3 location (URI) of the text files you want to use to train your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/ 
sourcepub fn tuning_data_s3_uri(&self) -> Option<&str>
 
pub fn tuning_data_s3_uri(&self) -> Option<&str>
The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/ 
sourcepub fn data_access_role_arn(&self) -> Option<&str>
 
pub fn data_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin.
For more information, see IAM ARNs.
source§impl InputDataConfig
 
impl InputDataConfig
sourcepub fn builder() -> InputDataConfigBuilder
 
pub fn builder() -> InputDataConfigBuilder
Creates a new builder-style object to manufacture InputDataConfig.
Trait Implementations§
source§impl Clone for InputDataConfig
 
impl Clone for InputDataConfig
source§fn clone(&self) -> InputDataConfig
 
fn clone(&self) -> InputDataConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InputDataConfig
 
impl Debug for InputDataConfig
source§impl PartialEq<InputDataConfig> for InputDataConfig
 
impl PartialEq<InputDataConfig> for InputDataConfig
source§fn eq(&self, other: &InputDataConfig) -> bool
 
fn eq(&self, other: &InputDataConfig) -> bool
self and other values to be equal, and is used
by ==.