Lists the versions of a specified image and their properties¶
Description¶
Lists the versions of a specified image and their properties. The list can be filtered by creation time or modified time.
Usage¶
sagemaker_list_image_versions(CreationTimeAfter, CreationTimeBefore,
ImageName, LastModifiedTimeAfter, LastModifiedTimeBefore, MaxResults,
NextToken, SortBy, SortOrder)
Arguments¶
-
CreationTimeAfterA filter that returns only versions created on or after the specified time.
-
CreationTimeBeforeA filter that returns only versions created on or before the specified time.
-
ImageName[required] The name of the image to list the versions of.
-
LastModifiedTimeAfterA filter that returns only versions modified on or after the specified time.
-
LastModifiedTimeBeforeA filter that returns only versions modified on or before the specified time.
-
MaxResultsThe maximum number of versions to return in the response. The default value is 10.
-
NextTokenIf the previous call to
list_image_versionsdidn't return the full set of versions, the call returns a token for getting the next set of versions. -
SortByThe property used to sort results. The default value is
CREATION_TIME. -
SortOrderThe sort order. The default value is
DESCENDING.
Value¶
A list with the following syntax:
list(
ImageVersions = list(
list(
CreationTime = as.POSIXct(
"2015-01-01"
),
FailureReason = "string",
ImageArn = "string",
ImageVersionArn = "string",
ImageVersionStatus = "CREATING"|"CREATED"|"CREATE_FAILED"|"DELETING"|"DELETE_FAILED",
LastModifiedTime = as.POSIXct(
"2015-01-01"
),
Version = 123
)
),
NextToken = "string"
)
Request syntax¶
svc$list_image_versions(
CreationTimeAfter = as.POSIXct(
"2015-01-01"
),
CreationTimeBefore = as.POSIXct(
"2015-01-01"
),
ImageName = "string",
LastModifiedTimeAfter = as.POSIXct(
"2015-01-01"
),
LastModifiedTimeBefore = as.POSIXct(
"2015-01-01"
),
MaxResults = 123,
NextToken = "string",
SortBy = "CREATION_TIME"|"LAST_MODIFIED_TIME"|"VERSION",
SortOrder = "ASCENDING"|"DESCENDING"
)