update_profile_job
¶
update_profile_job(
name: JobName,
output_location: S3Location,
role_arn: Arn,
*,
config_overrides: Optional[DataBrewClientConfig] = None,
configuration: Optional[ProfileConfiguration] = None,
encryption_key_arn: Optional[EncryptionKeyArn] = None,
encryption_mode: Optional[EncryptionMode] = None,
log_subscription: Optional[LogSubscription] = None,
max_capacity: Optional[MaxCapacity] = None,
max_retries: Optional[MaxRetries] = None,
validation_configurations: Optional[ValidationConfigurationList] = None,
timeout: Optional[Timeout] = None,
job_sample: Optional[JobSample] = None,
) -> UpdateProfileJobResponse
Modifies the definition of an existing profile job.
Parameters:
-
configuration(Optional[ProfileConfiguration], default:None) –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.
-
encryption_key_arn(Optional[EncryptionKeyArn], default:None) –The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
-
encryption_mode(Optional[EncryptionMode], default:None) –The encryption mode for the job, which can be one of the following:
-
SSE-KMS- Server-side encryption with keys managed by KMS. -
SSE-S3- Server-side encryption with keys managed by Amazon S3.
-
-
name(JobName) –The name of the job to be updated.
-
log_subscription(Optional[LogSubscription], default:None) –Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
-
max_capacity(Optional[MaxCapacity], default:None) –The maximum number of compute nodes that DataBrew can use when the job processes data.
-
max_retries(Optional[MaxRetries], default:None) –The maximum number of times to retry the job after a job run fails.
-
validation_configurations(Optional[ValidationConfigurationList], default:None) –List of validation configurations that are applied to the profile job.
-
role_arn(Arn) –The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
-
timeout(Optional[Timeout], default:None) –The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of
TIMEOUT. -
job_sample(Optional[JobSample], default:None) –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.
Raises:
-
AccessDeniedException–Access to the specified resource was denied.
-
ResourceNotFoundException–One or more resources can't be found.
-
ValidationException–The input parameters for this request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_databrew/_services/data_brew.py
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 | |