import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
import { Command as $Command } from "@aws-sdk/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
import { DeleteBucketRequest } from "../models/models_0";
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
/**
* @public
*
* The input for {@link DeleteBucketCommand}.
*/
export interface DeleteBucketCommandInput extends DeleteBucketRequest {
}
/**
* @public
*
* The output of {@link DeleteBucketCommand}.
*/
export interface DeleteBucketCommandOutput extends __MetadataBearer {
}
/**
* @public
*
Deletes the S3 bucket. All objects (including all object versions and delete markers) in
* the bucket must be deleted before the bucket itself can be deleted.
*
* Related Resources
*
*
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { S3Client, DeleteBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
* // const { S3Client, DeleteBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
* const client = new S3Client(config);
* const input = { // DeleteBucketRequest
* Bucket: "STRING_VALUE", // required
* ExpectedBucketOwner: "STRING_VALUE",
* };
* const command = new DeleteBucketCommand(input);
* const response = await client.send(command);
* ```
*
* @param DeleteBucketCommandInput - {@link DeleteBucketCommandInput}
* @returns {@link DeleteBucketCommandOutput}
* @see {@link DeleteBucketCommandInput} for command's `input` shape.
* @see {@link DeleteBucketCommandOutput} for command's `response` shape.
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
*
*
* @example To delete a bucket
* ```javascript
* // The following example deletes the specified bucket.
* const input = {
* "Bucket": "forrandall2"
* };
* const command = new DeleteBucketCommand(input);
* await client.send(command);
* // example id: to-delete-a-bucket-1473108514262
* ```
*
*/
export declare class DeleteBucketCommand extends $Command {
readonly input: DeleteBucketCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteBucketCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}