Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the definition of the LATEST_WORKING
version of a DataBrew
recipe.
Synopsis
- data UpdateRecipe = UpdateRecipe' {
- steps :: Maybe [RecipeStep]
- description :: Maybe Text
- name :: Text
- newUpdateRecipe :: Text -> UpdateRecipe
- updateRecipe_steps :: Lens' UpdateRecipe (Maybe [RecipeStep])
- updateRecipe_description :: Lens' UpdateRecipe (Maybe Text)
- updateRecipe_name :: Lens' UpdateRecipe Text
- data UpdateRecipeResponse = UpdateRecipeResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateRecipeResponse :: Int -> Text -> UpdateRecipeResponse
- updateRecipeResponse_httpStatus :: Lens' UpdateRecipeResponse Int
- updateRecipeResponse_name :: Lens' UpdateRecipeResponse Text
Creating a Request
data UpdateRecipe Source #
See: newUpdateRecipe
smart constructor.
UpdateRecipe' | |
|
Instances
Create a value of UpdateRecipe
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:steps:UpdateRecipe'
, updateRecipe_steps
- One or more steps to be performed by the recipe. Each step consists of
an action, and the conditions under which the action should succeed.
$sel:description:UpdateRecipe'
, updateRecipe_description
- A description of the recipe.
$sel:name:UpdateRecipe'
, updateRecipe_name
- The name of the recipe to be updated.
Request Lenses
updateRecipe_steps :: Lens' UpdateRecipe (Maybe [RecipeStep]) Source #
One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
updateRecipe_description :: Lens' UpdateRecipe (Maybe Text) Source #
A description of the recipe.
updateRecipe_name :: Lens' UpdateRecipe Text Source #
The name of the recipe to be updated.
Destructuring the Response
data UpdateRecipeResponse Source #
See: newUpdateRecipeResponse
smart constructor.
UpdateRecipeResponse' | |
|
Instances
newUpdateRecipeResponse Source #
Create a value of UpdateRecipeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateRecipeResponse'
, updateRecipeResponse_httpStatus
- The response's http status code.
$sel:name:UpdateRecipe'
, updateRecipeResponse_name
- The name of the recipe that was updated.
Response Lenses
updateRecipeResponse_httpStatus :: Lens' UpdateRecipeResponse Int Source #
The response's http status code.
updateRecipeResponse_name :: Lens' UpdateRecipeResponse Text Source #
The name of the recipe that was updated.