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

Updates the specified provisioning artifact (also known as a version) for the specified product.

*

You cannot update a provisioning artifact for a product that was shared with you.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceCatalogClient, UpdateProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import * // const { ServiceCatalogClient, UpdateProvisioningArtifactCommand } = 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 = { // UpdateProvisioningArtifactInput * AcceptLanguage: "STRING_VALUE", * ProductId: "STRING_VALUE", // required * ProvisioningArtifactId: "STRING_VALUE", // required * Name: "STRING_VALUE", * Description: "STRING_VALUE", * Active: true || false, * Guidance: "DEFAULT" || "DEPRECATED", * }; * const command = new UpdateProvisioningArtifactCommand(input); * const response = await client.send(command); * // { // UpdateProvisioningArtifactOutput * // ProvisioningArtifactDetail: { // ProvisioningArtifactDetail * // Id: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD" || "EXTERNAL", * // CreatedTime: new Date("TIMESTAMP"), * // Active: true || false, * // Guidance: "DEFAULT" || "DEPRECATED", * // SourceRevision: "STRING_VALUE", * // }, * // Info: { // ProvisioningArtifactInfo * // "": "STRING_VALUE", * // }, * // Status: "AVAILABLE" || "CREATING" || "FAILED", * // }; * * ``` * * @param UpdateProvisioningArtifactCommandInput - {@link UpdateProvisioningArtifactCommandInput} * @returns {@link UpdateProvisioningArtifactCommandOutput} * @see {@link UpdateProvisioningArtifactCommandInput} for command's `input` shape. * @see {@link UpdateProvisioningArtifactCommandOutput} 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 UpdateProvisioningArtifactCommand extends UpdateProvisioningArtifactCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateProvisioningArtifactInput; output: UpdateProvisioningArtifactOutput; }; sdk: { input: UpdateProvisioningArtifactCommandInput; output: UpdateProvisioningArtifactCommandOutput; }; }; }