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

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

*

You cannot delete a provisioning artifact associated with a product that was shared with you. * You cannot delete the last provisioning artifact for a product, because a product must have at * least one provisioning artifact.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceCatalogClient, DeleteProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import * // const { ServiceCatalogClient, DeleteProvisioningArtifactCommand } = 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 = { // DeleteProvisioningArtifactInput * AcceptLanguage: "STRING_VALUE", * ProductId: "STRING_VALUE", // required * ProvisioningArtifactId: "STRING_VALUE", // required * }; * const command = new DeleteProvisioningArtifactCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteProvisioningArtifactCommandInput - {@link DeleteProvisioningArtifactCommandInput} * @returns {@link DeleteProvisioningArtifactCommandOutput} * @see {@link DeleteProvisioningArtifactCommandInput} for command's `input` shape. * @see {@link DeleteProvisioningArtifactCommandOutput} 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 ResourceInUseException} (client fault) *

A resource that is currently in use. Ensure that the resource is not in use and retry the operation.

* * @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 DeleteProvisioningArtifactCommand extends DeleteProvisioningArtifactCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteProvisioningArtifactInput; output: {}; }; sdk: { input: DeleteProvisioningArtifactCommandInput; output: DeleteProvisioningArtifactCommandOutput; }; }; }