import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetInventorySchemaRequest, GetInventorySchemaResult } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetInventorySchemaCommand}. */ export interface GetInventorySchemaCommandInput extends GetInventorySchemaRequest { } /** * @public * * The output of {@link GetInventorySchemaCommand}. */ export interface GetInventorySchemaCommandOutput extends GetInventorySchemaResult, __MetadataBearer { } declare const GetInventorySchemaCommand_base: { new (input: GetInventorySchemaCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetInventorySchemaCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Return a list of inventory type names for the account, or return a list of attribute names * for a specific Inventory item type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetInventorySchemaCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetInventorySchemaCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetInventorySchemaRequest * TypeName: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * Aggregator: true || false, * SubType: true || false, * }; * const command = new GetInventorySchemaCommand(input); * const response = await client.send(command); * // { // GetInventorySchemaResult * // Schemas: [ // InventoryItemSchemaResultList * // { // InventoryItemSchema * // TypeName: "STRING_VALUE", // required * // Version: "STRING_VALUE", * // Attributes: [ // InventoryItemAttributeList // required * // { // InventoryItemAttribute * // Name: "STRING_VALUE", // required * // DataType: "string" || "number", // required * // }, * // ], * // DisplayName: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetInventorySchemaCommandInput - {@link GetInventorySchemaCommandInput} * @returns {@link GetInventorySchemaCommandOutput} * @see {@link GetInventorySchemaCommandInput} for command's `input` shape. * @see {@link GetInventorySchemaCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

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

The specified token isn't valid.

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

The parameter type name isn't valid.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetInventorySchemaCommand extends GetInventorySchemaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetInventorySchemaRequest; output: GetInventorySchemaResult; }; sdk: { input: GetInventorySchemaCommandInput; output: GetInventorySchemaCommandOutput; }; }; }