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
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateProfileJob`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`configuration(ProfileConfiguration)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::configuration) / [`set_configuration(Option<ProfileConfiguration>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_configuration): <p>Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.</p>
    ///   - [`encryption_key_arn(impl Into<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::encryption_key_arn) / [`set_encryption_key_arn(Option<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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_profile_job::builders::UpdateProfileJobFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<EncryptionMode>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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_profile_job::builders::UpdateProfileJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_name): <p>The name of the job to be updated.</p>
    ///   - [`log_subscription(LogSubscription)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::log_subscription) / [`set_log_subscription(Option<LogSubscription>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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_profile_job::builders::UpdateProfileJobFluentBuilder::max_capacity) / [`set_max_capacity(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_max_capacity): <p>The maximum number of compute nodes that DataBrew can use when the job processes data.</p>
    ///   - [`max_retries(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::max_retries) / [`set_max_retries(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_max_retries): <p>The maximum number of times to retry the job after a job run fails.</p>
    ///   - [`output_location(S3Location)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::output_location) / [`set_output_location(Option<S3Location>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_output_location): <p>Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.</p>
    ///   - [`validation_configurations(Vec<ValidationConfiguration>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::validation_configurations) / [`set_validation_configurations(Option<Vec<ValidationConfiguration>>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_validation_configurations): <p>List of validation configurations that are applied to the profile job.</p>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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_profile_job::builders::UpdateProfileJobFluentBuilder::timeout) / [`set_timeout(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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>
    ///   - [`job_sample(JobSample)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::job_sample) / [`set_job_sample(Option<JobSample>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_job_sample): <p>Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.</p>
    /// - On success, responds with [`UpdateProfileJobOutput`](crate::operation::update_profile_job::UpdateProfileJobOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::update_profile_job::UpdateProfileJobOutput::name): <p>The name of the job that was updated.</p>
    /// - On failure, responds with [`SdkError<UpdateProfileJobError>`](crate::operation::update_profile_job::UpdateProfileJobError)
    pub fn update_profile_job(
        &self,
    ) -> crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder {
        crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::new(
            self.handle.clone(),
        )
    }
}