@Override
    public FailoverShardResult failoverShard(FailoverShardRequest request) {
        request = beforeClientExecution(request);
        return executeFailoverShard(request);
    }
<p>
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.
</p>

@param failoverShardRequest
@return Result of the FailoverShard operation returned by the service.
@throws APICallRateForCustomerExceededException
@throws InvalidClusterStateException
@throws ShardNotFoundException
@throws ClusterNotFoundException
@throws TestFailoverNotAvailableException
@throws InvalidKMSKeyException
@throws InvalidParameterValueException
@throws InvalidParameterCombinationException
@sample AmazonMemoryDB.FailoverShard
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/FailoverShard" target="_top">AWS API
     Documentation</a>
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/AmazonMemoryDBClient.java