| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataBrew.PublishRecipe
Description
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.
Constructors
| PublishRecipe' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PublishRecipe |
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:
PublishRecipe, publishRecipe_description - A description of the recipe to be published, for this version of the
recipe.
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.
Constructors
| PublishRecipeResponse' | |
Fields
| |
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.
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.