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 container recipes.
Synopsis
- data ListContainerRecipes = ListContainerRecipes' {}
- newListContainerRecipes :: ListContainerRecipes
- listContainerRecipes_filters :: Lens' ListContainerRecipes (Maybe (NonEmpty Filter))
- listContainerRecipes_owner :: Lens' ListContainerRecipes (Maybe Ownership)
- listContainerRecipes_nextToken :: Lens' ListContainerRecipes (Maybe Text)
- listContainerRecipes_maxResults :: Lens' ListContainerRecipes (Maybe Natural)
- data ListContainerRecipesResponse = ListContainerRecipesResponse' {}
- newListContainerRecipesResponse :: Int -> ListContainerRecipesResponse
- listContainerRecipesResponse_requestId :: Lens' ListContainerRecipesResponse (Maybe Text)
- listContainerRecipesResponse_containerRecipeSummaryList :: Lens' ListContainerRecipesResponse (Maybe [ContainerRecipeSummary])
- listContainerRecipesResponse_nextToken :: Lens' ListContainerRecipesResponse (Maybe Text)
- listContainerRecipesResponse_httpStatus :: Lens' ListContainerRecipesResponse Int
Creating a Request
data ListContainerRecipes Source #
See: newListContainerRecipes
smart constructor.
ListContainerRecipes' | |
|
Instances
newListContainerRecipes :: ListContainerRecipes Source #
Create a value of ListContainerRecipes
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:ListContainerRecipes'
, listContainerRecipes_filters
- Use the following filters to streamline results:
containerType
name
parentImage
platform
$sel:owner:ListContainerRecipes'
, listContainerRecipes_owner
- Returns container recipes belonging to the specified owner, that have
been shared with you. You can omit this field to return container
recipes belonging to your account.
$sel:nextToken:ListContainerRecipes'
, listContainerRecipes_nextToken
- Provides a token for pagination, which determines where to begin the
next set of results when the current set reaches the maximum for one
request.
$sel:maxResults:ListContainerRecipes'
, listContainerRecipes_maxResults
- The maximum number of results to return in the list.
Request Lenses
listContainerRecipes_filters :: Lens' ListContainerRecipes (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
containerType
name
parentImage
platform
listContainerRecipes_owner :: Lens' ListContainerRecipes (Maybe Ownership) Source #
Returns container recipes belonging to the specified owner, that have been shared with you. You can omit this field to return container recipes belonging to your account.
listContainerRecipes_nextToken :: Lens' ListContainerRecipes (Maybe Text) Source #
Provides a token for pagination, which determines where to begin the next set of results when the current set reaches the maximum for one request.
listContainerRecipes_maxResults :: Lens' ListContainerRecipes (Maybe Natural) Source #
The maximum number of results to return in the list.
Destructuring the Response
data ListContainerRecipesResponse Source #
See: newListContainerRecipesResponse
smart constructor.
ListContainerRecipesResponse' | |
|
Instances
newListContainerRecipesResponse Source #
Create a value of ListContainerRecipesResponse
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:ListContainerRecipesResponse'
, listContainerRecipesResponse_requestId
- The request ID that uniquely identifies this request.
$sel:containerRecipeSummaryList:ListContainerRecipesResponse'
, listContainerRecipesResponse_containerRecipeSummaryList
- The list of container recipes returned for the request.
$sel:nextToken:ListContainerRecipes'
, listContainerRecipesResponse_nextToken
- The next token field is used for paginated responses. When this is not
empty, there are additional container recipes that the service has not
included in this response. Use this token with the next request to
retrieve additional list items.
$sel:httpStatus:ListContainerRecipesResponse'
, listContainerRecipesResponse_httpStatus
- The response's http status code.
Response Lenses
listContainerRecipesResponse_requestId :: Lens' ListContainerRecipesResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listContainerRecipesResponse_containerRecipeSummaryList :: Lens' ListContainerRecipesResponse (Maybe [ContainerRecipeSummary]) Source #
The list of container recipes returned for the request.
listContainerRecipesResponse_nextToken :: Lens' ListContainerRecipesResponse (Maybe Text) Source #
The next token field is used for paginated responses. When this is not empty, there are additional container recipes that the service has not included in this response. Use this token with the next request to retrieve additional list items.
listContainerRecipesResponse_httpStatus :: Lens' ListContainerRecipesResponse Int Source #
The response's http status code.