import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { ListSchemaVersionsInput, ListSchemaVersionsResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListSchemaVersionsCommand}. */ export interface ListSchemaVersionsCommandInput extends ListSchemaVersionsInput { } /** * @public * * The output of {@link ListSchemaVersionsCommand}. */ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsResponse, __MetadataBearer { } declare const ListSchemaVersionsCommand_base: { new (input: ListSchemaVersionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListSchemaVersionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns a list of schema versions that you have created, with minimal information. Schema versions in Deleted status will not be included in the results. Empty results will be returned if there are no schema versions available.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, ListSchemaVersionsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, ListSchemaVersionsCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // ListSchemaVersionsInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListSchemaVersionsCommand(input); * const response = await client.send(command); * // { // ListSchemaVersionsResponse * // Schemas: [ // SchemaVersionList * // { // SchemaVersionListItem * // SchemaArn: "STRING_VALUE", * // SchemaVersionId: "STRING_VALUE", * // VersionNumber: Number("long"), * // Status: "AVAILABLE" || "PENDING" || "FAILURE" || "DELETING", * // CreatedTime: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListSchemaVersionsCommandInput - {@link ListSchemaVersionsCommandInput} * @returns {@link ListSchemaVersionsCommandOutput} * @see {@link ListSchemaVersionsCommandInput} for command's `input` shape. * @see {@link ListSchemaVersionsCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to a resource was denied.

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

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

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

The input provided was not valid.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class ListSchemaVersionsCommand extends ListSchemaVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListSchemaVersionsInput; output: ListSchemaVersionsResponse; }; sdk: { input: ListSchemaVersionsCommandInput; output: ListSchemaVersionsCommandOutput; }; }; }