v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

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

post/#X-Amz-Target=SageMaker.ListImageVersions

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListImageVersions' required

Request body

CreationTimeAfterstring date-time

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

CreationTimeBeforestring date-time

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

ImageNamestring required

The name of the image to list the versions of.

LastModifiedTimeAfterstring date-time

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

LastModifiedTimeBeforestring date-time

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

MaxResultsinteger

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

NextTokenstring

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

SortBy'CREATION_TIME' | 'LAST_MODIFIED_TIME' | 'VERSION'

The property used to sort results. The default value is <code>CREATION_TIME</code>.

SortOrder'ASCENDING' | 'DESCENDING'

The sort order. The default value is <code>DESCENDING</code>.

Response

Success

NextTokenstring

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