Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteRuleCommand

Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.

example

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

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

DeleteRuleCommandInput for command's input shape.

see

DeleteRuleCommandOutput for command's response shape.

see

config for RbinClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteRuleCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteRuleCommandInput, DeleteRuleCommandOutput>