import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListSchemaVersionsRequest, ListSchemaVersionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListSchemaVersionsCommand}. */ export interface ListSchemaVersionsCommandInput extends ListSchemaVersionsRequest { } /** * @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(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists schema versions with the provided information.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTManagedIntegrationsClient, ListSchemaVersionsCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import * // const { IoTManagedIntegrationsClient, ListSchemaVersionsCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import * // import type { IoTManagedIntegrationsClientConfig } from "@aws-sdk/client-iot-managed-integrations"; * const config = {}; // type is IoTManagedIntegrationsClientConfig * const client = new IoTManagedIntegrationsClient(config); * const input = { // ListSchemaVersionsRequest * Type: "capability" || "definition", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * SchemaId: "STRING_VALUE", * Namespace: "STRING_VALUE", * Visibility: "PUBLIC" || "PRIVATE", * SemanticVersion: "STRING_VALUE", * }; * const command = new ListSchemaVersionsCommand(input); * const response = await client.send(command); * // { // ListSchemaVersionsResponse * // Items: [ // SchemaVersionList * // { // SchemaVersionListItem * // SchemaId: "STRING_VALUE", * // Type: "capability" || "definition", * // Description: "STRING_VALUE", * // Namespace: "STRING_VALUE", * // SemanticVersion: "STRING_VALUE", * // Visibility: "PUBLIC" || "PRIVATE", * // }, * // ], * // 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 IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User is not authorized.

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

There is a conflict with the request.

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

Internal error from the service that indicates an unexpected error or that the service is unavailable.

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

The service is temporarily unavailable.

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

The rate exceeds the limit.

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

A validation error occurred when performing the API request.

* * @throws {@link IoTManagedIntegrationsServiceException} *

Base exception class for all service exceptions from IoTManagedIntegrations service.

* * * @example ListSchemaVersions happy path for an example schema version. * ```javascript * // * const input = { * SchemaId: "example.ColorControl", * Type: "capability" * }; * const command = new ListSchemaVersionsCommand(input); * const response = await client.send(command); * /* response is * { * Items: [ * { * Description: "The Color Control cluster defined as Harmony Capability.", * Namespace: "matter", * SchemaId: "example.ColorControl", * SemanticVersion: "1.4", * Type: "capability" * } * ] * } * *\/ * ``` * * @example ListSchemaVersions by version. * ```javascript * // * const input = { * SemanticVersion: "34.56", * Type: "capability" * }; * const command = new ListSchemaVersionsCommand(input); * const response = await client.send(command); * /* response is * { * Items: [ * { * Description: "The Color Control cluster defined as Harmony Capability.", * Namespace: "matter", * SchemaId: "example.ColorControl", * SemanticVersion: "1.4", * Type: "capability" * } * ] * } * *\/ * ``` * * @example ListSchemaVersions error for invalid input. * ```javascript * // * const input = { * Namespace: "matter", * SchemaId: "example.ColorControl", * Type: "capability" * }; * const command = new ListSchemaVersionsCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class ListSchemaVersionsCommand extends ListSchemaVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListSchemaVersionsRequest; output: ListSchemaVersionsResponse; }; sdk: { input: ListSchemaVersionsCommandInput; output: ListSchemaVersionsCommandOutput; }; }; }