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 |
Returns the list of images that you have access to.
Synopsis
- data ListImages = ListImages' {}
- newListImages :: ListImages
- listImages_byName :: Lens' ListImages (Maybe Bool)
- listImages_filters :: Lens' ListImages (Maybe (NonEmpty Filter))
- listImages_includeDeprecated :: Lens' ListImages (Maybe Bool)
- listImages_maxResults :: Lens' ListImages (Maybe Natural)
- listImages_nextToken :: Lens' ListImages (Maybe Text)
- listImages_owner :: Lens' ListImages (Maybe Ownership)
- data ListImagesResponse = ListImagesResponse' {
- imageVersionList :: Maybe [ImageVersion]
- nextToken :: Maybe Text
- requestId :: Maybe Text
- httpStatus :: Int
- newListImagesResponse :: Int -> ListImagesResponse
- listImagesResponse_imageVersionList :: Lens' ListImagesResponse (Maybe [ImageVersion])
- listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text)
- listImagesResponse_requestId :: Lens' ListImagesResponse (Maybe Text)
- listImagesResponse_httpStatus :: Lens' ListImagesResponse Int
Creating a Request
data ListImages Source #
See: newListImages
smart constructor.
ListImages' | |
|
Instances
newListImages :: ListImages Source #
Create a value of ListImages
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:byName:ListImages'
, listImages_byName
- Requests a list of images with a specific recipe name.
$sel:filters:ListImages'
, listImages_filters
- Use the following filters to streamline results:
name
osVersion
platform
type
version
$sel:includeDeprecated:ListImages'
, listImages_includeDeprecated
- Includes deprecated images in the response list.
$sel:maxResults:ListImages'
, listImages_maxResults
- The maximum items to return in a request.
ListImages
, listImages_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
ListImages
, listImages_owner
- The owner defines which images you want to list. By default, this
request will only show images owned by your account. You can use this
field to specify if you want to view images owned by yourself, by
Amazon, or those images that have been shared with you by other
customers.
Request Lenses
listImages_byName :: Lens' ListImages (Maybe Bool) Source #
Requests a list of images with a specific recipe name.
listImages_filters :: Lens' ListImages (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
name
osVersion
platform
type
version
listImages_includeDeprecated :: Lens' ListImages (Maybe Bool) Source #
Includes deprecated images in the response list.
listImages_maxResults :: Lens' ListImages (Maybe Natural) Source #
The maximum items to return in a request.
listImages_nextToken :: Lens' ListImages (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listImages_owner :: Lens' ListImages (Maybe Ownership) Source #
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
Destructuring the Response
data ListImagesResponse Source #
See: newListImagesResponse
smart constructor.
ListImagesResponse' | |
|
Instances
newListImagesResponse Source #
Create a value of ListImagesResponse
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:imageVersionList:ListImagesResponse'
, listImagesResponse_imageVersionList
- The list of image semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
ListImages
, listImagesResponse_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:requestId:ListImagesResponse'
, listImagesResponse_requestId
- The request ID that uniquely identifies this request.
$sel:httpStatus:ListImagesResponse'
, listImagesResponse_httpStatus
- The response's http status code.
Response Lenses
listImagesResponse_imageVersionList :: Lens' ListImagesResponse (Maybe [ImageVersion]) Source #
The list of image semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
listImagesResponse_nextToken :: Lens' ListImagesResponse (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.
listImagesResponse_requestId :: Lens' ListImagesResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listImagesResponse_httpStatus :: Lens' ListImagesResponse Int Source #
The response's http status code.