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 |
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
- data DescribeImages = DescribeImages' {}
- newDescribeImages :: DescribeImages
- describeImages_arns :: Lens' DescribeImages (Maybe [Text])
- describeImages_maxResults :: Lens' DescribeImages (Maybe Natural)
- describeImages_names :: Lens' DescribeImages (Maybe [Text])
- describeImages_nextToken :: Lens' DescribeImages (Maybe Text)
- describeImages_type :: Lens' DescribeImages (Maybe VisibilityType)
- data DescribeImagesResponse = DescribeImagesResponse' {}
- newDescribeImagesResponse :: Int -> DescribeImagesResponse
- describeImagesResponse_images :: Lens' DescribeImagesResponse (Maybe [Image])
- describeImagesResponse_nextToken :: Lens' DescribeImagesResponse (Maybe Text)
- describeImagesResponse_httpStatus :: Lens' DescribeImagesResponse Int
Creating a Request
data DescribeImages Source #
See: newDescribeImages
smart constructor.
DescribeImages' | |
|
Instances
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: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.
$sel:names:DescribeImages'
, describeImages_names
- The names of the public or private images to describe.
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:type':DescribeImages'
, describeImages_type
- The type of image (public, private, or shared) to describe.
Request Lenses
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.
describeImages_names :: Lens' DescribeImages (Maybe [Text]) Source #
The names of the public or private images to describe.
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_type :: Lens' DescribeImages (Maybe VisibilityType) Source #
The type of image (public, private, or shared) to describe.
Destructuring the Response
data DescribeImagesResponse Source #
See: newDescribeImagesResponse
smart constructor.
Instances
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.
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_images :: Lens' DescribeImagesResponse (Maybe [Image]) Source #
Information about the images.
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.
describeImagesResponse_httpStatus :: Lens' DescribeImagesResponse Int Source #
The response's http status code.