aws_sdk_databrew/client/create_profile_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateProfileJob`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dataset_name(impl Into<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::set_dataset_name):<br>required: **true**<br><p>The name of the dataset that this job is to act upon.</p><br>
/// - [`encryption_key_arn(impl Into<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::encryption_key_arn) / [`set_encryption_key_arn(Option<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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_profile_job::builders::CreateProfileJobFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<EncryptionMode>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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> - <code>SSE-KMS</code> - Server-side encryption with KMS-managed keys.</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_profile_job::builders::CreateProfileJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::set_name):<br>required: **true**<br><p>The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p><br>
/// - [`log_subscription(LogSubscription)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::log_subscription) / [`set_log_subscription(Option<LogSubscription>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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_profile_job::builders::CreateProfileJobFluentBuilder::max_capacity) / [`set_max_capacity(Option<i32>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::set_max_capacity):<br>required: **false**<br><p>The maximum number of nodes that DataBrew can use when the job processes data.</p><br>
/// - [`max_retries(i32)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::max_retries) / [`set_max_retries(Option<i32>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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::create_profile_job::builders::CreateProfileJobFluentBuilder::output_location) / [`set_output_location(Option<S3Location>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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>
/// - [`configuration(ProfileConfiguration)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::configuration) / [`set_configuration(Option<ProfileConfiguration>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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>
/// - [`validation_configurations(ValidationConfiguration)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::validation_configurations) / [`set_validation_configurations(Option<Vec::<ValidationConfiguration>>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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::create_profile_job::builders::CreateProfileJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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_profile_job::builders::CreateProfileJobFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::set_tags):<br>required: **false**<br><p>Metadata tags to apply to this job.</p><br>
/// - [`timeout(i32)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::timeout) / [`set_timeout(Option<i32>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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::create_profile_job::builders::CreateProfileJobFluentBuilder::job_sample) / [`set_job_sample(Option<JobSample>)`](crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::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, 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 [`CreateProfileJobOutput`](crate::operation::create_profile_job::CreateProfileJobOutput) with field(s):
/// - [`name(String)`](crate::operation::create_profile_job::CreateProfileJobOutput::name): <p>The name of the job that was created.</p>
/// - On failure, responds with [`SdkError<CreateProfileJobError>`](crate::operation::create_profile_job::CreateProfileJobError)
pub fn create_profile_job(&self) -> crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder {
crate::operation::create_profile_job::builders::CreateProfileJobFluentBuilder::new(self.handle.clone())
}
}