1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateRecipeJob`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`encryption_key_arn(impl Into<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::encryption_key_arn) / [`set_encryption_key_arn(Option<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_encryption_key_arn): <p>The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.</p>
    ///   - [`encryption_mode(EncryptionMode)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<EncryptionMode>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_encryption_mode): <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>
    ///   - [`name(impl Into<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_name): <p>The name of the job to update.</p>
    ///   - [`log_subscription(LogSubscription)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::log_subscription) / [`set_log_subscription(Option<LogSubscription>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_log_subscription): <p>Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.</p>
    ///   - [`max_capacity(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::max_capacity) / [`set_max_capacity(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_max_capacity): <p>The maximum number of nodes that DataBrew can consume when the job processes data.</p>
    ///   - [`max_retries(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::max_retries) / [`set_max_retries(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_max_retries): <p>The maximum number of times to retry the job after a job run fails.</p>
    ///   - [`outputs(Vec<Output>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::outputs) / [`set_outputs(Option<Vec<Output>>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_outputs): <p>One or more artifacts that represent the output from running the job. </p>
    ///   - [`data_catalog_outputs(Vec<DataCatalogOutput>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::data_catalog_outputs) / [`set_data_catalog_outputs(Option<Vec<DataCatalogOutput>>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_data_catalog_outputs): <p>One or more artifacts that represent the Glue Data Catalog output from running the job.</p>
    ///   - [`database_outputs(Vec<DatabaseOutput>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::database_outputs) / [`set_database_outputs(Option<Vec<DatabaseOutput>>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_database_outputs): <p>Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.</p>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_role_arn): <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.</p>
    ///   - [`timeout(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::timeout) / [`set_timeout(i32)`](crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::set_timeout): <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>
    /// - On success, responds with [`UpdateRecipeJobOutput`](crate::operation::update_recipe_job::UpdateRecipeJobOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::update_recipe_job::UpdateRecipeJobOutput::name): <p>The name of the job that you updated.</p>
    /// - On failure, responds with [`SdkError<UpdateRecipeJobError>`](crate::operation::update_recipe_job::UpdateRecipeJobError)
    pub fn update_recipe_job(
        &self,
    ) -> crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder {
        crate::operation::update_recipe_job::builders::UpdateRecipeJobFluentBuilder::new(
            self.handle.clone(),
        )
    }
}