aws_sdk_databrew/client/
update_profile_job.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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):<br>required: **false**<br><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><br>
    ///   - [`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):<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::update_profile_job::builders::UpdateProfileJobFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<EncryptionMode>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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::update_profile_job::builders::UpdateProfileJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_name):<br>required: **true**<br><p>The name of the job to be updated.</p><br>
    ///   - [`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):<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::update_profile_job::builders::UpdateProfileJobFluentBuilder::max_capacity) / [`set_max_capacity(Option<i32>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_max_capacity):<br>required: **false**<br><p>The maximum number of compute nodes that DataBrew can use when the job processes data.</p><br>
    ///   - [`max_retries(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::max_retries) / [`set_max_retries(Option<i32>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::set_max_retries):<br>required: **false**<br><p>The maximum number of times to retry the job after a job run fails.</p><br>
    ///   - [`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):<br>required: **true**<br><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><br>
    ///   - [`validation_configurations(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):<br>required: **false**<br><p>List of validation configurations that are applied to the profile job.</p><br>
    ///   - [`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):<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>
    ///   - [`timeout(i32)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::timeout) / [`set_timeout(Option<i32>)`](crate::operation::update_profile_job::builders::UpdateProfileJobFluentBuilder::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>
    ///   - [`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):<br>required: **false**<br><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><br>
    /// - On success, responds with [`UpdateProfileJobOutput`](crate::operation::update_profile_job::UpdateProfileJobOutput) with field(s):
    ///   - [`name(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())
    }
}