aws_sdk_databrew/client/create_recipe_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateRecipeJob`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dataset_name(impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_dataset_name):<br>required: **false**<br><p>The name of the dataset that this job processes.</p><br>
/// - [`encryption_key_arn(impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::encryption_key_arn) / [`set_encryption_key_arn(Option<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_encryption_key_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.</p><br>
/// - [`encryption_mode(EncryptionMode)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<EncryptionMode>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_encryption_mode):<br>required: **false**<br><p>The encryption mode for the job, which can be one of the following:</p> <ul> <li> <p><code>SSE-KMS</code> - Server-side encryption with keys managed by KMS.</p></li> <li> <p><code>SSE-S3</code> - Server-side encryption with keys managed by Amazon S3.</p></li> </ul><br>
/// - [`name(impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_name):<br>required: **true**<br><p>A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p><br>
/// - [`log_subscription(LogSubscription)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::log_subscription) / [`set_log_subscription(Option<LogSubscription>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_log_subscription):<br>required: **false**<br><p>Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.</p><br>
/// - [`max_capacity(i32)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::max_capacity) / [`set_max_capacity(Option<i32>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_max_capacity):<br>required: **false**<br><p>The maximum number of nodes that DataBrew can consume when the job processes data.</p><br>
/// - [`max_retries(i32)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::max_retries) / [`set_max_retries(Option<i32>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_max_retries):<br>required: **false**<br><p>The maximum number of times to retry the job after a job run fails.</p><br>
/// - [`outputs(Output)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::outputs) / [`set_outputs(Option<Vec::<Output>>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_outputs):<br>required: **false**<br><p>One or more artifacts that represent the output from running the job.</p><br>
/// - [`data_catalog_outputs(DataCatalogOutput)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::data_catalog_outputs) / [`set_data_catalog_outputs(Option<Vec::<DataCatalogOutput>>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_data_catalog_outputs):<br>required: **false**<br><p>One or more artifacts that represent the Glue Data Catalog output from running the job.</p><br>
/// - [`database_outputs(DatabaseOutput)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::database_outputs) / [`set_database_outputs(Option<Vec::<DatabaseOutput>>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_database_outputs):<br>required: **false**<br><p>Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.</p><br>
/// - [`project_name(impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_project_name):<br>required: **false**<br><p>Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.</p><br>
/// - [`recipe_reference(RecipeReference)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::recipe_reference) / [`set_recipe_reference(Option<RecipeReference>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_recipe_reference):<br>required: **false**<br><p>Represents the name and version of a DataBrew recipe.</p><br>
/// - [`role_arn(impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_tags):<br>required: **false**<br><p>Metadata tags to apply to this job.</p><br>
/// - [`timeout(i32)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::timeout) / [`set_timeout(Option<i32>)`](crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::set_timeout):<br>required: **false**<br><p>The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of <code>TIMEOUT</code>.</p><br>
/// - On success, responds with [`CreateRecipeJobOutput`](crate::operation::create_recipe_job::CreateRecipeJobOutput) with field(s):
/// - [`name(String)`](crate::operation::create_recipe_job::CreateRecipeJobOutput::name): <p>The name of the job that you created.</p>
/// - On failure, responds with [`SdkError<CreateRecipeJobError>`](crate::operation::create_recipe_job::CreateRecipeJobError)
pub fn create_recipe_job(&self) -> crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder {
crate::operation::create_recipe_job::builders::CreateRecipeJobFluentBuilder::new(self.handle.clone())
}
}