aws_sdk_databrew/client/create_project.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateProject`](crate::operation::create_project::builders::CreateProjectFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dataset_name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_dataset_name):<br>required: **true**<br><p>The name of an existing dataset to associate this project with.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_name):<br>required: **true**<br><p>A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p><br>
/// - [`recipe_name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::recipe_name) / [`set_recipe_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_recipe_name):<br>required: **true**<br><p>The name of an existing recipe to associate with the project.</p><br>
/// - [`sample(Sample)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::sample) / [`set_sample(Option<Sample>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_sample):<br>required: **false**<br><p>Represents the sample size and sampling type for DataBrew to use for interactive data analysis.</p><br>
/// - [`role_arn(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_tags):<br>required: **false**<br><p>Metadata tags to apply to this project.</p><br>
/// - On success, responds with [`CreateProjectOutput`](crate::operation::create_project::CreateProjectOutput) with field(s):
/// - [`name(String)`](crate::operation::create_project::CreateProjectOutput::name): <p>The name of the project that you created.</p>
/// - On failure, responds with [`SdkError<CreateProjectError>`](crate::operation::create_project::CreateProjectError)
pub fn create_project(&self) -> crate::operation::create_project::builders::CreateProjectFluentBuilder {
crate::operation::create_project::builders::CreateProjectFluentBuilder::new(self.handle.clone())
}
}