libZSservicesZSamazonka-appstreamZSamazonka-appstream
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppStream.DescribeImages

Description

Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeImages Source #

See: newDescribeImages smart constructor.

Constructors

DescribeImages' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • names :: Maybe [Text]

    The names of the public or private images to describe.

  • type' :: Maybe VisibilityType

    The type of image (public, private, or shared) to describe.

  • arns :: Maybe [Text]

    The ARNs of the public, private, and shared images to describe.

  • maxResults :: Maybe Natural

    The maximum size of each page of results.

Instances

Instances details
Eq DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Read DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Show DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Generic DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Associated Types

type Rep DescribeImages :: Type -> Type #

NFData DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Methods

rnf :: DescribeImages -> () #

Hashable DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

ToJSON DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

AWSPager DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

AWSRequest DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Associated Types

type AWSResponse DescribeImages #

ToHeaders DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

ToPath DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

ToQuery DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

type Rep DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

type Rep DescribeImages = D1 ('MetaData "DescribeImages" "Amazonka.AppStream.DescribeImages" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeImages'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VisibilityType)) :*: (S1 ('MetaSel ('Just "arns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse DescribeImages Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

newDescribeImages :: DescribeImages Source #

Create a value of DescribeImages 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:DescribeImages', describeImages_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:names:DescribeImages', describeImages_names - The names of the public or private images to describe.

$sel:type':DescribeImages', describeImages_type - The type of image (public, private, or shared) to describe.

$sel:arns:DescribeImages', describeImages_arns - The ARNs of the public, private, and shared images to describe.

$sel:maxResults:DescribeImages', describeImages_maxResults - The maximum size of each page of results.

Request Lenses

describeImages_nextToken :: Lens' DescribeImages (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

describeImages_names :: Lens' DescribeImages (Maybe [Text]) Source #

The names of the public or private images to describe.

describeImages_type :: Lens' DescribeImages (Maybe VisibilityType) Source #

The type of image (public, private, or shared) to describe.

describeImages_arns :: Lens' DescribeImages (Maybe [Text]) Source #

The ARNs of the public, private, and shared images to describe.

describeImages_maxResults :: Lens' DescribeImages (Maybe Natural) Source #

The maximum size of each page of results.

Destructuring the Response

data DescribeImagesResponse Source #

See: newDescribeImagesResponse smart constructor.

Constructors

DescribeImagesResponse' 

Fields

  • images :: Maybe [Image]

    Information about the images.

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Read DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Show DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Generic DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Associated Types

type Rep DescribeImagesResponse :: Type -> Type #

NFData DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

Methods

rnf :: DescribeImagesResponse -> () #

type Rep DescribeImagesResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeImages

type Rep DescribeImagesResponse = D1 ('MetaData "DescribeImagesResponse" "Amazonka.AppStream.DescribeImages" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeImagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "images") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Image])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeImagesResponse Source #

Create a value of DescribeImagesResponse 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:images:DescribeImagesResponse', describeImagesResponse_images - Information about the images.

$sel:nextToken:DescribeImages', describeImagesResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:httpStatus:DescribeImagesResponse', describeImagesResponse_httpStatus - The response's http status code.

Response Lenses

describeImagesResponse_nextToken :: Lens' DescribeImagesResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.