DeleteFrameworkCommand

Deletes the framework specified by a framework name.

Example Syntax

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

import { BackupClient, DeleteFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
// const { BackupClient, DeleteFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
const client = new BackupClient(config);
const input = { // DeleteFrameworkInput
  FrameworkName: "STRING_VALUE", // required
};
const command = new DeleteFrameworkCommand(input);
const response = await client.send(command);
// {};

DeleteFrameworkCommand Input

See DeleteFrameworkCommandInput for more details

Parameter
Type
Description
FrameworkName
Required
string | undefined

The unique name of a framework.

DeleteFrameworkCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
ConflictException
client

Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.

InvalidParameterValueException
client

Indicates that something is wrong with a parameter's value. For example, the value is out of range.

MissingParameterValueException
client

Indicates that a required parameter is missing.

ResourceNotFoundException
client

A resource that is required for the action doesn't exist.

ServiceUnavailableException
server

The request failed due to a temporary failure of the server.

BackupServiceException
Base exception class for all service exceptions from Backup service.