update_recipe_job
async
¶
update_recipe_job(
name: JobName,
role_arn: Arn,
*,
config_overrides: Optional[AsyncDataBrewClientConfig] = 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/async_data_brew.py
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 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 | |