libZSservicesZSamazonka-workspacesZSamazonka-workspaces
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.WorkSpaces.DescribeWorkspaceImages

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeWorkspaceImages Source #

See: newDescribeWorkspaceImages smart constructor.

Constructors

DescribeWorkspaceImages' 

Fields

Instances

Instances details
Eq DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Read DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Show DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Generic DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Associated Types

type Rep DescribeWorkspaceImages :: Type -> Type #

NFData DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Methods

rnf :: DescribeWorkspaceImages -> () #

Hashable DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

ToJSON DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

AWSPager DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

AWSRequest DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

ToHeaders DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

ToPath DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

ToQuery DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

type Rep DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

type Rep DescribeWorkspaceImages = D1 ('MetaData "DescribeWorkspaceImages" "Amazonka.WorkSpaces.DescribeWorkspaceImages" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "DescribeWorkspaceImages'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "imageIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageType)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse DescribeWorkspaceImages Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

newDescribeWorkspaceImages :: DescribeWorkspaceImages Source #

Create a value of DescribeWorkspaceImages 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:imageIds:DescribeWorkspaceImages', describeWorkspaceImages_imageIds - The identifier of the image.

$sel:nextToken:DescribeWorkspaceImages', describeWorkspaceImages_nextToken - If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

$sel:imageType:DescribeWorkspaceImages', describeWorkspaceImages_imageType - The type (owned or shared) of the image.

$sel:maxResults:DescribeWorkspaceImages', describeWorkspaceImages_maxResults - The maximum number of items to return.

Request Lenses

describeWorkspaceImages_nextToken :: Lens' DescribeWorkspaceImages (Maybe Text) Source #

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

Destructuring the Response

data DescribeWorkspaceImagesResponse Source #

See: newDescribeWorkspaceImagesResponse smart constructor.

Constructors

DescribeWorkspaceImagesResponse' 

Fields

Instances

Instances details
Eq DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Read DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Show DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Generic DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

Associated Types

type Rep DescribeWorkspaceImagesResponse :: Type -> Type #

NFData DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

type Rep DescribeWorkspaceImagesResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.DescribeWorkspaceImages

type Rep DescribeWorkspaceImagesResponse = D1 ('MetaData "DescribeWorkspaceImagesResponse" "Amazonka.WorkSpaces.DescribeWorkspaceImages" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "DescribeWorkspaceImagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "images") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [WorkspaceImage])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeWorkspaceImagesResponse Source #

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

$sel:nextToken:DescribeWorkspaceImages', describeWorkspaceImagesResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeWorkspaceImagesResponse', describeWorkspaceImagesResponse_httpStatus - The response's http status code.

Response Lenses

describeWorkspaceImagesResponse_nextToken :: Lens' DescribeWorkspaceImagesResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.