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 { QuerySchemaVersionMetadataInput, QuerySchemaVersionMetadataResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link QuerySchemaVersionMetadataCommand}. */ export interface QuerySchemaVersionMetadataCommandInput extends QuerySchemaVersionMetadataInput { } /** * @public * * The output of {@link QuerySchemaVersionMetadataCommand}. */ export interface QuerySchemaVersionMetadataCommandOutput extends QuerySchemaVersionMetadataResponse, __MetadataBearer { } declare const QuerySchemaVersionMetadataCommand_base: { new (input: QuerySchemaVersionMetadataCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [QuerySchemaVersionMetadataCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Queries for the schema version metadata information.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, QuerySchemaVersionMetadataCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, QuerySchemaVersionMetadataCommand } = 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 = { // QuerySchemaVersionMetadataInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * SchemaVersionNumber: { // SchemaVersionNumber * LatestVersion: true || false, * VersionNumber: Number("long"), * }, * SchemaVersionId: "STRING_VALUE", * MetadataList: [ // MetadataList * { // MetadataKeyValuePair * MetadataKey: "STRING_VALUE", * MetadataValue: "STRING_VALUE", * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new QuerySchemaVersionMetadataCommand(input); * const response = await client.send(command); * // { // QuerySchemaVersionMetadataResponse * // MetadataInfoMap: { // MetadataInfoMap * // "": { // MetadataInfo * // MetadataValue: "STRING_VALUE", * // CreatedTime: "STRING_VALUE", * // OtherMetadataValueList: [ // OtherMetadataValueList * // { // OtherMetadataValueListItem * // MetadataValue: "STRING_VALUE", * // CreatedTime: "STRING_VALUE", * // }, * // ], * // }, * // }, * // SchemaVersionId: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param QuerySchemaVersionMetadataCommandInput - {@link QuerySchemaVersionMetadataCommandInput} * @returns {@link QuerySchemaVersionMetadataCommandOutput} * @see {@link QuerySchemaVersionMetadataCommandInput} for command's `input` shape. * @see {@link QuerySchemaVersionMetadataCommandOutput} 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 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 QuerySchemaVersionMetadataCommand extends QuerySchemaVersionMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: QuerySchemaVersionMetadataInput; output: QuerySchemaVersionMetadataResponse; }; sdk: { input: QuerySchemaVersionMetadataCommandInput; output: QuerySchemaVersionMetadataCommandOutput; }; }; }