| 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.ListRecipes
Description
Lists all of the DataBrew recipes that are defined.
This operation returns paginated results.
Synopsis
- data ListRecipes = ListRecipes' {}
- newListRecipes :: ListRecipes
- listRecipes_maxResults :: Lens' ListRecipes (Maybe Natural)
- listRecipes_nextToken :: Lens' ListRecipes (Maybe Text)
- listRecipes_recipeVersion :: Lens' ListRecipes (Maybe Text)
- data ListRecipesResponse = ListRecipesResponse' {}
- newListRecipesResponse :: Int -> ListRecipesResponse
- listRecipesResponse_nextToken :: Lens' ListRecipesResponse (Maybe Text)
- listRecipesResponse_httpStatus :: Lens' ListRecipesResponse Int
- listRecipesResponse_recipes :: Lens' ListRecipesResponse [Recipe]
Creating a Request
data ListRecipes Source #
See: newListRecipes smart constructor.
Constructors
| ListRecipes' | |
Fields
| |
Instances
newListRecipes :: ListRecipes Source #
Create a value of ListRecipes 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:maxResults:ListRecipes', listRecipes_maxResults - The maximum number of results to return in this request.
ListRecipes, listRecipes_nextToken - The token returned by a previous call to retrieve the next set of
results.
ListRecipes, listRecipes_recipeVersion - Return only those recipes with a version identifier of LATEST_WORKING
or LATEST_PUBLISHED. If RecipeVersion is omitted, ListRecipes
returns all of the LATEST_PUBLISHED recipe versions.
Valid values: LATEST_WORKING | LATEST_PUBLISHED
Request Lenses
listRecipes_maxResults :: Lens' ListRecipes (Maybe Natural) Source #
The maximum number of results to return in this request.
listRecipes_nextToken :: Lens' ListRecipes (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listRecipes_recipeVersion :: Lens' ListRecipes (Maybe Text) Source #
Return only those recipes with a version identifier of LATEST_WORKING
or LATEST_PUBLISHED. If RecipeVersion is omitted, ListRecipes
returns all of the LATEST_PUBLISHED recipe versions.
Valid values: LATEST_WORKING | LATEST_PUBLISHED
Destructuring the Response
data ListRecipesResponse Source #
See: newListRecipesResponse smart constructor.
Constructors
| ListRecipesResponse' | |
Instances
newListRecipesResponse Source #
Arguments
| :: Int | |
| -> ListRecipesResponse |
Create a value of ListRecipesResponse 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:
ListRecipes, listRecipesResponse_nextToken - A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListRecipesResponse', listRecipesResponse_httpStatus - The response's http status code.
$sel:recipes:ListRecipesResponse', listRecipesResponse_recipes - A list of recipes that are defined.
Response Lenses
listRecipesResponse_nextToken :: Lens' ListRecipesResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listRecipesResponse_httpStatus :: Lens' ListRecipesResponse Int Source #
The response's http status code.
listRecipesResponse_recipes :: Lens' ListRecipesResponse [Recipe] Source #
A list of recipes that are defined.