List existing versions of an Amazon SageMaker Model Card¶
Description¶
List existing versions of an Amazon SageMaker Model Card.
Usage¶
sagemaker_list_model_card_versions(CreationTimeAfter,
CreationTimeBefore, MaxResults, ModelCardName, ModelCardStatus,
NextToken, SortBy, SortOrder)
Arguments¶
-
CreationTimeAfterOnly list model card versions that were created after the time specified.
-
CreationTimeBeforeOnly list model card versions that were created before the time specified.
-
MaxResultsThe maximum number of model card versions to list.
-
ModelCardName[required] List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
-
ModelCardStatusOnly list model card versions with the specified approval status.
-
NextTokenIf the response to a previous
list_model_card_versionsrequest was truncated, the response includes aNextToken. To retrieve the next set of model card versions, use the token in the next request. -
SortBySort listed model card versions by version. Sorts by version by default.
-
SortOrderSort model card versions by ascending or descending order.
Value¶
A list with the following syntax:
list(
ModelCardVersionSummaryList = list(
list(
ModelCardName = "string",
ModelCardArn = "string",
ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived",
ModelCardVersion = 123,
CreationTime = as.POSIXct(
"2015-01-01"
),
LastModifiedTime = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_model_card_versions(
CreationTimeAfter = as.POSIXct(
"2015-01-01"
),
CreationTimeBefore = as.POSIXct(
"2015-01-01"
),
MaxResults = 123,
ModelCardName = "string",
ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived",
NextToken = "string",
SortBy = "Version",
SortOrder = "Ascending"|"Descending"
)