Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetRuleCommand

Gets information about a Recycle Bin retention rule.

example

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

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

GetRuleCommandInput for command's input shape.

see

GetRuleCommandOutput for command's response shape.

see

config for RbinClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetRuleCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetRuleCommandInput, GetRuleCommandOutput>

Methods

Static getEndpointParameterInstructions