Learn R Programming

paws.database (version 0.1.5)

dax_decrease_replication_factor: Removes one or more nodes from a DAX cluster

Description

Removes one or more nodes from a DAX cluster.

Usage

dax_decrease_replication_factor(ClusterName, NewReplicationFactor,
  AvailabilityZones, NodeIdsToRemove)

Arguments

ClusterName

[required] The name of the DAX cluster from which you want to remove nodes.

NewReplicationFactor

[required] The new number of nodes for the DAX cluster.

AvailabilityZones

The Availability Zone(s) from which to remove nodes.

NodeIdsToRemove

The unique identifiers of the nodes to be removed from the cluster.

Request syntax

svc$decrease_replication_factor(
  ClusterName = "string",
  NewReplicationFactor = 123,
  AvailabilityZones = list(
    "string"
  ),
  NodeIdsToRemove = list(
    "string"
  )
)

Details

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