| 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 | 
Amazonka.SageMaker.ListImages
Description
Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.
This operation returns paginated results.
Synopsis
- data ListImages = ListImages' {}
 - newListImages :: ListImages
 - listImages_creationTimeAfter :: Lens' ListImages (Maybe UTCTime)
 - listImages_creationTimeBefore :: Lens' ListImages (Maybe UTCTime)
 - listImages_lastModifiedTimeAfter :: Lens' ListImages (Maybe UTCTime)
 - listImages_lastModifiedTimeBefore :: Lens' ListImages (Maybe UTCTime)
 - listImages_maxResults :: Lens' ListImages (Maybe Natural)
 - listImages_nameContains :: Lens' ListImages (Maybe Text)
 - listImages_nextToken :: Lens' ListImages (Maybe Text)
 - listImages_sortBy :: Lens' ListImages (Maybe ImageSortBy)
 - listImages_sortOrder :: Lens' ListImages (Maybe ImageSortOrder)
 - data ListImagesResponse = ListImagesResponse' {}
 - newListImagesResponse :: Int -> ListImagesResponse
 - listImagesResponse_images :: Lens' ListImagesResponse (Maybe [Image])
 - listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text)
 - listImagesResponse_httpStatus :: Lens' ListImagesResponse Int
 
Creating a Request
data ListImages Source #
See: newListImages smart constructor.
Constructors
| ListImages' | |
Fields 
  | |
Instances
newListImages :: ListImages Source #
Create a value of ListImages 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:creationTimeAfter:ListImages', listImages_creationTimeAfter - A filter that returns only images created on or after the specified
 time.
$sel:creationTimeBefore:ListImages', listImages_creationTimeBefore - A filter that returns only images created on or before the specified
 time.
$sel:lastModifiedTimeAfter:ListImages', listImages_lastModifiedTimeAfter - A filter that returns only images modified on or after the specified
 time.
$sel:lastModifiedTimeBefore:ListImages', listImages_lastModifiedTimeBefore - A filter that returns only images modified on or before the specified
 time.
$sel:maxResults:ListImages', listImages_maxResults - The maximum number of images to return in the response. The default
 value is 10.
$sel:nameContains:ListImages', listImages_nameContains - A filter that returns only images whose name contains the specified
 string.
ListImages, listImages_nextToken - If the previous call to ListImages didn't return the full set of
 images, the call returns a token for getting the next set of images.
$sel:sortBy:ListImages', listImages_sortBy - The property used to sort results. The default value is CREATION_TIME.
$sel:sortOrder:ListImages', listImages_sortOrder - The sort order. The default value is DESCENDING.
Request Lenses
listImages_creationTimeAfter :: Lens' ListImages (Maybe UTCTime) Source #
A filter that returns only images created on or after the specified time.
listImages_creationTimeBefore :: Lens' ListImages (Maybe UTCTime) Source #
A filter that returns only images created on or before the specified time.
listImages_lastModifiedTimeAfter :: Lens' ListImages (Maybe UTCTime) Source #
A filter that returns only images modified on or after the specified time.
listImages_lastModifiedTimeBefore :: Lens' ListImages (Maybe UTCTime) Source #
A filter that returns only images modified on or before the specified time.
listImages_maxResults :: Lens' ListImages (Maybe Natural) Source #
The maximum number of images to return in the response. The default value is 10.
listImages_nameContains :: Lens' ListImages (Maybe Text) Source #
A filter that returns only images whose name contains the specified string.
listImages_nextToken :: Lens' ListImages (Maybe Text) Source #
If the previous call to ListImages didn't return the full set of
 images, the call returns a token for getting the next set of images.
listImages_sortBy :: Lens' ListImages (Maybe ImageSortBy) Source #
The property used to sort results. The default value is CREATION_TIME.
listImages_sortOrder :: Lens' ListImages (Maybe ImageSortOrder) Source #
The sort order. The default value is DESCENDING.
Destructuring the Response
data ListImagesResponse Source #
See: newListImagesResponse smart constructor.
Constructors
| ListImagesResponse' | |
Instances
newListImagesResponse Source #
Arguments
| :: Int | |
| -> ListImagesResponse | 
Create a value of ListImagesResponse 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:ListImagesResponse', listImagesResponse_images - A list of images and their properties.
ListImages, listImagesResponse_nextToken - A token for getting the next set of images, if there are any.
$sel:httpStatus:ListImagesResponse', listImagesResponse_httpStatus - The response's http status code.
Response Lenses
listImagesResponse_images :: Lens' ListImagesResponse (Maybe [Image]) Source #
A list of images and their properties.
listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text) Source #
A token for getting the next set of images, if there are any.
listImagesResponse_httpStatus :: Lens' ListImagesResponse Int Source #
The response's http status code.