import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { DisassociateDistributionWebACLRequest, DisassociateDistributionWebACLResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DisassociateDistributionWebACLCommand}. */ export interface DisassociateDistributionWebACLCommandInput extends DisassociateDistributionWebACLRequest { } /** * @public * * The output of {@link DisassociateDistributionWebACLCommand}. */ export interface DisassociateDistributionWebACLCommandOutput extends DisassociateDistributionWebACLResult, __MetadataBearer { } declare const DisassociateDistributionWebACLCommand_base: { new (input: DisassociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DisassociateDistributionWebACLCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Disassociates a distribution from the WAF web ACL.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, DisassociateDistributionWebACLCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, DisassociateDistributionWebACLCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // DisassociateDistributionWebACLRequest * Id: "STRING_VALUE", // required * IfMatch: "STRING_VALUE", * }; * const command = new DisassociateDistributionWebACLCommand(input); * const response = await client.send(command); * // { // DisassociateDistributionWebACLResult * // Id: "STRING_VALUE", * // ETag: "STRING_VALUE", * // }; * * ``` * * @param DisassociateDistributionWebACLCommandInput - {@link DisassociateDistributionWebACLCommandInput} * @returns {@link DisassociateDistributionWebACLCommandOutput} * @see {@link DisassociateDistributionWebACLCommandInput} for command's `input` shape. * @see {@link DisassociateDistributionWebACLCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The entity was not found.

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

An argument is invalid.

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

The If-Match version is missing or not valid.

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

The precondition in one or more of the request fields evaluated to false.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class DisassociateDistributionWebACLCommand extends DisassociateDistributionWebACLCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DisassociateDistributionWebACLRequest; output: DisassociateDistributionWebACLResult; }; sdk: { input: DisassociateDistributionWebACLCommandInput; output: DisassociateDistributionWebACLCommandOutput; }; }; }