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 |
Publishes a new version of a DataBrew recipe.
Synopsis
- data PublishRecipe = PublishRecipe' {
- description :: Maybe Text
- name :: Text
- newPublishRecipe :: Text -> PublishRecipe
- publishRecipe_description :: Lens' PublishRecipe (Maybe Text)
- publishRecipe_name :: Lens' PublishRecipe Text
- data PublishRecipeResponse = PublishRecipeResponse' {
- httpStatus :: Int
- name :: Text
- newPublishRecipeResponse :: Int -> Text -> PublishRecipeResponse
- publishRecipeResponse_httpStatus :: Lens' PublishRecipeResponse Int
- publishRecipeResponse_name :: Lens' PublishRecipeResponse Text
Creating a Request
data PublishRecipe Source #
See: newPublishRecipe
smart constructor.
PublishRecipe' | |
|
Instances
Create a value of PublishRecipe
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:description:PublishRecipe'
, publishRecipe_description
- A description of the recipe to be published, for this version of the
recipe.
$sel:name:PublishRecipe'
, publishRecipe_name
- The name of the recipe to be published.
Request Lenses
publishRecipe_description :: Lens' PublishRecipe (Maybe Text) Source #
A description of the recipe to be published, for this version of the recipe.
publishRecipe_name :: Lens' PublishRecipe Text Source #
The name of the recipe to be published.
Destructuring the Response
data PublishRecipeResponse Source #
See: newPublishRecipeResponse
smart constructor.
PublishRecipeResponse' | |
|
Instances
newPublishRecipeResponse Source #
Create a value of PublishRecipeResponse
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:PublishRecipeResponse'
, publishRecipeResponse_httpStatus
- The response's http status code.
$sel:name:PublishRecipe'
, publishRecipeResponse_name
- The name of the recipe that you published.
Response Lenses
publishRecipeResponse_httpStatus :: Lens' PublishRecipeResponse Int Source #
The response's http status code.
publishRecipeResponse_name :: Lens' PublishRecipeResponse Text Source #
The name of the recipe that you published.