create_recipe
(**kwargs)¶Creates a new DataBrew recipe.
See also: AWS API Documentation
Request Syntax
response = client.create_recipe(
Description='string',
Name='string',
Steps=[
{
'Action': {
'Operation': 'string',
'Parameters': {
'string': 'string'
}
},
'ConditionExpressions': [
{
'Condition': 'string',
'Value': 'string',
'TargetColumn': 'string'
},
]
},
],
Tags={
'string': 'string'
}
)
[REQUIRED]
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
[REQUIRED]
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
Represents a single step from a DataBrew recipe to be performed.
The particular action to be performed in the recipe step.
The name of a valid DataBrew transformation to be performed on the data.
Contextual parameters for the transformation.
One or more conditions that must be met for the recipe step to succeed.
Note
All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
Represents an individual condition that evaluates to true or false.
Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.
If a recipe requires more than one condition, then the recipe must specify multiple ConditionExpression
elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide .
A value that the condition must evaluate to for the condition to succeed.
A column to apply this condition to.
Metadata tags to apply to this recipe.
dict
Response Syntax
{
'Name': 'string'
}
Response Structure
(dict) --
Name (string) --
The name of the recipe that you created.
Exceptions
GlueDataBrew.Client.exceptions.ConflictException
GlueDataBrew.Client.exceptions.ServiceQuotaExceededException
GlueDataBrew.Client.exceptions.ValidationException