import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ListModelCardVersionsRequest, ListModelCardVersionsResponse } from "../models/models_4"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListModelCardVersionsCommand}. */ export interface ListModelCardVersionsCommandInput extends ListModelCardVersionsRequest { } /** * @public * * The output of {@link ListModelCardVersionsCommand}. */ export interface ListModelCardVersionsCommandOutput extends ListModelCardVersionsResponse, __MetadataBearer { } declare const ListModelCardVersionsCommand_base: { new (input: ListModelCardVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListModelCardVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

List existing versions of an Amazon SageMaker Model Card.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, ListModelCardVersionsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, ListModelCardVersionsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // ListModelCardVersionsRequest * CreationTimeAfter: new Date("TIMESTAMP"), * CreationTimeBefore: new Date("TIMESTAMP"), * MaxResults: Number("int"), * ModelCardName: "STRING_VALUE", // required * ModelCardStatus: "Draft" || "PendingReview" || "Approved" || "Archived", * NextToken: "STRING_VALUE", * SortBy: "Version", * SortOrder: "Ascending" || "Descending", * }; * const command = new ListModelCardVersionsCommand(input); * const response = await client.send(command); * // { // ListModelCardVersionsResponse * // ModelCardVersionSummaryList: [ // ModelCardVersionSummaryList // required * // { // ModelCardVersionSummary * // ModelCardName: "STRING_VALUE", // required * // ModelCardArn: "STRING_VALUE", // required * // ModelCardStatus: "Draft" || "PendingReview" || "Approved" || "Archived", // required * // ModelCardVersion: Number("int"), // required * // CreationTime: new Date("TIMESTAMP"), // required * // LastModifiedTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListModelCardVersionsCommandInput - {@link ListModelCardVersionsCommandInput} * @returns {@link ListModelCardVersionsCommandOutput} * @see {@link ListModelCardVersionsCommandInput} for command's `input` shape. * @see {@link ListModelCardVersionsCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceNotFound} (client fault) *

Resource being access is not found.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class ListModelCardVersionsCommand extends ListModelCardVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListModelCardVersionsRequest; output: ListModelCardVersionsResponse; }; sdk: { input: ListModelCardVersionsCommandInput; output: ListModelCardVersionsCommandOutput; }; }; }