#[non_exhaustive]pub struct CreateFlywheelInput {
pub flywheel_name: Option<String>,
pub active_model_arn: Option<String>,
pub data_access_role_arn: Option<String>,
pub task_config: Option<TaskConfig>,
pub model_type: Option<ModelType>,
pub data_lake_s3_uri: Option<String>,
pub data_security_config: Option<DataSecurityConfig>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}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.flywheel_name: Option<String>Name for the flywheel.
active_model_arn: Option<String>To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not set TaskConfig or ModelType if you specify an ActiveModelArn.
data_access_role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.
task_config: Option<TaskConfig>Configuration about the model associated with the flywheel. You need to set TaskConfig if you are creating a flywheel for a new model.
model_type: Option<ModelType>The model type. You need to set ModelType if you are creating a flywheel for a new model.
data_lake_s3_uri: Option<String>Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an existing S3 bucket. The flywheel creates the data lake at this location.
data_security_config: Option<DataSecurityConfig>Data security configurations.
client_request_token: Option<String>A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
The tags to associate with this flywheel.
Implementations§
source§impl CreateFlywheelInput
impl CreateFlywheelInput
sourcepub fn flywheel_name(&self) -> Option<&str>
pub fn flywheel_name(&self) -> Option<&str>
Name for the flywheel.
sourcepub fn active_model_arn(&self) -> Option<&str>
pub fn active_model_arn(&self) -> Option<&str>
To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not set TaskConfig or ModelType if you specify an ActiveModelArn.
sourcepub fn data_access_role_arn(&self) -> Option<&str>
pub fn data_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.
sourcepub fn task_config(&self) -> Option<&TaskConfig>
pub fn task_config(&self) -> Option<&TaskConfig>
Configuration about the model associated with the flywheel. You need to set TaskConfig if you are creating a flywheel for a new model.
sourcepub fn model_type(&self) -> Option<&ModelType>
pub fn model_type(&self) -> Option<&ModelType>
The model type. You need to set ModelType if you are creating a flywheel for a new model.
sourcepub fn data_lake_s3_uri(&self) -> Option<&str>
pub fn data_lake_s3_uri(&self) -> Option<&str>
Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an existing S3 bucket. The flywheel creates the data lake at this location.
sourcepub fn data_security_config(&self) -> Option<&DataSecurityConfig>
pub fn data_security_config(&self) -> Option<&DataSecurityConfig>
Data security configurations.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
The tags to associate with this flywheel.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateFlywheelInput
impl CreateFlywheelInput
sourcepub fn builder() -> CreateFlywheelInputBuilder
pub fn builder() -> CreateFlywheelInputBuilder
Creates a new builder-style object to manufacture CreateFlywheelInput.
Trait Implementations§
source§impl Clone for CreateFlywheelInput
impl Clone for CreateFlywheelInput
source§fn clone(&self) -> CreateFlywheelInput
fn clone(&self) -> CreateFlywheelInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFlywheelInput
impl Debug for CreateFlywheelInput
source§impl PartialEq for CreateFlywheelInput
impl PartialEq for CreateFlywheelInput
source§fn eq(&self, other: &CreateFlywheelInput) -> bool
fn eq(&self, other: &CreateFlywheelInput) -> bool
self and other values to be equal, and is used
by ==.