import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListSolutionVersionsRequest, ListSolutionVersionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListSolutionVersionsCommand}. */ export interface ListSolutionVersionsCommandInput extends ListSolutionVersionsRequest { } /** * @public * * The output of {@link ListSolutionVersionsCommand}. */ export interface ListSolutionVersionsCommandOutput extends ListSolutionVersionsResponse, __MetadataBearer { } declare const ListSolutionVersionsCommand_base: { new (input: ListSolutionVersionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListSolutionVersionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of solution versions for the given solution. When a solution is not * specified, all the solution versions associated with the account are listed. The response * provides the properties for each solution version, including the Amazon Resource Name (ARN).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, ListSolutionVersionsCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, ListSolutionVersionsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // ListSolutionVersionsRequest * solutionArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListSolutionVersionsCommand(input); * const response = await client.send(command); * // { // ListSolutionVersionsResponse * // solutionVersions: [ // SolutionVersions * // { // SolutionVersionSummary * // solutionVersionArn: "STRING_VALUE", * // status: "STRING_VALUE", * // trainingMode: "FULL" || "UPDATE" || "AUTOTRAIN", * // trainingType: "AUTOMATIC" || "MANUAL", * // creationDateTime: new Date("TIMESTAMP"), * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // failureReason: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListSolutionVersionsCommandInput - {@link ListSolutionVersionsCommandInput} * @returns {@link ListSolutionVersionsCommandOutput} * @see {@link ListSolutionVersionsCommandInput} for command's `input` shape. * @see {@link ListSolutionVersionsCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

* * @throws {@link InvalidNextTokenException} (client fault) *

The token is not valid.

* * @throws {@link ResourceNotFoundException} (client fault) *

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class ListSolutionVersionsCommand extends ListSolutionVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListSolutionVersionsRequest; output: ListSolutionVersionsResponse; }; sdk: { input: ListSolutionVersionsCommandInput; output: ListSolutionVersionsCommandOutput; }; }; }