import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteCampaignRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteCampaignCommand}. */ export interface DeleteCampaignCommandInput extends DeleteCampaignRequest { } /** * @public * * The output of {@link DeleteCampaignCommand}. */ export interface DeleteCampaignCommandOutput extends __MetadataBearer { } declare const DeleteCampaignCommand_base: { new (input: DeleteCampaignCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteCampaignCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Removes a campaign by deleting the solution deployment. The solution that * the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no * longer be specified in a * GetRecommendations * request. * For information on creating campaigns, see CreateCampaign.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, DeleteCampaignCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, DeleteCampaignCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // DeleteCampaignRequest * campaignArn: "STRING_VALUE", // required * }; * const command = new DeleteCampaignCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteCampaignCommandInput - {@link DeleteCampaignCommandInput} * @returns {@link DeleteCampaignCommandOutput} * @see {@link DeleteCampaignCommandInput} for command's `input` shape. * @see {@link DeleteCampaignCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

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

The specified resource is in use.

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

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class DeleteCampaignCommand extends DeleteCampaignCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCampaignRequest; output: {}; }; sdk: { input: DeleteCampaignCommandInput; output: DeleteCampaignCommandOutput; }; }; }