Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DeleteObjectCommandProtected

Delete Object from the incremental base Backup.

Example

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

import { BackupStorageClient, DeleteObjectCommand } from "@aws-sdk/client-backupstorage"; // ES Modules import
// const { BackupStorageClient, DeleteObjectCommand } = require("@aws-sdk/client-backupstorage"); // CommonJS import
const client = new BackupStorageClient(config);
const input = { // DeleteObjectInput
BackupJobId: "STRING_VALUE", // required
ObjectName: "STRING_VALUE", // required
};
const command = new DeleteObjectCommand(input);
const response = await client.send(command);
// {};

Param

DeleteObjectCommandInput

Returns

DeleteObjectCommandOutput

See

Throws

AccessDeniedException (client fault)

Throws

IllegalArgumentException (client fault) Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for details.

Throws

ResourceNotFoundException (client fault) Non-retryable exception. Attempted to make an operation on non-existing or expired resource.

Throws

RetryableException (server fault) Retryable exception. In general indicates internal failure that can be fixed by retry.

Throws

ServiceInternalException (server fault) Deprecated. To be removed from the model.

Throws

ServiceUnavailableException (server fault) Retryable exception, indicates internal server error.

Throws

ThrottlingException (client fault) Increased rate over throttling limits. Can be retried with exponential backoff.

Throws

BackupStorageServiceException

Base exception class for all service exceptions from BackupStorage service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods