import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteControlRequest, DeleteControlResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteControlCommand}. */ export interface DeleteControlCommandInput extends DeleteControlRequest { } /** * @public * * The output of {@link DeleteControlCommand}. */ export interface DeleteControlCommandOutput extends DeleteControlResponse, __MetadataBearer { } declare const DeleteControlCommand_base: { new (input: DeleteControlCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteControlCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a custom control in Audit Manager.

* *

When you invoke this operation, the custom control is deleted from any frameworks or * assessments that it’s currently part of. As a result, Audit Manager will stop * collecting evidence for that custom control in all of your assessments. This includes * assessments that you previously created before you deleted the custom control.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, DeleteControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, DeleteControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import * // import type { AuditManagerClientConfig } from "@aws-sdk/client-auditmanager"; * const config = {}; // type is AuditManagerClientConfig * const client = new AuditManagerClient(config); * const input = { // DeleteControlRequest * controlId: "STRING_VALUE", // required * }; * const command = new DeleteControlCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteControlCommandInput - {@link DeleteControlCommandInput} * @returns {@link DeleteControlCommandOutput} * @see {@link DeleteControlCommandInput} for command's `input` shape. * @see {@link DeleteControlCommandOutput} for command's `response` shape. * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Your account isn't registered with Audit Manager. Check the delegated * administrator setup on the Audit Manager settings page, and try again.

* * @throws {@link InternalServerException} (server fault) *

An internal service error occurred during the processing of your request. Try again * later.

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

The resource that's specified in the request can't be found.

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

The request has invalid or missing parameters.

* * @throws {@link AuditManagerServiceException} *

Base exception class for all service exceptions from AuditManager service.

* * * @public */ export declare class DeleteControlCommand extends DeleteControlCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteControlRequest; output: {}; }; sdk: { input: DeleteControlCommandInput; output: DeleteControlCommandOutput; }; }; }