import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListServiceVersionsRequest, ListServiceVersionsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListServiceVersionsCommand}. */ export interface ListServiceVersionsCommandInput extends ListServiceVersionsRequest { } /** * @public * * The output of {@link ListServiceVersionsCommand}. */ export interface ListServiceVersionsCommandOutput extends ListServiceVersionsResult, __MetadataBearer { } declare const ListServiceVersionsCommand_base: { new (input: ListServiceVersionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListServiceVersionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all supported versions for Snow on-device services. Returns an * array of ServiceVersion object containing the supported versions for a particular service.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowballClient, ListServiceVersionsCommand } from "@aws-sdk/client-snowball"; // ES Modules import * // const { SnowballClient, ListServiceVersionsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import * // import type { SnowballClientConfig } from "@aws-sdk/client-snowball"; * const config = {}; // type is SnowballClientConfig * const client = new SnowballClient(config); * const input = { // ListServiceVersionsRequest * ServiceName: "KUBERNETES" || "EKS_ANYWHERE", // required * DependentServices: [ // DependentServiceList * { // DependentService * ServiceName: "KUBERNETES" || "EKS_ANYWHERE", * ServiceVersion: { // ServiceVersion * Version: "STRING_VALUE", * }, * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListServiceVersionsCommand(input); * const response = await client.send(command); * // { // ListServiceVersionsResult * // ServiceVersions: [ // ServiceVersionList // required * // { // ServiceVersion * // Version: "STRING_VALUE", * // }, * // ], * // ServiceName: "KUBERNETES" || "EKS_ANYWHERE", // required * // DependentServices: [ // DependentServiceList * // { // DependentService * // ServiceName: "KUBERNETES" || "EKS_ANYWHERE", * // ServiceVersion: { * // Version: "STRING_VALUE", * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListServiceVersionsCommandInput - {@link ListServiceVersionsCommandInput} * @returns {@link ListServiceVersionsCommandOutput} * @see {@link ListServiceVersionsCommandInput} for command's `input` shape. * @see {@link ListServiceVersionsCommandOutput} for command's `response` shape. * @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The NextToken string was altered unexpectedly, and the operation has * stopped. Run the operation without changing the NextToken string, and try * again.

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

The specified resource can't be found. Check the information you provided in your last * request, and try again.

* * @throws {@link SnowballServiceException} *

Base exception class for all service exceptions from Snowball service.

* * * @public */ export declare class ListServiceVersionsCommand extends ListServiceVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListServiceVersionsRequest; output: ListServiceVersionsResult; }; sdk: { input: ListServiceVersionsCommandInput; output: ListServiceVersionsCommandOutput; }; }; }