update_recipe_job
¶
update_recipe_job(
name: JobName,
role_arn: Arn,
*,
config_overrides: Optional[DataBrewClientConfig] = 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,
outputs: Optional[OutputList] = None,
data_catalog_outputs: Optional[DataCatalogOutputList] = None,
database_outputs: Optional[DatabaseOutputList] = None,
timeout: Optional[Timeout] = None,
) -> UpdateRecipeJobResponse
Modifies the definition of an existing DataBrew recipe job.
Parameters:
-
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 update.
-
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 nodes that DataBrew can consume 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.
-
outputs(Optional[OutputList], default:None) –One or more artifacts that represent the output from running the job.
-
data_catalog_outputs(Optional[DataCatalogOutputList], default:None) –One or more artifacts that represent the Glue Data Catalog output from running the job.
-
database_outputs(Optional[DatabaseOutputList], default:None) –Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
-
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.
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
2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 | |