amazonka-snowball-2.0: Amazon Import/Export Snowball SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data ListCompatibleImages Source #

See: newListCompatibleImages smart constructor.

Constructors

ListCompatibleImages' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results for the list of compatible images. Currently, a Snowball Edge device can store 10 AMIs.

  • nextToken :: Maybe Text

    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.

Instances

Instances details
ToJSON ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

ToHeaders ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

ToPath ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

ToQuery ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

AWSPager ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

AWSRequest ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Associated Types

type AWSResponse ListCompatibleImages #

Generic ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Associated Types

type Rep ListCompatibleImages :: Type -> Type #

Read ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Show ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

NFData ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Methods

rnf :: ListCompatibleImages -> () #

Eq ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Hashable ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

type AWSResponse ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

type Rep ListCompatibleImages Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

type Rep ListCompatibleImages = D1 ('MetaData "ListCompatibleImages" "Amazonka.Snowball.ListCompatibleImages" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "ListCompatibleImages'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

Instances details
Generic ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Associated Types

type Rep ListCompatibleImagesResponse :: Type -> Type #

Read ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Show ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

NFData ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

Eq ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

type Rep ListCompatibleImagesResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListCompatibleImages

type Rep ListCompatibleImagesResponse = D1 ('MetaData "ListCompatibleImagesResponse" "Amazonka.Snowball.ListCompatibleImages" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "ListCompatibleImagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "compatibleImages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompatibleImage])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.