Get the value for ReturnConsumedCapacity from provided value

def _default_capacity(self, value):
        """ Get the value for ReturnConsumedCapacity from provided value """
        if value is not None:
            return value
        if self.default_return_capacity or self.rate_limiters:
            return INDEXES
        return NONE