Skip to content

/AWS1/CL_MEM=>FAILOVERSHARD()

About FailoverShard

Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The cluster being failed over

IV_SHARDNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The name of the shard

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MEMFAILOVERSHARDRSP /AWS1/CL_MEMFAILOVERSHARDRSP