import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteBrokerRequest, DeleteBrokerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteBrokerCommand}. */ export interface DeleteBrokerCommandInput extends DeleteBrokerRequest { } /** * @public * * The output of {@link DeleteBrokerCommand}. */ export interface DeleteBrokerCommandOutput extends DeleteBrokerResponse, __MetadataBearer { } declare const DeleteBrokerCommand_base: { new (input: DeleteBrokerCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteBrokerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a broker. Note: This API is asynchronous.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, DeleteBrokerCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, DeleteBrokerCommand } = require("@aws-sdk/client-mq"); // CommonJS import * // import type { MqClientConfig } from "@aws-sdk/client-mq"; * const config = {}; // type is MqClientConfig * const client = new MqClient(config); * const input = { // DeleteBrokerRequest * BrokerId: "STRING_VALUE", // required * }; * const command = new DeleteBrokerCommand(input); * const response = await client.send(command); * // { // DeleteBrokerResponse * // BrokerId: "STRING_VALUE", * // }; * * ``` * * @param DeleteBrokerCommandInput - {@link DeleteBrokerCommandInput} * @returns {@link DeleteBrokerCommandOutput} * @see {@link DeleteBrokerCommandInput} for command's `input` shape. * @see {@link DeleteBrokerCommandOutput} for command's `response` shape. * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

* * @throws {@link MqServiceException} *

Base exception class for all service exceptions from Mq service.

* * * @public */ export declare class DeleteBrokerCommand extends DeleteBrokerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteBrokerRequest; output: DeleteBrokerResponse; }; sdk: { input: DeleteBrokerCommandInput; output: DeleteBrokerCommandOutput; }; }; }