libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.ListImageVersions

Description

Lists the versions of a specified image and their properties. The list can be filtered by creation time or modified time.

This operation returns paginated results.

Synopsis

Creating a Request

data ListImageVersions Source #

See: newListImageVersions smart constructor.

Constructors

ListImageVersions' 

Fields

Instances

Instances details
Eq ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Read ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Show ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Generic ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Associated Types

type Rep ListImageVersions :: Type -> Type #

NFData ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Methods

rnf :: ListImageVersions -> () #

Hashable ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

ToJSON ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

AWSPager ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

AWSRequest ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Associated Types

type AWSResponse ListImageVersions #

ToHeaders ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

ToPath ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

ToQuery ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

type Rep ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

type AWSResponse ListImageVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

newListImageVersions Source #

Create a value of ListImageVersions 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:lastModifiedTimeBefore:ListImageVersions', listImageVersions_lastModifiedTimeBefore - A filter that returns only versions modified on or before the specified time.

$sel:creationTimeAfter:ListImageVersions', listImageVersions_creationTimeAfter - A filter that returns only versions created on or after the specified time.

$sel:nextToken:ListImageVersions', listImageVersions_nextToken - If the previous call to ListImageVersions didn't return the full set of versions, the call returns a token for getting the next set of versions.

$sel:sortOrder:ListImageVersions', listImageVersions_sortOrder - The sort order. The default value is DESCENDING.

$sel:lastModifiedTimeAfter:ListImageVersions', listImageVersions_lastModifiedTimeAfter - A filter that returns only versions modified on or after the specified time.

$sel:creationTimeBefore:ListImageVersions', listImageVersions_creationTimeBefore - A filter that returns only versions created on or before the specified time.

$sel:maxResults:ListImageVersions', listImageVersions_maxResults - The maximum number of versions to return in the response. The default value is 10.

$sel:sortBy:ListImageVersions', listImageVersions_sortBy - The property used to sort results. The default value is CREATION_TIME.

$sel:imageName:ListImageVersions', listImageVersions_imageName - The name of the image to list the versions of.

Request Lenses

listImageVersions_lastModifiedTimeBefore :: Lens' ListImageVersions (Maybe UTCTime) Source #

A filter that returns only versions modified on or before the specified time.

listImageVersions_creationTimeAfter :: Lens' ListImageVersions (Maybe UTCTime) Source #

A filter that returns only versions created on or after the specified time.

listImageVersions_nextToken :: Lens' ListImageVersions (Maybe Text) Source #

If the previous call to ListImageVersions didn't return the full set of versions, the call returns a token for getting the next set of versions.

listImageVersions_sortOrder :: Lens' ListImageVersions (Maybe ImageVersionSortOrder) Source #

The sort order. The default value is DESCENDING.

listImageVersions_lastModifiedTimeAfter :: Lens' ListImageVersions (Maybe UTCTime) Source #

A filter that returns only versions modified on or after the specified time.

listImageVersions_creationTimeBefore :: Lens' ListImageVersions (Maybe UTCTime) Source #

A filter that returns only versions created on or before the specified time.

listImageVersions_maxResults :: Lens' ListImageVersions (Maybe Natural) Source #

The maximum number of versions to return in the response. The default value is 10.

listImageVersions_sortBy :: Lens' ListImageVersions (Maybe ImageVersionSortBy) Source #

The property used to sort results. The default value is CREATION_TIME.

listImageVersions_imageName :: Lens' ListImageVersions Text Source #

The name of the image to list the versions of.

Destructuring the Response

data ListImageVersionsResponse Source #

See: newListImageVersionsResponse smart constructor.

Constructors

ListImageVersionsResponse' 

Fields

Instances

Instances details
Eq ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Read ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Show ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Generic ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

Associated Types

type Rep ListImageVersionsResponse :: Type -> Type #

NFData ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

type Rep ListImageVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListImageVersions

type Rep ListImageVersionsResponse = D1 ('MetaData "ListImageVersionsResponse" "Amazonka.SageMaker.ListImageVersions" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ListImageVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "imageVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImageVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImageVersionsResponse Source #

Create a value of ListImageVersionsResponse 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:nextToken:ListImageVersions', listImageVersionsResponse_nextToken - A token for getting the next set of versions, if there are any.

$sel:imageVersions:ListImageVersionsResponse', listImageVersionsResponse_imageVersions - A list of versions and their properties.

$sel:httpStatus:ListImageVersionsResponse', listImageVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listImageVersionsResponse_nextToken :: Lens' ListImageVersionsResponse (Maybe Text) Source #

A token for getting the next set of versions, if there are any.