| 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.DeleteRecipeVersion
Description
Deletes a single version of a DataBrew recipe.
Synopsis
- data DeleteRecipeVersion = DeleteRecipeVersion' {
- name :: Text
- recipeVersion :: Text
- newDeleteRecipeVersion :: Text -> Text -> DeleteRecipeVersion
- deleteRecipeVersion_name :: Lens' DeleteRecipeVersion Text
- deleteRecipeVersion_recipeVersion :: Lens' DeleteRecipeVersion Text
- data DeleteRecipeVersionResponse = DeleteRecipeVersionResponse' {
- httpStatus :: Int
- name :: Text
- recipeVersion :: Text
- newDeleteRecipeVersionResponse :: Int -> Text -> Text -> DeleteRecipeVersionResponse
- deleteRecipeVersionResponse_httpStatus :: Lens' DeleteRecipeVersionResponse Int
- deleteRecipeVersionResponse_name :: Lens' DeleteRecipeVersionResponse Text
- deleteRecipeVersionResponse_recipeVersion :: Lens' DeleteRecipeVersionResponse Text
Creating a Request
data DeleteRecipeVersion Source #
See: newDeleteRecipeVersion smart constructor.
Constructors
| DeleteRecipeVersion' | |
Fields
| |
Instances
newDeleteRecipeVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteRecipeVersion |
Create a value of DeleteRecipeVersion 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:
DeleteRecipeVersion, deleteRecipeVersion_name - The name of the recipe.
DeleteRecipeVersion, deleteRecipeVersion_recipeVersion - The version of the recipe to be deleted. You can specify a numeric
versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not
supported.
Request Lenses
deleteRecipeVersion_name :: Lens' DeleteRecipeVersion Text Source #
The name of the recipe.
deleteRecipeVersion_recipeVersion :: Lens' DeleteRecipeVersion Text Source #
The version of the recipe to be deleted. You can specify a numeric
versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not
supported.
Destructuring the Response
data DeleteRecipeVersionResponse Source #
See: newDeleteRecipeVersionResponse smart constructor.
Constructors
| DeleteRecipeVersionResponse' | |
Fields
| |
Instances
newDeleteRecipeVersionResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> DeleteRecipeVersionResponse |
Create a value of DeleteRecipeVersionResponse 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:DeleteRecipeVersionResponse', deleteRecipeVersionResponse_httpStatus - The response's http status code.
DeleteRecipeVersion, deleteRecipeVersionResponse_name - The name of the recipe that was deleted.
DeleteRecipeVersion, deleteRecipeVersionResponse_recipeVersion - The version of the recipe that was deleted.
Response Lenses
deleteRecipeVersionResponse_httpStatus :: Lens' DeleteRecipeVersionResponse Int Source #
The response's http status code.
deleteRecipeVersionResponse_name :: Lens' DeleteRecipeVersionResponse Text Source #
The name of the recipe that was deleted.
deleteRecipeVersionResponse_recipeVersion :: Lens' DeleteRecipeVersionResponse Text Source #
The version of the recipe that was deleted.