// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateFlywheel`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`flywheel_name(impl Into<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::flywheel_name) / [`set_flywheel_name(Option<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_flywheel_name): <p>Name for the flywheel.</p>
/// - [`active_model_arn(impl Into<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::active_model_arn) / [`set_active_model_arn(Option<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_active_model_arn): <p>To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version.</p>
/// - [`data_access_role_arn(impl Into<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::data_access_role_arn) / [`set_data_access_role_arn(Option<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_data_access_role_arn): <p>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.</p>
/// - [`task_config(TaskConfig)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::task_config) / [`set_task_config(Option<TaskConfig>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_task_config): <p>Configuration about the custom classifier associated with the flywheel.</p>
/// - [`model_type(ModelType)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::model_type) / [`set_model_type(Option<ModelType>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_model_type): <p>The model type.</p>
/// - [`data_lake_s3_uri(impl Into<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::data_lake_s3_uri) / [`set_data_lake_s3_uri(Option<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_data_lake_s3_uri): <p>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.</p>
/// - [`data_security_config(DataSecurityConfig)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::data_security_config) / [`set_data_security_config(Option<DataSecurityConfig>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_data_security_config): <p>Data security configurations.</p>
/// - [`client_request_token(impl Into<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_client_request_token): <p>A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.</p>
/// - [`tags(Vec<Tag>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::set_tags): <p>The tags to associate with this flywheel.</p>
/// - On success, responds with [`CreateFlywheelOutput`](crate::operation::create_flywheel::CreateFlywheelOutput) with field(s):
/// - [`flywheel_arn(Option<String>)`](crate::operation::create_flywheel::CreateFlywheelOutput::flywheel_arn): <p>The Amazon Resource Number (ARN) of the flywheel.</p>
/// - [`active_model_arn(Option<String>)`](crate::operation::create_flywheel::CreateFlywheelOutput::active_model_arn): <p>The Amazon Resource Number (ARN) of the active model version.</p>
/// - On failure, responds with [`SdkError<CreateFlywheelError>`](crate::operation::create_flywheel::CreateFlywheelError)
pub fn create_flywheel(
&self,
) -> crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder {
crate::operation::create_flywheel::builders::CreateFlywheelFluentBuilder::new(
self.handle.clone(),
)
}
}