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

Deletes a connection group.

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

Access denied.

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

The entity cannot be deleted while it is in use.

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

The entity was not found.

* * @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 ResourceNotDisabled} (client fault) *

The specified CloudFront resource hasn't been disabled yet.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class DeleteConnectionGroupCommand extends DeleteConnectionGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteConnectionGroupRequest; output: {}; }; sdk: { input: DeleteConnectionGroupCommandInput; output: DeleteConnectionGroupCommandOutput; }; }; }