Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DecreaseReplicationFactorCommand

Removes one or more nodes from a DAX cluster.

You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster instead.

example

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

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

DecreaseReplicationFactorCommandInput for command's input shape.

see

DecreaseReplicationFactorCommandOutput for command's response shape.

see

config for DAXClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DecreaseReplicationFactorCommandInput

Readonly middlewareStack