import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { AssociateDistributionTenantWebACLRequest, AssociateDistributionTenantWebACLResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AssociateDistributionTenantWebACLCommand}. */ export interface AssociateDistributionTenantWebACLCommandInput extends AssociateDistributionTenantWebACLRequest { } /** * @public * * The output of {@link AssociateDistributionTenantWebACLCommand}. */ export interface AssociateDistributionTenantWebACLCommandOutput extends AssociateDistributionTenantWebACLResult, __MetadataBearer { } declare const AssociateDistributionTenantWebACLCommand_base: { new (input: AssociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AssociateDistributionTenantWebACLCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Associates the WAF web ACL with a distribution tenant.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, AssociateDistributionTenantWebACLCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, AssociateDistributionTenantWebACLCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // AssociateDistributionTenantWebACLRequest * Id: "STRING_VALUE", // required * WebACLArn: "STRING_VALUE", // required * IfMatch: "STRING_VALUE", * }; * const command = new AssociateDistributionTenantWebACLCommand(input); * const response = await client.send(command); * // { // AssociateDistributionTenantWebACLResult * // Id: "STRING_VALUE", * // WebACLArn: "STRING_VALUE", * // ETag: "STRING_VALUE", * // }; * * ``` * * @param AssociateDistributionTenantWebACLCommandInput - {@link AssociateDistributionTenantWebACLCommandInput} * @returns {@link AssociateDistributionTenantWebACLCommandOutput} * @see {@link AssociateDistributionTenantWebACLCommandInput} for command's `input` shape. * @see {@link AssociateDistributionTenantWebACLCommandOutput} 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 AssociateDistributionTenantWebACLCommand extends AssociateDistributionTenantWebACLCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateDistributionTenantWebACLRequest; output: AssociateDistributionTenantWebACLResult; }; sdk: { input: AssociateDistributionTenantWebACLCommandInput; output: AssociateDistributionTenantWebACLCommandOutput; }; }; }