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 |
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
- data DescribeWorkspaceImages = DescribeWorkspaceImages' {}
- newDescribeWorkspaceImages :: DescribeWorkspaceImages
- describeWorkspaceImages_imageIds :: Lens' DescribeWorkspaceImages (Maybe (NonEmpty Text))
- describeWorkspaceImages_nextToken :: Lens' DescribeWorkspaceImages (Maybe Text)
- describeWorkspaceImages_imageType :: Lens' DescribeWorkspaceImages (Maybe ImageType)
- describeWorkspaceImages_maxResults :: Lens' DescribeWorkspaceImages (Maybe Natural)
- data DescribeWorkspaceImagesResponse = DescribeWorkspaceImagesResponse' {
- images :: Maybe [WorkspaceImage]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeWorkspaceImagesResponse :: Int -> DescribeWorkspaceImagesResponse
- describeWorkspaceImagesResponse_images :: Lens' DescribeWorkspaceImagesResponse (Maybe [WorkspaceImage])
- describeWorkspaceImagesResponse_nextToken :: Lens' DescribeWorkspaceImagesResponse (Maybe Text)
- describeWorkspaceImagesResponse_httpStatus :: Lens' DescribeWorkspaceImagesResponse Int
Creating a Request
data DescribeWorkspaceImages Source #
See: newDescribeWorkspaceImages
smart constructor.
DescribeWorkspaceImages' | |
|
Instances
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_imageIds :: Lens' DescribeWorkspaceImages (Maybe (NonEmpty Text)) Source #
The identifier of the image.
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.
describeWorkspaceImages_imageType :: Lens' DescribeWorkspaceImages (Maybe ImageType) Source #
The type (owned or shared) of the image.
describeWorkspaceImages_maxResults :: Lens' DescribeWorkspaceImages (Maybe Natural) Source #
The maximum number of items to return.
Destructuring the Response
data DescribeWorkspaceImagesResponse Source #
See: newDescribeWorkspaceImagesResponse
smart constructor.
DescribeWorkspaceImagesResponse' | |
|
Instances
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_images :: Lens' DescribeWorkspaceImagesResponse (Maybe [WorkspaceImage]) Source #
Information about the images.
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.
describeWorkspaceImagesResponse_httpStatus :: Lens' DescribeWorkspaceImagesResponse Int Source #
The response's http status code.