GlueDataBrew.Client.
update_recipe_job
(**kwargs)¶Modifies the definition of an existing DataBrew recipe job.
See also: AWS API Documentation
Request Syntax
response = client.update_recipe_job(
EncryptionKeyArn='string',
EncryptionMode='SSE-KMS'|'SSE-S3',
Name='string',
LogSubscription='ENABLE'|'DISABLE',
MaxCapacity=123,
MaxRetries=123,
Outputs=[
{
'CompressionFormat': 'GZIP'|'LZ4'|'SNAPPY'|'BZIP2'|'DEFLATE'|'LZO'|'BROTLI'|'ZSTD'|'ZLIB',
'Format': 'CSV'|'JSON'|'PARQUET'|'GLUEPARQUET'|'AVRO'|'ORC'|'XML'|'TABLEAUHYPER',
'PartitionColumns': [
'string',
],
'Location': {
'Bucket': 'string',
'Key': 'string',
'BucketOwner': 'string'
},
'Overwrite': True|False,
'FormatOptions': {
'Csv': {
'Delimiter': 'string'
}
},
'MaxOutputFiles': 123
},
],
DataCatalogOutputs=[
{
'CatalogId': 'string',
'DatabaseName': 'string',
'TableName': 'string',
'S3Options': {
'Location': {
'Bucket': 'string',
'Key': 'string',
'BucketOwner': 'string'
}
},
'DatabaseOptions': {
'TempDirectory': {
'Bucket': 'string',
'Key': 'string',
'BucketOwner': 'string'
},
'TableName': 'string'
},
'Overwrite': True|False
},
],
DatabaseOutputs=[
{
'GlueConnectionName': 'string',
'DatabaseOptions': {
'TempDirectory': {
'Bucket': 'string',
'Key': 'string',
'BucketOwner': 'string'
},
'TableName': 'string'
},
'DatabaseOutputMode': 'NEW_TABLE'
},
],
RoleArn='string',
Timeout=123
)
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.[REQUIRED]
The name of the job to update.
One or more artifacts that represent the output from running the job.
Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs.
The compression algorithm used to compress the output text of the job.
The data format of the output of the job.
The names of one or more partition columns for the output of the job.
The location in Amazon S3 where the job writes its output.
The Amazon S3 bucket name.
The unique name of the object in the bucket.
The Amazon Web Services account ID of the bucket owner.
A value that, if true, means that any data in the location specified for output is overwritten with new output.
Represents options that define how DataBrew formats job output files.
Represents a set of options that define the structure of comma-separated value (CSV) job output.
A single character that specifies the delimiter used to create CSV job output.
Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.
One or more artifacts that represent the Glue Data Catalog output from running the job.
Represents options that specify how and where in the Glue Data Catalog DataBrew writes the output generated by recipe jobs.
The unique identifier of the Amazon Web Services account that holds the Data Catalog that stores the data.
The name of a database in the Data Catalog.
The name of a table in the Data Catalog.
Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs.
Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job.
The Amazon S3 bucket name.
The unique name of the object in the bucket.
The Amazon Web Services account ID of the bucket owner.
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
The Amazon S3 bucket name.
The unique name of the object in the bucket.
The Amazon Web Services account ID of the bucket owner.
A prefix for the name of a table DataBrew will create in the database.
A value that, if true, means that any data in the location specified for output is overwritten with new output. Not supported with DatabaseOptions.
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
Represents a JDBC database output object which defines the output destination for a DataBrew recipe job to write into.
The Glue connection that stores the connection information for the target database.
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
The Amazon S3 bucket name.
The unique name of the object in the bucket.
The Amazon Web Services account ID of the bucket owner.
A prefix for the name of a table DataBrew will create in the database.
The output mode to write into the database. Currently supported option: NEW_TABLE.
[REQUIRED]
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
TIMEOUT
.dict
Response Syntax
{
'Name': 'string'
}
Response Structure
(dict) --
Name (string) --
The name of the job that you updated.
Exceptions
GlueDataBrew.Client.exceptions.AccessDeniedException
GlueDataBrew.Client.exceptions.ResourceNotFoundException
GlueDataBrew.Client.exceptions.ValidationException