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 |
Returns a list of image recipes.
Synopsis
- data ListImageRecipes = ListImageRecipes' {}
- newListImageRecipes :: ListImageRecipes
- listImageRecipes_filters :: Lens' ListImageRecipes (Maybe (NonEmpty Filter))
- listImageRecipes_owner :: Lens' ListImageRecipes (Maybe Ownership)
- listImageRecipes_nextToken :: Lens' ListImageRecipes (Maybe Text)
- listImageRecipes_maxResults :: Lens' ListImageRecipes (Maybe Natural)
- data ListImageRecipesResponse = ListImageRecipesResponse' {}
- newListImageRecipesResponse :: Int -> ListImageRecipesResponse
- listImageRecipesResponse_requestId :: Lens' ListImageRecipesResponse (Maybe Text)
- listImageRecipesResponse_nextToken :: Lens' ListImageRecipesResponse (Maybe Text)
- listImageRecipesResponse_imageRecipeSummaryList :: Lens' ListImageRecipesResponse (Maybe [ImageRecipeSummary])
- listImageRecipesResponse_httpStatus :: Lens' ListImageRecipesResponse Int
Creating a Request
data ListImageRecipes Source #
See: newListImageRecipes
smart constructor.
ListImageRecipes' | |
|
Instances
newListImageRecipes :: ListImageRecipes Source #
Create a value of ListImageRecipes
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:filters:ListImageRecipes'
, listImageRecipes_filters
- Use the following filters to streamline results:
name
parentImage
platform
$sel:owner:ListImageRecipes'
, listImageRecipes_owner
- The owner defines which image recipes you want to list. By default, this
request will only show image recipes owned by your account. You can use
this field to specify if you want to view image recipes owned by
yourself, by Amazon, or those image recipes that have been shared with
you by other customers.
$sel:nextToken:ListImageRecipes'
, listImageRecipes_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListImageRecipes'
, listImageRecipes_maxResults
- The maximum items to return in a request.
Request Lenses
listImageRecipes_filters :: Lens' ListImageRecipes (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
name
parentImage
platform
listImageRecipes_owner :: Lens' ListImageRecipes (Maybe Ownership) Source #
The owner defines which image recipes you want to list. By default, this request will only show image recipes owned by your account. You can use this field to specify if you want to view image recipes owned by yourself, by Amazon, or those image recipes that have been shared with you by other customers.
listImageRecipes_nextToken :: Lens' ListImageRecipes (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listImageRecipes_maxResults :: Lens' ListImageRecipes (Maybe Natural) Source #
The maximum items to return in a request.
Destructuring the Response
data ListImageRecipesResponse Source #
See: newListImageRecipesResponse
smart constructor.
ListImageRecipesResponse' | |
|
Instances
newListImageRecipesResponse Source #
Create a value of ListImageRecipesResponse
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:requestId:ListImageRecipesResponse'
, listImageRecipesResponse_requestId
- The request ID that uniquely identifies this request.
$sel:nextToken:ListImageRecipes'
, listImageRecipesResponse_nextToken
- The next token used for paginated responses. When this is not empty,
there are additional elements that the service has not included in this
request. Use this token with the next request to retrieve additional
objects.
$sel:imageRecipeSummaryList:ListImageRecipesResponse'
, listImageRecipesResponse_imageRecipeSummaryList
- The list of image pipelines.
$sel:httpStatus:ListImageRecipesResponse'
, listImageRecipesResponse_httpStatus
- The response's http status code.
Response Lenses
listImageRecipesResponse_requestId :: Lens' ListImageRecipesResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listImageRecipesResponse_nextToken :: Lens' ListImageRecipesResponse (Maybe Text) Source #
The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.
listImageRecipesResponse_imageRecipeSummaryList :: Lens' ListImageRecipesResponse (Maybe [ImageRecipeSummary]) Source #
The list of image pipelines.
listImageRecipesResponse_httpStatus :: Lens' ListImageRecipesResponse Int Source #
The response's http status code.