Skip to main content
Go to Latest
class DeleteObjectCommand
extends $Command<DeleteObjectCommandInput, DeleteObjectCommandOutput, S3ClientResolvedConfig>
import { DeleteObjectCommand } from "https://deno.land/x/darkflare@v6.4.0/s3/mod.ts";

Examples

Use a bare-bones client and the command you need to make an API call.

import { S3Client, DeleteObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
// const { S3Client, DeleteObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
const client = new S3Client(config);
const command = new DeleteObjectCommand(input);
const response = await client.send(command);

Constructors

new
DeleteObjectCommand(input: DeleteObjectCommandInput)

Properties

private
deserialize
private
serialize
readonly
input: DeleteObjectCommandInput

Methods

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: S3ClientResolvedConfig,
options?: __HttpHandlerOptions,
): Handler<DeleteObjectCommandInput, DeleteObjectCommandOutput>

Static Methods

getEndpointParameterInstructions(): EndpointParameterInstructions