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 |
This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your AWS account that would be supported for use on a Snow device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM, Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the AWS Marketplace.
This operation returns paginated results.
Synopsis
- data ListCompatibleImages = ListCompatibleImages' {}
- newListCompatibleImages :: ListCompatibleImages
- listCompatibleImages_nextToken :: Lens' ListCompatibleImages (Maybe Text)
- listCompatibleImages_maxResults :: Lens' ListCompatibleImages (Maybe Natural)
- data ListCompatibleImagesResponse = ListCompatibleImagesResponse' {}
- newListCompatibleImagesResponse :: Int -> ListCompatibleImagesResponse
- listCompatibleImagesResponse_compatibleImages :: Lens' ListCompatibleImagesResponse (Maybe [CompatibleImage])
- listCompatibleImagesResponse_nextToken :: Lens' ListCompatibleImagesResponse (Maybe Text)
- listCompatibleImagesResponse_httpStatus :: Lens' ListCompatibleImagesResponse Int
Creating a Request
data ListCompatibleImages Source #
See: newListCompatibleImages
smart constructor.
ListCompatibleImages' | |
|
Instances
newListCompatibleImages :: ListCompatibleImages Source #
Create a value of ListCompatibleImages
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:ListCompatibleImages'
, listCompatibleImages_nextToken
- HTTP requests are stateless. To identify what object comes "next" in
the list of compatible images, you can specify a value for NextToken
as the starting point for your list of returned images.
$sel:maxResults:ListCompatibleImages'
, listCompatibleImages_maxResults
- The maximum number of results for the list of compatible images.
Currently, a Snowball Edge device can store 10 AMIs.
Request Lenses
listCompatibleImages_nextToken :: Lens' ListCompatibleImages (Maybe Text) Source #
HTTP requests are stateless. To identify what object comes "next" in
the list of compatible images, you can specify a value for NextToken
as the starting point for your list of returned images.
listCompatibleImages_maxResults :: Lens' ListCompatibleImages (Maybe Natural) Source #
The maximum number of results for the list of compatible images. Currently, a Snowball Edge device can store 10 AMIs.
Destructuring the Response
data ListCompatibleImagesResponse Source #
See: newListCompatibleImagesResponse
smart constructor.
ListCompatibleImagesResponse' | |
|
Instances
newListCompatibleImagesResponse Source #
Create a value of ListCompatibleImagesResponse
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:compatibleImages:ListCompatibleImagesResponse'
, listCompatibleImagesResponse_compatibleImages
- A JSON-formatted object that describes a compatible AMI, including the
ID and name for a Snow device AMI.
$sel:nextToken:ListCompatibleImages'
, listCompatibleImagesResponse_nextToken
- Because HTTP requests are stateless, this is the starting point for your
next list of returned images.
$sel:httpStatus:ListCompatibleImagesResponse'
, listCompatibleImagesResponse_httpStatus
- The response's http status code.
Response Lenses
listCompatibleImagesResponse_compatibleImages :: Lens' ListCompatibleImagesResponse (Maybe [CompatibleImage]) Source #
A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.
listCompatibleImagesResponse_nextToken :: Lens' ListCompatibleImagesResponse (Maybe Text) Source #
Because HTTP requests are stateless, this is the starting point for your next list of returned images.
listCompatibleImagesResponse_httpStatus :: Lens' ListCompatibleImagesResponse Int Source #
The response's http status code.