code: @Override
      public DecreaseReplicationFactorResult decreaseReplicationFactor(DecreaseReplicationFactorRequest request) {
          request = beforeClientExecution(request);
          return executeDecreaseReplicationFactor(request);
      }
docs: <p>
  Removes one or more nodes from a DAX cluster.
  </p>
  <note>
  <p>
  You cannot use <code>DecreaseReplicationFactor</code> to remove the last node in a DAX cluster. If you need to do
  this, use <code>DeleteCluster</code> instead.
  </p>
  </note>
  
  @param decreaseReplicationFactorRequest
  @return Result of the DecreaseReplicationFactor operation returned by the service.
  @throws ClusterNotFoundException
  The requested cluster ID does not refer to an existing DAX cluster.
  @throws NodeNotFoundException
  None of the nodes in the cluster have the given node ID.
  @throws InvalidClusterStateException
  The requested DAX cluster is not in the <i>available</i> state.
  @throws ServiceLinkedRoleNotFoundException
  @throws InvalidParameterValueException
  The value for a parameter is invalid.
  @throws InvalidParameterCombinationException
  Two or more incompatible parameters were specified.
  @sample AmazonDax.DecreaseReplicationFactor
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactor" target="_top">AWS
  API Documentation</a>