amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data ListImages Source #

See: newListImages smart constructor.

Constructors

ListImages' 

Fields

Instances

Instances details
ToJSON ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

ToHeaders ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Methods

toHeaders :: ListImages -> [Header] #

ToPath ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

ToQuery ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

AWSPager ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

AWSRequest ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Associated Types

type AWSResponse ListImages #

Generic ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Associated Types

type Rep ListImages :: Type -> Type #

Read ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Show ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

NFData ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Methods

rnf :: ListImages -> () #

Eq ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Hashable ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

type AWSResponse ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

type Rep ListImages Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

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' 

Fields

Instances

Instances details
Generic ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Associated Types

type Rep ListImagesResponse :: Type -> Type #

Read ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Show ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

NFData ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

Methods

rnf :: ListImagesResponse -> () #

Eq ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

type Rep ListImagesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImages

type Rep ListImagesResponse = D1 ('MetaData "ListImagesResponse" "Amazonka.SageMaker.ListImages" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListImagesResponse'" '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))))

newListImagesResponse Source #

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.