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 |
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.
DeleteRecipeVersion' | |
|
Instances
newDeleteRecipeVersion Source #
:: 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:
$sel:name:DeleteRecipeVersion'
, deleteRecipeVersion_name
- The name of the recipe.
$sel:recipeVersion: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.
DeleteRecipeVersionResponse' | |
|
Instances
newDeleteRecipeVersionResponse Source #
:: 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.
$sel:name:DeleteRecipeVersion'
, deleteRecipeVersionResponse_name
- The name of the recipe that was deleted.
$sel:recipeVersion: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.