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 the versions of a particular DataBrew recipe, except for
LATEST_WORKING
.
This operation returns paginated results.
Synopsis
- data ListRecipeVersions = ListRecipeVersions' {}
- newListRecipeVersions :: Text -> ListRecipeVersions
- listRecipeVersions_nextToken :: Lens' ListRecipeVersions (Maybe Text)
- listRecipeVersions_maxResults :: Lens' ListRecipeVersions (Maybe Natural)
- 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.
Instances
newListRecipeVersions Source #
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:nextToken:ListRecipeVersions'
, listRecipeVersions_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:maxResults:ListRecipeVersions'
, listRecipeVersions_maxResults
- The maximum number of results to return in this request.
$sel:name:ListRecipeVersions'
, listRecipeVersions_name
- The name of the recipe for which to return version information.
Request Lenses
listRecipeVersions_nextToken :: Lens' ListRecipeVersions (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listRecipeVersions_maxResults :: Lens' ListRecipeVersions (Maybe Natural) Source #
The maximum number of results to return in this request.
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.
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:
$sel:nextToken: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.