Skip to content

/AWS1/CL_ECA=>DECNODEGROUPSINGLBREPLGROUP()

About DecreaseNodeGroupsInGlobalReplicationGroup

Decreases the number of node groups in a Global datastore

Method Signature

IMPORTING

Required arguments:

IV_GLOBALREPLICATIONGROUPID TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The name of the Global datastore

IV_NODEGROUPCOUNT TYPE /AWS1/ECAINTEGER /AWS1/ECAINTEGER

The number of node groups (shards) that results from the modification of the shard configuration

IV_APPLYIMMEDIATELY TYPE /AWS1/ECABOOLEAN /AWS1/ECABOOLEAN

Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

Optional arguments:

IT_GLOBALNODEGROUPSTOREMOVE TYPE /AWS1/CL_ECAGLBNODEGRPIDLIST_W=>TT_GLOBALNODEGROUPIDLIST TT_GLOBALNODEGROUPIDLIST

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

IT_GLOBALNODEGROUPSTORETAIN TYPE /AWS1/CL_ECAGLBNODEGRPIDLIST_W=>TT_GLOBALNODEGROUPIDLIST TT_GLOBALNODEGROUPIDLIST

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECADECNODEGRSINGLBR01 /AWS1/CL_ECADECNODEGRSINGLBR01