| 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.ListRecipeVersions
Description
Lists the versions of a particular DataBrew recipe, except for
LATEST_WORKING.
This operation returns paginated results.
Synopsis
- data ListRecipeVersions = ListRecipeVersions' {}
- newListRecipeVersions :: Text -> ListRecipeVersions
- listRecipeVersions_maxResults :: Lens' ListRecipeVersions (Maybe Natural)
- listRecipeVersions_nextToken :: Lens' ListRecipeVersions (Maybe Text)
- listRecipeVersions_name :: Lens' ListRecipeVersions Text
- data ListRecipeVersionsResponse = ListRecipeVersionsResponse' {}
- newListRecipeVersionsResponse :: Int -> ListRecipeVersionsResponse
- listRecipeVersionsResponse_nextToken :: Lens' ListRecipeVersionsResponse (Maybe Text)
- listRecipeVersionsResponse_httpStatus :: Lens' ListRecipeVersionsResponse Int
- listRecipeVersionsResponse_recipes :: Lens' ListRecipeVersionsResponse [Recipe]
Creating a Request
data ListRecipeVersions Source #
See: newListRecipeVersions smart constructor.
Constructors
| ListRecipeVersions' | |
Instances
newListRecipeVersions Source #
Arguments
| :: Text | |
| -> ListRecipeVersions |
Create a value of ListRecipeVersions 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:ListRecipeVersions', listRecipeVersions_maxResults - The maximum number of results to return in this request.
ListRecipeVersions, listRecipeVersions_nextToken - The token returned by a previous call to retrieve the next set of
results.
ListRecipeVersions, listRecipeVersions_name - The name of the recipe for which to return version information.
Request Lenses
listRecipeVersions_maxResults :: Lens' ListRecipeVersions (Maybe Natural) Source #
The maximum number of results to return in this request.
listRecipeVersions_nextToken :: Lens' ListRecipeVersions (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listRecipeVersions_name :: Lens' ListRecipeVersions Text Source #
The name of the recipe for which to return version information.
Destructuring the Response
data ListRecipeVersionsResponse Source #
See: newListRecipeVersionsResponse smart constructor.
Constructors
| ListRecipeVersionsResponse' | |
Instances
newListRecipeVersionsResponse Source #
Create a value of ListRecipeVersionsResponse 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:
ListRecipeVersions, listRecipeVersionsResponse_nextToken - A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListRecipeVersionsResponse', listRecipeVersionsResponse_httpStatus - The response's http status code.
$sel:recipes:ListRecipeVersionsResponse', listRecipeVersionsResponse_recipes - A list of versions for the specified recipe.
Response Lenses
listRecipeVersionsResponse_nextToken :: Lens' ListRecipeVersionsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listRecipeVersionsResponse_httpStatus :: Lens' ListRecipeVersionsResponse Int Source #
The response's http status code.
listRecipeVersionsResponse_recipes :: Lens' ListRecipeVersionsResponse [Recipe] Source #
A list of versions for the specified recipe.