import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateConstraintInput, UpdateConstraintOutput } from "../models/models_0"; import type { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateConstraintCommand}. */ export interface UpdateConstraintCommandInput extends UpdateConstraintInput { } /** * @public * * The output of {@link UpdateConstraintCommand}. */ export interface UpdateConstraintCommandOutput extends UpdateConstraintOutput, __MetadataBearer { } declare const UpdateConstraintCommand_base: { new (input: UpdateConstraintCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateConstraintCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the specified constraint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceCatalogClient, UpdateConstraintCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import * // const { ServiceCatalogClient, UpdateConstraintCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import * // import type { ServiceCatalogClientConfig } from "@aws-sdk/client-service-catalog"; * const config = {}; // type is ServiceCatalogClientConfig * const client = new ServiceCatalogClient(config); * const input = { // UpdateConstraintInput * AcceptLanguage: "STRING_VALUE", * Id: "STRING_VALUE", // required * Description: "STRING_VALUE", * Parameters: "STRING_VALUE", * }; * const command = new UpdateConstraintCommand(input); * const response = await client.send(command); * // { // UpdateConstraintOutput * // ConstraintDetail: { // ConstraintDetail * // ConstraintId: "STRING_VALUE", * // Type: "STRING_VALUE", * // Description: "STRING_VALUE", * // Owner: "STRING_VALUE", * // ProductId: "STRING_VALUE", * // PortfolioId: "STRING_VALUE", * // }, * // ConstraintParameters: "STRING_VALUE", * // Status: "AVAILABLE" || "CREATING" || "FAILED", * // }; * * ``` * * @param UpdateConstraintCommandInput - {@link UpdateConstraintCommandInput} * @returns {@link UpdateConstraintCommandOutput} * @see {@link UpdateConstraintCommandInput} for command's `input` shape. * @see {@link UpdateConstraintCommandOutput} for command's `response` shape. * @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape. * * @throws {@link InvalidParametersException} (client fault) *

One or more parameters provided to the operation are not valid.

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

The specified resource was not found.

* * @throws {@link ServiceCatalogServiceException} *

Base exception class for all service exceptions from ServiceCatalog service.

* * * @public */ export declare class UpdateConstraintCommand extends UpdateConstraintCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateConstraintInput; output: UpdateConstraintOutput; }; sdk: { input: UpdateConstraintCommandInput; output: UpdateConstraintCommandOutput; }; }; }