| 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 |
Amazonka.Snowball.ListCompatibleImages
Description
This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat 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 Amazon Web Services Marketplace.
This operation returns paginated results.
Synopsis
- data ListCompatibleImages = ListCompatibleImages' {}
- newListCompatibleImages :: ListCompatibleImages
- listCompatibleImages_maxResults :: Lens' ListCompatibleImages (Maybe Natural)
- listCompatibleImages_nextToken :: Lens' ListCompatibleImages (Maybe Text)
- 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.
Constructors
| ListCompatibleImages' | |
Fields
| |
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:maxResults:ListCompatibleImages', listCompatibleImages_maxResults - The maximum number of results for the list of compatible images.
Currently, a Snowball Edge device can store 10 AMIs.
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.
Request Lenses
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.
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.
Destructuring the Response
data ListCompatibleImagesResponse Source #
See: newListCompatibleImagesResponse smart constructor.
Constructors
| ListCompatibleImagesResponse' | |
Fields
| |
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.
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.