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 |
Lists all of the DataBrew recipes that are defined.
This operation returns paginated results.
Synopsis
- data ListRecipes = ListRecipes' {}
- newListRecipes :: ListRecipes
- listRecipes_nextToken :: Lens' ListRecipes (Maybe Text)
- listRecipes_recipeVersion :: Lens' ListRecipes (Maybe Text)
- listRecipes_maxResults :: Lens' ListRecipes (Maybe Natural)
- 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.
ListRecipes' | |
|
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:nextToken:ListRecipes'
, listRecipes_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:recipeVersion: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
$sel:maxResults:ListRecipes'
, listRecipes_maxResults
- The maximum number of results to return in this request.
Request Lenses
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
listRecipes_maxResults :: Lens' ListRecipes (Maybe Natural) Source #
The maximum number of results to return in this request.
Destructuring the Response
data ListRecipesResponse Source #
See: newListRecipesResponse
smart constructor.
Instances
newListRecipesResponse Source #
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:
$sel:nextToken: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.